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:
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: