mraiur / music-player

A very lightweight directory based music player. Listing directories( artists ) and subdirectories( albums ). Making song playlist('s). Much TODO.
Other
17 stars 6 forks source link

404 error #8

Closed azlux closed 9 years ago

azlux commented 9 years ago

There are a error because you try to load . Do there are a way to put an empty src when we load the page the first time ?

HTTP load failed with status 404 -->https://*****_.**_/%7B%7BcurrentSongPath%7D%7D failed.

azlux commented 9 years ago

after check , you don't use this tag anymore, so it's still work if we remove the line

mraiur commented 9 years ago

I am sorry but didn't understand the issue, can you please provide more information?

azlux commented 9 years ago

line 59-61 :

<audio controls id="player" class="native-player">
<source src="{{currentSongPath}}" type="audio/mpeg">
</audio>

With the new feature "native player" no JavaScript will change "{{currentSongPath}}" so the browser will try to load a file named "{{currentSongPath}}" (it's give a 404 response)

mraiur commented 9 years ago

Fixed the problem when there is a s network downloading of the song and the end event not firing to jump on next song. ( bb7cad0649e621a579c8e319fd2ecab05601cd22 )