Monday, May 13, 2013

How to use JW Player on FancyBox

How I got JW Player working inside FancyBox


    jQuery(".position1").fancybox({
        'content':'
Big Opportunity, Health, Convenience , Trading up – Leah Weckert
', maxWidth:800, maxHeight:600, fitToView:false, width:'70%', height:'70%', autoSize:true, closeClick:false, openEffect:'none', closeEffect:'none', afterShow:function () { jwplayer('mediaspace').setup({ 'flashplayer':'/coles-brand/js/jwplayer/jwplayer.flash.swf', 'file':"http://www.blipunited.com/lb/video.mp4", 'image':'http://img.youtube.com/vi/LtGoBZ4D4_E/0.jpg', 'provider':'youtube', 'height':400, 'width':700, 'controlbar.position':'bottom' }); } });

2 comments:

  1. Your JW Player on FancyBox using method easy to understand....Your process used on my website....Thank you for sharing info.....
    jw player

    ReplyDelete