Closed (fixed)
Project:
Shadowbox
Version:
7.x-4.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2012 at 18:08 UTC
Updated:
4 Apr 2012 at 08:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
manfer commentedAny look to a page with the problem?
How are you adding the youtube video? Custom code or other way?
Comment #2
peem83 commentedThe page is not live yet. I just paste the link to the video (Embedded media field for filefield). Afrer small debuging I figured out that the problem is with url to the video - example bellow:
this is the link to the video image generated by shadowbox code (it's also broken - I don't see video image)
http://img.youtube.com/vi/ATB - New Best Trance 2011 Mixed by DJ Balouli (Album Distant Earth)/0.jpg
and generated link to the video itself:
http://www.youtube.com/embed/ATB - New Best Trance 2011 Mixed by DJ Balouli (Album Distant Earth)?autoplay=1
the movie url on youtube is: http://www.youtube.com/watch?v=ugbm8SZBaCU or http://youtu.be/ugbm8SZBaCU - I tried both and it's not working
if I replace video title in url generated by shadowbox module in this case 'ATB - New Best Trance 2011 Mixed by DJ Balouli (Album Distant Earth)' to ugbm8SZBaCU from YT url it works perfect
Comment #3
manfer commentedOk it seems maintainters of youtube media module has decided to change the data stored for a youtube file. Now the stored data of the file looks like the following:
So now the filename property stores the title of the video instead of the ID of the video as in previous versions. I need to change shadowbox module to get the ID from the uri property. Tomorrow would try to look into it.
Comment #4
manfer commentedComment #5
manfer commentedComment #6
peem83 commentedworks perfect now :)
Comment #7
manfer commentedFix pushed