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.
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
Post a Comment