• OzzModz is no longer taking registrations. All registrations are being redirected to Snog's Site
    All addons and support is available there now.

How to add all types of video editing the original template bbcode_video?

boldherri

New member
Hello Ozzy, i am Herri, compliment for the forum.
I need your help

This is code bbcode_video template original in vbulletin 4.2.2

Code:
<vb:if condition="$provider == 'hulu'">
<object class="restrain" type="application/x-shockwave-flash" width="512" height="296" data="http://www.hulu.com/embed/{vb:raw code}">
    <param name="movie" value="http://www.hulu.com/embed/{vb:raw code}" />
    <param name="wmode" value="{vb:raw wmode}" />
    <!--[if IE 6]>
    <embed width="512" height="296" type="application/x-shockwave-flash" src="http://www.hulu.com/embed/{vb:raw code}" />
    <![endif]--></object>
<vb:elseif condition="$provider == 'youtube'" />
<iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0"></iframe>
<vb:elseif condition="$provider == 'youtube_share'" />
<iframe class="restrain" title="YouTube video player" width="640" height="390" src="//www.youtube.com/embed/{vb:raw code}?wmode={vb:raw wmode}" frameborder="0"></iframe>
<vb:elseif condition="$provider == 'vimeo'" />
<object class="restrain" type="application/x-shockwave-flash" width="640" height="360" data="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}">
    <param name="movie" value="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
    <param name="wmode" value="{vb:raw wmode}" />
    <!--[if IE 6]>
    <embed width="640" height="360" type="application/x-shockwave-flash" src="//vimeo.com/moogaloop.swf?clip_id={vb:raw code}" />
    <![endif]--></object>
<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>

<vb:elseif condition="$provider == 'metacafe'" />
<object class="restrain" type="application/x-shockwave-flash" width="400" height="345" data="http://www.metacafe.com/fplayer/{vb:raw code}.swf">
    <param name="movie" value="http://www.metacafe.com/fplayer/{vb:raw code}.swf" />
    <param name="wmode" value="{vb:raw wmode}" />
    <!--[if IE 6]>
    <embed width="400" height="345" type="application/x-shockwave-flash" src="http://www.metacafe.com/fplayer/{vb:raw code}.swf" />
    <![endif]--></object>
<vb:elseif condition="$provider == 'google'" />
<object class="restrain" type="application/x-shockwave-flash" width="400" height="326" data="http://video.google.com/googleplayer.swf?docid={vb:raw code}">
    <param name="movie" value="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
    <param name="wmode" value="{vb:raw wmode}" />
    <!--[if IE 6]>
    <embed width="400" height="326" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docid={vb:raw code}" />
    <![endif]--></object>
<vb:elseif condition="$provider == 'facebook'" />
<object class="restrain" type="application/x-shockwave-flash" width="576" height="432" data="//www.facebook.com/v/{vb:raw code}">
    <param name="movie" value="//www.facebook.com/v/{vb:raw code}" />
    <param name="wmode" value="{vb:raw wmode}" />
    <!--[if IE 6]>
    <embed width="576" height="432" type="application/x-shockwave-flash" src="//www.facebook.com/v/{vb:raw code}" />
    <![endif]--></object>
</vb:if>


I would add this here

GameTrailer
Gamespot
IGN
Multiplayer.it

I do not want to add a single bbcode for all types of video

Can you help me please?
 
Back
Top