One of my clients, wanted to be able to show videos from MySpace TV in a fancybox window. After a lot of searching the oracle didn’t find anyway to do it!
Here is the way I finally got it to function:
$("#myspace").fancybox({
'padding' : 0,
'autoScale' : true,
'transitionIn' : 'none',
'transitionOut' : 'none',
'title' : this.title,
'width' : 425,
'height' : 360,
'type' : 'swf'
});
and the link for the video
<a id="myspace" title="The title for the video" rel="fancybox" href="http://mediaservices.myspace.com/services/media/embed.aspx/m=thevideoID">Whatever you want as the link</a>
remember to update the thevideoID
More info about FancyBox
See this live in action over at my clients site Shinji Kanki





Recent discussions