Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3718

How skip unavailable video in Youtube iframe generated playlist

$
0
0

I'm trying to make a simple full window HTML document that plays all videos from one channel one after another. Every now and then, a video is unavailable within an iframe and it sits on "video unavailable, watch on youtube".How can I make the playlist skip these videos and continue? I'm trying to get like a TV channel effect, for Wallpaper Engine.the entire code is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Test Layout</title><style type="text/css">            body, html            {                margin: 0; padding: 0; height: 100%; overflow: hidden;            }</style></head><body><iframe id="ytplayer" type="text/html" width="100%" height="100%"  src="https://www.youtube.com/embed?listType=user_uploads&list=GameTrailers&autoplay=1&loop=1&showinfo=0&fs=0&color=white&disablekb=1&modestbranding=1&controls=1&rel=0&mute=1"  frameborder="0"></iframe></body></html>

Viewing all articles
Browse latest Browse all 3718

Latest Images

Trending Articles



Latest Images