Embed code fix

So many of us are having problems with the embed code on Dolphine 7.x.x.  When you get the embed code to paste it onto another site it looks like this:

<object style="display:block;" width="100%" height="400"><param name="movie".......</embed></object>

To replace the width="100%" to a numbered width for the video embed do the following :

  • on your server directory goto flash/modules/video/inc
  • open file constants.inc.php and edit the following lines
  • 'layout' => array('top' => 0, 'left' => 0, 'width' => "100%", 'height' => 400),

To replace the width="100%" to a numbered width for the sound embed do the following :

  • on your server directory goto flash/modules/mp3/inc
  • open file constants.inc.php and edit the following lines
  • 'layout' => array('top' => 0, 'left' => 0, 'width' => "100%", 'height' => 350),

Note: I'd recommend 602 for the width, so it doesn't distort your page.  See when you edit those numbers you are not only changing the with for the embed, but you are also changing the width for the video player as well.

This is the best solution I could find to fix this issue in general.

Demo on my site:  http://tubeata.net

Tubeata.net
Quote · 13 May 2011
 
 
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.