WordPress.org

Forums

WP Splash Image
"WP Splash Image" integrating to flowplayer (1 post)

  1. carlitz
    Member
    Posted 4 years ago #

    (still wait for answer at http://flowplayer.org/forum/3/50527)

    hi,

    this is my website:http://afor.co.il/gg/

    i've used "WP Splash Image" plugin on wordpress in order to load a kind of a pop-up with an html code that plays flv video. the plugin has a timer until it close the pop-up, which can be turned off, than it just stays on the last frame until the user click on the 'X' in the upper right. i would like to make it close itself automatically when it finish. it's probably possible with 'onfinish' or 'oncomplete' functions but i just cant make it to work.

    by the way, if there's any other way to do it more professionally i'll be very grateful to hear. i'm very new to this stuff...

    thank you!

    here is the code i used for the pop-up:

    <html> <head>
    <title>??? ??????</title>
    <script src=http://afor.co.il/gg/flowplayer/example/flowplayer-3.2.4.min.js"></script>
    </head>
    <body>

    href=http://afor.co.il/gg/wp-content/uploads/rafi1.flv"
    style="display:block;width:780px;height:540px;"
    id="player">

    <script language="JavaScript">
    flowplayer("player", http://afor.co.il/gg/flowplayer/flowplayer-3.2.4-0.swf", {

    clip: {
    onBegin: function () {
    // ensure that play button is visible
    this.getPlugin("play").css({opacity: 0});
    },
    onBeforeFinish: function () {
    // hide replay button
    this.getPlugin("play").css({opacity: 0});
    }
    }
    });
    </script>
    </body>
    </html>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags