My Video BBC Tag (XHTML Compliant)

Started by Mave, May 12, 2007, 07:45:01 AM

Previous topic - Next topic

Mave

Link to Mod

This mod allows a poster the option to embed a MyVideo.de video in a post through the use of the [myvideo=425,350][/myvideo] BBC (bulletin board code) tags.  The code it uses is XHTML compliant, this keeping with the forum's XHTML validity.

Its use is easy: simply plug the video Number between the [myvideo][/myvideo] tags.

Language Integration

To make the mod work with your language, simply open Modifications.*.php, where * is the language you wish to integrate the mod into, and add $txt['myvideo'] = 'MyVideo insert Number'; to its own line in the file.

thx goes to Marlon he coded the Youtube Button. I use his code and modified.

indos

SMF 1.1.4
------------------
<<<< Se vende 1500 visitas por dia (Ver mas info en el sitio)

shaiss

-Shai
If you ride on two wheels you need to ocmoto.com!

Mave

Sorry, i found that the Version 1.0 not XHTML Compliant, iam correct it in Version 1.2.

AllMassive

Could you add that using the whole url also works ? - I only got it working using the Video-Number.

Mave


Steve1405

Where I get the number of the video and how must I write it?

Wo bekomme ich die Nummer von einem Video her und wie muss ich sie dann mit dem Tag schreiben?

greetz

Mave

#7
The number behind watch in the url, insert only number, because there is in this mod no automatic to cut the whole url.
Die Nummer ist die zahl hinter watch in der URL nur die Nummer eingeben.
Bei my video hab ich keine automatik zum kürzen der url.
http://www.myvideo.de/watch/1767263

Apllicmz

when Update puty portuguese and brazilian Linguage

<file name="$themedir/languages/Modifications.portuguese.php">
                <operation>
                        <search position="end"></search>
                        <add><![CDATA[
$txt['myvideo'] = 'MyVideo inserir Número';
]]></add>
                </operation>
        </file>
<file name="$themedir/languages/Modifications.brazilian.php">
                <operation>
                        <search position="end"></search>
                        <add><![CDATA[
$txt['myvideo'] = 'MyVideo inserir Número';
]]></add>
                </operation>
        </file>



Advertisement: