I have a playlist on the youtube. I have used the youtube api in my phonegap application.
Have used the "youtube.playPlaylist" API. Used the param to specified the index, this fails to work. Does not matter what index I set.
The code is below. The playlist is displayed but it always start with the first video. The index is ignored.
Also noticed that the autoplay is ignored. The youtube video is displayed and you can play the video. You can also use the next button to move to the next video and you can move back video.
I have a playlist on the youtube. I have used the youtube api in my phonegap application. Have used the "youtube.playPlaylist" API. Used the param to specified the index, this fails to work. Does not matter what index I set.
The code is below. The playlist is displayed but it always start with the first video. The index is ignored. Also noticed that the autoplay is ignored. The youtube video is displayed and you can play the video. You can also use the next button to move to the next video and you can move back video.
window.youtube.playPlaylist('PLtlVJniJbyNndiwRUE8WMc-zhmp0lrm58', 3, 60000, true); window.youtube.playPlaylist('PLtlVJniJbyNndiwRUE8WMc-zhmp0lrm58', 4, 60000, true);