Flowplayer in fancybox?

Posted by kastru on Stack Overflow See other posts from Stack Overflow or by kastru
Published on 2010-06-02T21:11:34Z Indexed on 2010/06/03 1:24 UTC
Read the original article Hit count: 536

Filed under:
|
|

I am trying to get the Flowplayer to be shown inside a Fancybox, but can't quite get it working. This is my code so far;

            $("a.video_link").click(function () {

            $.fancybox({
                'autoScale': false,
                'transitionIn': 'none',
                'transitionOut': 'none',
                'title': this.title,
                'width': 680,
                'height': 495,
                'href': '/flowplayer/flowplayer.swf?video=myvideo.flv', /* have also tried a couple of other options for the url settings, but without luck)
                'type': 'swf',
                'swf': {
                    'wmode': 'transparent',
                    'allowfullscreen': 'true'
                }
            });

            return false;
        });

Any suggestions?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about fancybox