PDA

View Full Version : Video player stops player when panel collapsed



hoever
3 Sep 2010, 1:08 PM
Hi!

I've put an HTML5 video in a panel of a viewport with a border layout. When the panel is collapsed the player stops playing. Is there a way to prevent this behaviour and let the player playing even if its region is collapsed?

Thanks for help, Kai

Condor
6 Sep 2010, 3:05 AM
This is a bug in most browsers. The only way to do that would be to set the size of the panel to 0 instead of hiding it (not that easy as it sounds!).

hoever
7 Sep 2010, 1:29 AM
Thank you for your answer! I thought there might exist some setting for this to prevent stop playing when minimizing the component containing a video. However I wonder why it works with the YUI Layout Manager. There it's possible to collapse a unit without a stop of the video player.