You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

HTML over the player to display AFTER video starts Created Oct 25, 2009

This thread is solved

Views: 2096     Replies: 5     Last reply Oct 26, 2009  
You must login first before you can use this feature

omar

Posts: 11

Registered:
Jan 26, 2009

HTML over the player to display AFTER video starts

Posted: Oct 25, 2009

I have a div html over the player. Is it possible to get it to only display after a user clicks the play button?

Its distracting if it appears over the thumbnail before the video even starts.

Thanks

Christian Ebert
Flowplayer support

Posts: 2803

Registered:
May 27, 2008

» HTML over the player to display AFTER video starts

Posted: Oct 25, 2009

Reply to: HTML over the player to display AFTER video starts, from omar
Should be possible. Hide the div on page load, and show it when the clip's onStart event is triggered.

You might want to have a look at the docs on clip events.

omar

Posts: 11

Registered:
Jan 26, 2009

» » HTML over the player to display AFTER video starts

Posted: Oct 25, 2009

Reply to: » HTML over the player to display AFTER video starts, from blacktrash
Thanks. Is it possible to get it to load at a certain time within the video say at the 30th second?

omar

Posts: 11

Registered:
Jan 26, 2009

» » » HTML over the player to display AFTER video starts

Posted: Oct 25, 2009

Reply to: » » HTML over the player to display AFTER video starts, from omar
I was looking at cuepoints, but is it possible to have your content: plugin load at a cuepoint? How

Christian Ebert
Flowplayer support

Posts: 2803

Registered:
May 27, 2008

» » » » HTML over the player to display AFTER video starts

Posted: Oct 25, 2009

Reply to: » » » HTML over the player to display AFTER video starts, from omar
I don't use the content plugin, therefore untested, but try something along those lines:


$f("player", "flowplayer.swf", {
  plugins: {
    myContent: {
      // hide content plugin at first
      display: "none"
      // more content plugin config ...
    }
  },
  clip: {
    // show content plugin after 30 seconds
    onCuepoint: function (clip, 30000) {
      this.getPlugin("myContent").show();
    }
  }
});

Look at the demo with embedded cuepoints.

omar

Posts: 11

Registered:
Jan 26, 2009

» » » » » HTML over the player to display AFTER video starts

Posted: Oct 26, 2009

Reply to: » » » » HTML over the player to display AFTER video starts, from blacktrash
hiding the plugin worked but I couldnt get the onCuepoint to work the way you presented it here. I'll have to look more into this.