WordPress.org

Ready to get started?Download WordPress

Forums

Easy FancyBox
FLV Support for Easy Fancybox (6 posts)

  1. robertjakobson
    Member
    Posted 3 years ago #

    Alright fellows, ladies and gentleman!

    I have a request - namely to get Easy Fancybox to display FLV files.

    I will update this post with links to various postings and tutorials I have found which generally talk of displaying FLVĀ“s with Fancybox and perhaps everybody can move on from there?

    http://wordpress.org/extend/plugins/easy-fancybox/

  2. RavanH
    Member
    Plugin Author

    Posted 3 years ago #

    There IS a way:

    Download the JW Player package from http://www.longtailvideo.com/players/jw-flv-player/ and unzip it. You only will need the player.swf file. Upload it to your site (with FTP or via the Media Upload in WordPress does not matter, as long as you remember the exact URL to the file) and use that to play the FLV file inside FancyBox like this:

    <a href="http://url.to/player.swf?file=http://url.to/mymovie.flv" class="fancybox-swf">link text</a>

    This way, the flash player will always be used to play the FLV file. In other words, the HTML5 capabilities of JW Player are not used. For that to happen, either the JW Player will have to be completely integrated in FancyBox or you will have to create a stand-alone page that uses the full JW Player to play your FLV file and then open that page in a FancyBox iframe like this:

    <a href="http://url.to/my_flv_in_jwplayer.html" class="fancybox-iframe">link text</a>

    Let me know what works out the best :)

  3. _avocado_
    Member
    Posted 2 years ago #

    I am using the first option:
    <a href="http://url.to/player.swf?file=http://url.to/mymovie.flv">link text</a>

    Is it possible to autostart the movie?

  4. _avocado_
    Member
    Posted 2 years ago #

    Autostart works like this:
    <a href="http://url.to/player.swf?file=http://url.to/mymovie.flv&autostart=true">link text</a>

    The controlbar has a 'menu' button.
    I would like to remove it. Possible?

  5. RavanH
    Member
    Plugin Author

    Posted 2 years ago #

    If the player has an API option like menubutton=false (to be added to the URL similar to the autoplay=true parameter) you should be able to control the control bar. But it all depends on the player you are using.

    It is not something related to FancyBox.

  6. _avocado_
    Member
    Posted 2 years ago #

    Thanks for the advise.
    Now I got it:
    Two versions of JW Player exist -
    if you uncheck "Viral Plugin" before pushing the Download button,
    then you will get a player without that button and the viral options behind it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic