After update of user gallery mp3-files dont work

Creating and modifying plugins.
Post Reply
Czorneboh
Regular
Posts: 383
Joined: Tue Apr 08, 2008 7:17 pm
Location: Berlin
Contact:

After update of user gallery mp3-files dont work

Post by Czorneboh » Wed Dec 03, 2014 2:08 pm

Hello!

After updating user event_usergallery-plugin from 2.62 to current 2.64 the audio files do not work anymore, those, which I had integrated in the entries.

First I was wondering that the folder in the media gallery dispappeard. Because there is a new feature: hiding files in the user gallery, which are not pictures. Standard is here: Hide other than picture files.

So I have deactivated this and now the folder with mp3-files is visible.

https://www.ost-impuls.de/pages/gallery ... iodateien/

After a click on an mp3-file here one can listen to the audiofile.

But audio files still does not work, where it is integrated in the entry:

Example:
category:
https://www.ost-impuls.de/categories/30 ... en/P2.html

Articles 2 and 3 here have audiofiles beside the pictures.
They does not work, as well not, when clicking on it to see extended entry.

Any ideas?

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: After update of user gallery mp3-files dont work

Post by Timbalu » Wed Dec 03, 2014 2:54 pm

For me both works with FF. Allowing flash temporary.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

Czorneboh
Regular
Posts: 383
Joined: Tue Apr 08, 2008 7:17 pm
Location: Berlin
Contact:

Re: After update of user gallery mp3-files dont work

Post by Czorneboh » Wed Dec 03, 2014 4:20 pm

Ah yes, for me as well; yes, it was blocked by browser (Do not show uncrypted content on encrypted pages).

Thank you!

Do I need indeed Flash(player) here?

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: After update of user gallery mp3-files dont work

Post by Timbalu » Wed Dec 03, 2014 4:58 pm

Czorneboh wrote:Do I need indeed Flash(player) here?
This has absolutely nothing todo with the usergallery plugin...

HTML5 has an audio object which can be used without the need of Adobe Flash. You don't have a HTML5 theme, and use <object..>, I assume.

http://html5doctor.com/html5-audio-the-state-of-play/

Code: Select all

<p><audio controls="true" id="audioplayer1" src="/uploads/dingdong.mp3" type="audio/mpeg">Ihr Browser unterst&uuml;tzt den HTML5-Audioplayer nicht, bitte manuell herunterladen.</audio></p>
This could also be done with javascript eg http://msdn.microsoft.com/en-us/library ... 85%29.aspx
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
yellowled
Regular
Posts: 7083
Joined: Fri Jan 13, 2006 12:46 pm
Location: Eutin, Germany
Contact:

Re: After update of user gallery mp3-files dont work

Post by yellowled » Wed Dec 03, 2014 8:58 pm

Timbalu wrote:HTML5 has an audio object which can be used without the need of Adobe Flash. You don't have a HTML5 theme, and use <object..>, I assume.
Just for the record, technically an HTML5 theme is not required for using <audio>. Yes, it would be invalid HTML (meaning the validator would spit out an error), but as long as the user's browser supports <audio>, it should still work.

YL
amazon Wishlist - Serendipity-Podcast (German only, sorry)

Post Reply