I have a similar issue with the Youtube Video Bar and with new 32 chars long playlist id.
- Playlist ID (32): PL4p7f6H_B2DULse3NjHYO0e_pGmnOdH_G
- At some point of the script this URL is called:
http://www.google.com/uds/GvideoSearch?callback=google.search.VideoSearch.RawCompletion&rsz=8&hl=es&gss=.com&sig=319ac49291b4c43d12e8c6935906e83d&q=ytplaylist%3APL4p7f6H_B2DULse3NjHYO0e_pGmnOdH_G&scoring=d&context=1&key=notsupplied&v=1.0
- And that is the response:
google.search.VideoSearch.RawCompletion('1', null, 400, 'invalid playlist', 200)
On the other hand, there is no problem with 16 chars based Id:
- Playlist ID (16): PL7A7D871FC6BAE7A4
- URL to get json data calling is successfull: http://www.google.com/uds/GvideoSearch?callback=google.search.VideoSearch.RawCompletion&rsz=8&hl=es&gss=.com&sig=319ac49291b4c43d12e8c6935906e83d&q=ytplaylist%3APL7A7D871FC6BAE7A4&scoring=d&context=1&key=notsupplied&v=1.0
Any help would be much appreciated
El martes, 11 de septiembre de 2012 00:48:30 UTC+2, Skala Ibitol escribió:
Name of API affected: YouTube Player API Issue summary: Player cant load playlist. Steps to reproduce issue: <script> //Load player api asynchronously. var tag = document.createElement('script'); tag.src = "http://www.youtube.com/player_api"; var firstScriptTag = document.getElementsByTagName('script')[0]; firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); var done = false; var player; function onYouTubePlayerAPIReady() { player = new YT.Player('player', { height: '390', width: '480', wmode: 'transparent', events: { 'onReady': onPlayerReady } }); } function onPlayerReady(evt) { evt.target.loadPlaylist("y84YZc93UEAV8ah8y1oJbCSt0ZituDt6",8,315,"default"), player.setLoop("true"); } </script> Expected output: Start play playlist item 9 at 315th second. Actual results: Player with no video. Notes: This only hapens with 32 chars long playlist id. With 16 (old playlist id) is ok. -- 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