Viewing embed music

embed music



User: Guest 13 years ago
How can I embed an mp3 file into EasyWeb so that it plays automatically when the page loads . . . . this is easy to do in iWeb.

Thanks

Stephen335
Edit
User: Roddy 13 years ago
I suppose this can of worms had to be opened sometime!

The iWeb method of adding audio may have been easy but the problem is that it didn't work in a lot of situations due to the fact that it depends on the QuickTime plugin.

HTML5 is the preferred method of playing MP3 and MP4 audio but it is not supported by some older browsers. To cover all eventualities we need to use HTML5 with flash fallback for both audio and video.

I don't know what the EasyWeb developers have in mind for audio but I would strongly suggest that they consider Mediaelement by John Dyer...

http://mediaelementjs.com

To see why, have a look at this example created in EasyWeb...

http://roddymckay.com/EasyWeb/audio.html

Note that it is not good practice to have any type of media player set to autoplay unless you really feel that you can't live without it.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Roddy 13 years ago
Here's an example of a customized playlist style player in EasyWeb...

http://roddymckay.com/EasyWeb/audio-playlist.html

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.