Flowplayer: Control bar won’t reappear after Fullscreen and the Fix
Was just working with a strange bug in Flowplayer — after going full screen, the Control bar wouldn’t return on certain computers (seems to have been prevalent in certain versions of Safari 4.0.4, maybe Chrome).
The Problem
The example I was working on was using Flowplayer with a Flash control bar (all customized). The control bar was autoHide: ‘always’.
It seemed that after going full screen the control bar wasn’t coming up again. Someone reported that it appeared to be losing focus — so after fullscreen the mouse wasn’t really over Flash.
The Solution
Did a little digging and found there was an onFullscreenExit event in Flowplayer. Just adding a quick function call:
$f(playername, "player.swf", {
onFullscreenExit: function() {
window.focus();
}
};Did the trick!
3 Comments to Flowplayer: Control bar won’t reappear after Fullscreen and the Fix
A great solution for a great player that is normally flawless.
May 19, 2010
its really nice solution .. but it did not work on my side i did any mistake ? how could use it with php ? could you give me an example
May 25, 2010
I was struggling with this bug. Thank you for the solution. Added the code to one of my many websites!
Leave a comment
Please share, it makes me happy:
Subscribe to Email Alerts
Make a Donation
Popular Posts
Follow Me
Recent Posts
Archives
Tags
Blogroll
- 456 Berea St
- ActionScript 3 Design Patterns
- adactio – home of Jeremy Keith
- ajaxian
- Boxes and Arrows
- Chris Brogan
- CSS Globe
- InsideRIA
- Jarrod Michael Studios
- Johan Brook: Designer and Developer
- Mad Vertices
- NETTUTS
- Portsmouth Community Calendar
- Roomware Blog
- Signal vs. Noise
- Six Revisions
- Snook
- Style Grind
- Tiago’s Weblog
- Viget Extend
- Vitamin
- Whats the latest
- Woork
- zupko.info

May 17, 2010