Active
Project:
Flowplayer API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Jun 2011 at 20:53 UTC
Updated:
15 Dec 2011 at 11:58 UTC
Hi there,
I have been fighting the whole day trying to fix a z-index problem for Google Chrome which is actually easily resolved by adding the wmode='opaque' parameter to the embed/object element.
After a long seek and destroy mission I have changed some code in the flowplayer.js file and change the lines of the flowplayer call to
var fc = {src: settings.basePath + settings.flowplayerSwf, wmode: 'opaque'};
// Create the flowplayer element on the non-processed elements.
$(selector + ':not(.flowplayer-processed)').addClass('flowplayer-processed').flowplayer(fc, config);
This opens the doors for the API to provide flashembed configuration. For now let it hard coded in my project, however this could be a nice idea for future version of the project?
What do you think?
Comments
Comment #1
chekka.de commentedIndeed! I wonder why it isn’t implemented yet!
Comment #2
rickmanelius commentedWow. That solved my problem as well. I'd definitely like to see this committed!
Comment #3
rickmanelius commentedActually, this doesn't fix the problem permanently. It'll fix it for a refresh, but then later loads show the z-index problem returning. Let's keep active for now.