PDA

View Full Version : Fix Dailymotion Videos


piratarg
02-27-2014, 12:44 AM
Hello, Dailymotion videos are square (4:3) and maximize button does not work.
How can it be corrected?

The template bbcode_video appears this:
<vb:elseif condition="$provider == 'dailymotion'" />
<object class="restrain" type="application/x-shockwave-flash" width="420" height="339" data="http://www.dailymotion.com/swf/{vb:raw code}">
<param name="movie" value="http://www.dailymotion.com/swf/{vb:raw code}" />
<param name="wmode" value="{vb:raw wmode}" />
<!--[if IE 6]>
<embed width="420" height="339" type="application/x-shockwave-flash" src="http://www.dailymotion.com/swf/{vb:raw code}" />
<![endif]--></object>


I tried to change it to this:
<vb:elseif condition="$provider == 'dailymotion'" />
<iframe class="restrain" title="Dailymotion video player" width="640" height="360" src="//www.dailymotion.com/embed/video/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0"></iframe>


Now the size of the player was corrected. But disappear controls (volume and maximize). :confused:

ForceHSS
02-27-2014, 04:52 AM
Did you add this in custom bb codes if so post full settings so i can test

piratarg
02-28-2014, 02:58 AM
Is that vbulletin already brings bbcode to play videos. Add more custom bbcodes does nothing but confuse users.

There is a thread in vbulletin.com of year 2012 where it says that this will be corrected in future versions... I have version 4.2.2 and this remains the same.

Like here, no one answers.