|
video bbcodes
This modification is in the archives.
Alright, wasn't too sure where to put this, but I think that plugin best describes it since all you need is access to Admin CP.
This is a simple bbcode that adds two tags. [video] and [video2]. One works for certain formats, the other works for another. EXAMPLE: http://videos.streetfire.net/iPlayer.aspx?fileid=245402BA-784E-47EA-9109-5CB546FFE7DA that would be wrapped around [video2] tags. On the other hand, http://movies.apple.com/movies/universal/twoforthemoney/twoforthemoney_h.480.mov would be wrapped around [video] tags. You'll figure it out, if it doesn't work with one, use the other. It's not hard. At all. 2 Demos: http://ugforums.org/forum/showpost.php?p=7553&postcount=1 http://ugforums.org/forum/showpost.php?p=7290&postcount=22 Oh and, if you use the [video] tag with WMP, double clicking goes full screen ![]() BBCODES: Title: Video Tag: video Replacment: HTML Code:
<small><b>Video:</b></small><br /> <div style="border: 1px dashed gray; padding: 1px;"><div><button type="button" class="button" onclick="this.parentNode.parentNode.childNodes[1].style.display = ''; this.parentNode.style.display = 'none';" title="Click to show the video.">show video</button></div><div id="spoiler" style="display: none;"><embed src="{param}" width=470 height=375 autostart=false loop=false align=center></div></div> Title: Video 2 tag: video2 Replacment: HTML Code:
<small><b>Video:</b></small><br /> <div style="border: 1px dashed gray; padding: 1px;"><div><button type="button" class="button" onclick="this.parentNode.parentNode.childNodes[1].style.display = ''; this.parentNode.style.display = 'none';" title="Click to show the video.">show video</button></div><div id="spoiler" style="display: none;"><IFRAME SRC="{param}" WIDTH="470" HEIGHT="375" FRAMEBORDER="0" MARGINWIDTH="0" SCROLLING="no"></IFRAME></div></div> Enjoy, and please click install ![]() Download No files for download. |
|||||||||