javascript - Playing audio and streaming issues in Chrome -


i have made music player js. have noticed in chrome not load songs, song except 1 loaded page.

using inspect tool, noticed http request stays in "pending" status , never load track. tho song in right folder. if song playes if put full address in browser: www.site.com/music/song.mp3 not load in music player. tried stream songs other websites , player in chrome works perfectly, such this: https://media.rdjavan.com/media/mp3/masih-arash-ap-be-hame-begoo.mp3.

the above address works fine n player, somehow streamable.

in safari works fine, slow since has download song works. in chrome stays in status , never loads.

i wondering related mimes? or code have servers? have tried on server , on xammp , both have same result. have not fixed htaccess seems unrelated issue.

update: have noticed chrome slow in loading directories. example takes ages of chrome open localhost/audioplayer/audio/. believe similar problem why music player not load tracks.

any idea?

jplayer songs not loading correctly using mvc method

look @ answer gave in thread above. may or may not problem.

i had problems chrome , music player, have allow content-range requests.

these enabled default in other browsers. reason why works in .mp3 url's because it's using default <audio> </audio> tags support content-range requests think


Comments

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -