Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Seek Menu Fullscreen Overlay Plugin

3 replies [Last post]
Reply

I'm developing a Flash plugin which put a menu over fullscreen video. The HTML/CSS menu works fine in normal mode allowing users to seek / navigate to different positions in the video. Unfortunately I am unable to place the HTML/CSS over the video when it is in fullscreen mode, so I have resorted to loading my Flash plugin over the top of the video. Unfortunately I appear to be unable to seek properly when in this mode. We can't use embedded cue points so these time variables are being passed via a JSON .ini file to the Flash plugin.

I'm using the list component to hold these labels and fire the seek function, they trace the time correctly but will not seek. I've tried it on normal buttons as opposed to the list component to no avail.

I've visited the forum, tried using provider: "http" in the embed code and enabled pseudo streaming on a friends server to test to no avail. The annoying thing is that it all works when I pass the variables to the Flash Player via JavaScript in normal mode, but it all goes up in flames when I have Fullscreen activated.

Here's some code, and a link to a rough demo. Thoughts, ideas, suggestions appreciated. Cheers!

http://www.patrickwall.com/Clients/Ixis/

myList.addEventListener(Event.CHANGE, showData);
function showData(event:Event) {
api.seek(event.target.selectedItem.data);
}
Reply

@Patrick -

I'm unable to download the plugin zips linked on your test page, so I can't see what's going on exactly. One thing you can try is to have your Flash plugin generate some debug information to make sure you're seeking to the right position in the video. I noticed that your chapters.ini file appear to be using millisecond offsets, while the player's seek() function expects seconds.

Reply

D'oh. I'd picked up the job from someone else who used milliseconds in the JSON file. I'd missed the fact that they converted the milliseconds to seconds in the Javascript and just presumed the JWPlayer used milliseconds. Thanks a lot. Everything works now! Phew! I owe you a pint, next time you're in rainy Manchester, UK.

Reply

Don't mention it! Glad it was something as simple as that to fix.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options