google-code-export / flowplayer-core

Automatically exported from code.google.com/p/flowplayer-core
2 stars 0 forks source link

Resizing controls breaks bitrateselect's HD control bar button #623

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. Play a video with the controls and bitrateselect flash plugins and set 
bitrateselect to add an HD button to the controls
2. Via javascript, change the CSS of the controls, such as 
$f('player').getPlugin('controls').css({ width: 300 });
3. Try to use the HD button. It should now be unresponsive.

This is using core/controls 3.2.12 and bitrateselect 3.2.11

Example page can be found here: 
http://sandbox.vidyard.com/controlbar_resize/example/index.html

Original issue reported on code.google.com by tyler.ca...@gmail.com on 17 Aug 2012 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by electrot...@gmail.com on 18 Aug 2012 at 6:34

GoogleCodeExporter commented 9 years ago
Hi Tyler thanks for the report. Unfortunately there is a small issue when 
updating the controlbar config with the hd button enabled state as it's default 
is disabled on updating the controls it's set to disabled. There was a fix 
before but this config gets reset ...

This should work better for you upon the widget becoming enabled it will update 
the controls config correctly

https://dl.dropbox.com/u/3394987/flowplayer.bitrateselect-3.2.12.zip

Original comment by electrot...@gmail.com on 20 Aug 2012 at 10:32

GoogleCodeExporter commented 9 years ago
Works great! Thanks for the quick fix!

Original comment by tyler.ca...@gmail.com on 22 Aug 2012 at 5:34