The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
video bbcodes Details »» | |||||||||||||||||||||||||
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...9-5CB546FFE7DA that would be wrapped around [video2] tags. On the other hand, http://movies.apple.com/movies/unive...oney_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.p...53&postcount=1 http://ugforums.org/forum/showpost.p...0&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 Show Your Support
|
Comments |
#2
|
|||
|
|||
Just wanted to add that this doens't work well on macs. it actually downloads the video rather than playing it in the browser.
|
#3
|
||||
|
||||
I have a mac. Damn.
|
#4
|
|||
|
|||
I tested it out on my school's Safari browser using a mac mini. Don't know if it might work with other Mac browsers. maybe worth a try on one of the demos I linked.
And to add to that, I tested it out on a .wmv (windows media player etxension), so it might work if it's a quicktime movie. Such as the trailer I linked to in the first demo link. :ermm: |
#5
|
||||
|
||||
what do you put in for all fields, and what you leave blank
|
#6
|
|||
|
|||
what do you mean? I gave out all the needed info...description is not needed, use option should be left at no, and there is no image, unless you make one yourself.
|
#7
|
|||
|
|||
it is downloading the files when the films are .wmv or other Windows medias... because there is no plugin in the Mac browser to play them directly... so there is no link with the bbcode itself...
|
#8
|
||||
|
||||
I am using internet explorer. when i use the [video] tag it won't play .mpg. When I use [video2] it pops up windows media player as soon as i click into the post.
anyway to stop it from doing that. And it would be easier if we knew what tag worked for which extension. |
#9
|
|||
|
|||
auz, the [video] tag plays stuff that is already, say, integrated into a page. You will probably use it less often. use [video2] when the url of the video ends in a video file extension.
I probably should have named [video2] into [video] since it's used more. Feel free to do that. It won;t break anything. As for it popping up, I don't recall what mpg is used for...I really should, but I just can't remember right now. Can you give me the link of the video and I can try it on my forums/computer. Normally, when a player pops up rather than integrating, it means that you have not installed the player to work with your browser. As I said, if you could give it to me it would be great. For example, right now I'm at my mom's computer, she doesn't have quicktime, so the first example that I gave isn't working on her computer. It's a case by case scenario that makes it not work. |
#10
|
|||
|
|||
Is there a way to make it so ONLY admins can post these stuff
...even better if only I [1 admin] can post it :P |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|