Saturday, October 13, 2012

[YouTube-API] Re: Problem with new 32 chars long playlist id

Fix for my problem is to replace;
evt.target.loadPlaylist("y84YZc93UEAV8ah8y1oJbCSt0ZituDt6",8,315,"default"),

with:
evt.target.loadPlaylist({'listType': 'playlist', 'list': 'PLy84YZc93UEAV8ah8y1oJbCSt0ZituDt6','index': '8','startSeconds': '315','suggestedQuality': 'default'}),

https://developers.google.com/youtube/js_api_reference#EventHandlers:

"Queueing functions for lists"


Works in HTML5 :)

--
Starting October 15, 2012, this group will stop accepting new posts. We recommend that developers start using Stack Overflow and the Issue Tracker for YouTube API support. More details about this change and relevant links can be found at http://apiblog.youtube.com/2012/09/the-youtube-api-on-stack-overflow.html
 
 

No comments:

Post a Comment