Why html5av using settings from flash player?

Why is the html5av module using settings from the flash player?  What are the settings in the video module for; where are they used in Dolphin; not in the htm5 player since it is using the flash settings.

                        <video controls preload="auto" autobuffer ' . $sAutoPlay . $sPoster . ' style="width:100%; height:' . getSettingValue('video', 'player_height') . 'px;" id="' . $sId . '">
                            ' . $sSourceWebm . '
                            <source src="' . BX_DOL_URL_ROOT . "flash/modules/video/get_file.php?id=" . $iFileId . "&ext=m4v&token=" . $sToken . '" />
                            ' . (BX_H5AV_FALLBACK ? $sFlash : '<b>Can not playback media - your browser doesn\'t support HTML5 audio/video tag.</b>') . '
                        </video>

Geeks, making the world a better place
Quote · 17 Oct 2014

I'm not sure I follow. But the HTML5 module only tells Dolphin to use the HTML5 embed code and convert to some extra formats - this code is already in the video module files, and the HTML5 module simply tells Dolphin to use them. The video module has some old roots and a lot of it is stil part of the old Ray suite (now the Flash apps).

 

So in short, cruft.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 17 Oct 2014

 

I'm not sure I follow. But the HTML5 module only tells Dolphin to use the HTML5 embed code

Correct, and as you can see in the code snippet above, the video tag is set up with width 100% and the height that is stored in the flash player settings.  The video module has settings for the player width and height but that is not used in the html5av module.  Videos are not stored in the video module but in the flash directory; because flash was the means to play videos before html5 video came on the scene.  It seems only reasonable that the html5av module would use the video settings for the video player and not set the width to 100% and pull the height out of the flash settings.

Geeks, making the world a better place
Quote · 17 Oct 2014

You're right, it doesn't seem to use those settings. I can only figure it was never implemented, and again, a whole lotta' cruft from the Ray days.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 17 Oct 2014

It's because Boonex often does just enough to get by.  If something appears to be working to them, they stop working on it. Doing things the right way the first time, is not their cup of tea.  Don't worry... in another two or three years, they'll get around to this.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 17 Oct 2014

HTML5 Video/Audio module is designed to work the same way as flash, so some settings from flash video module are used.

For the fixed height and 100% width - it works the same way as in Flash video module. 

I think width setting for the flash player is used somewhere else, most probably for the size of video embed code.

Rules → http://www.boonex.com/terms
Quote · 20 Oct 2014

 

HTML5 Video/Audio module is designed to work the same way as flash, so some settings from flash video module are used.

For the fixed height and 100% width - it works the same way as in Flash video module. 

I think width setting for the flash player is used somewhere else, most probably for the size of video embed code.

What are the height and width settings for video in the video module settings used for?

Geeks, making the world a better place
Quote · 20 Oct 2014

 

What are the height and width settings for video in the video module settings used for?

Both width and height settings - for the size of video embed code (most probably). 

Height setting - for the height if the player on video view page, width is 100% - regardless of width setting option.

Rules → http://www.boonex.com/terms
Quote · 25 Oct 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.