php - playVideoAt() function in youtube iframe API is not working -


i have loaded playlist using cueplaylist() function in youtube iframe api.i using playvideoat('position') selecting particular video in playlist.

but playvideoat() function not working.now when call playvideoat(), playlist loaded in player disappear , video stopped after playing current one. please help.

here's issue filed problem -- seem introduced bug.

https://code.google.com/p/gdata-issues/issues/detail?id=5018&q=playvideoat&colspec=api%20id%20type%20status%20priority%20stars%20summary

if you're in need of temporary workaround, call 'cueplaylist' again (or 'loadplaylist' have autoplay) , pass index, this:

player.cueplaylist({'listtype':'playlist','list':'[playlist id]','index':[video index number]}); 

you can test in fiddle:

http://jsfiddle.net/jlmcdonald/uz68v/3/

hopefully it'll resolved soon.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -