fpgaminer / vip-html5-player

HTML5 Player for Vidya Intarweb Playlist from Aersia
MIT License
69 stars 23 forks source link

reloading now preserves the track & removed whateverorigin #8

Closed felberj closed 8 years ago

felberj commented 8 years ago

new feature: The track is now in the url (as the 'hash'), this allows us to preserve the current track when reloading/sharing.

bugfix: fixed scroll bug in safari

cleanup: removed 'table' for tracks I asked cats777 to enable CORS for the xml files what he did for most. So we dont rely on whateverorigin anymore

preview: http://felberj.github.io/vip-html5-player/#Super_Hexagon_-_Courtesy

felberj commented 8 years ago

Sorry for putting all changes into one PR

fpgaminer commented 8 years ago

Merged. Thank you for these changes. Really good news that you got cats777 to enable CORS. Whateverorigin has always been buggy, so it's good to remove that dependency.

I made some tweaks to the url hash handling. I added the current playlist into the id. Loading a URL for a track in a different playlist wouldn't work. Now it will switch to the correct playlist and then select the track.