Skip to main content
herois_varterral
Participant
April 9, 2017
Answered

How to create a playlist?

  • April 9, 2017
  • 2 replies
  • 2016 views

Here's my problem:

For an assignment, I was given the task to make a music library with working playlists. I've done everything except the playlist themselves.

How do I make a playlists that loops but doesn't autoplay?

Please reply immediately!

This topic has been closed for replies.
Correct answer pziecina

m3u requires a media player to work, and is not a standard web audio format, (mp3 or org is).

All an m3u file is is a simple text file format, that specifies the files to be played using the mp3 or org file format, using a supporting media player, for more info see -

https://en.m.wikipedia.org/wiki/M3U

You could create a custom player using html 5, see -

https://www.codeproject.com/Articles/1025941/AUD-HTML-Audio-Playlist

2 replies

pziecina
Legend
April 9, 2017

Try inserting the following into your html -

< audio src="yourplaylist.m3u" type="audio/mpeg" > < / audio >

Change the src to point to your file.

The problem with the above is that it will stop playing once the user leaves the page, and does not offer any control over the playlist, (making it a simple audio player).

Maybe something as simple as that is all that is being asked of you.

herois_varterral
Participant
April 9, 2017

Trust me, it isn't. Your last reply was really helpful though.

Nancy OShea
Community Expert
Community Expert
April 9, 2017

Wimpy Player will do what you need.  It's easy to deploy.

Wimpy Player - HTML5 audio player

Nancy O'Shea— Product User & Community Expert
pziecina
pziecinaCorrect answer
Legend
April 9, 2017

m3u requires a media player to work, and is not a standard web audio format, (mp3 or org is).

All an m3u file is is a simple text file format, that specifies the files to be played using the mp3 or org file format, using a supporting media player, for more info see -

https://en.m.wikipedia.org/wiki/M3U

You could create a custom player using html 5, see -

https://www.codeproject.com/Articles/1025941/AUD-HTML-Audio-Playlist

herois_varterral
Participant
April 9, 2017

I barely know what I'm doing here. I've been searching for tutorials and I've found that m3u one.

pziecina
Legend
April 9, 2017

The html5 custom player is the one you should be following.

Dreamweaver does expect the user to know how to work with html, css and to some degree of competance javascript. What you are atempting is a more complexed use of the html5 audio support, and as such will require a custom solution, such as that provided by the tutorial i linked to.

There is a new addition to html5, that does allow streaming as part of the specification, but unfortunatly it is not very well supported yet.