Daily Grooves is a simple music discovery service, featuring a single YouTube playlist refreshed & shuffled daily from hand-picked sources.
5
stars
0
forks
source link
Don't add/play non-embeddable/playable videos to the playlist, or automatically skip them #7
Closed
ronjouch closed 8 years ago
In order to avoid this:![selection_001](https://cloud.githubusercontent.com/assets/522085/5609137/7eb32234-9466-11e4-9682-496016a5a5f1.png)
Technical possibilities at http://stackoverflow.com/questions/3899387/how-do-i-use-the-youtube-api-to-check-if-a-video-is-embeddable
Also (client side) need to cover country-dependent restrictions, like https://www.youtube.com/watch?v=isToG5_U1Ug from https://www.youtube.com/watch?v=isToG5_U1Ug&index=18&list=PLyO3GKHGN0e0zoOOIdkqekjx0MVqtKg1A :
Another example: https://www.youtube.com/watch?v=jHaFvZa8giY&index=3&list=PLyO3GKHGN0e3f9rUYSD1VmYw2A9YEuYnz![copyrightgrounds](https://cloud.githubusercontent.com/assets/522085/5862826/f76c7268-a242-11e4-92fa-96c39bc3312b.png)
Maybe do it client-side with testing (private api)
player.getAvailableQualityLevels() === []
? Latest example: item 22 of playlist 2015-02-13.