PDA

View Full Version : BB Code Enhancements - Apple QuickTime Embed BB Code


DJRavine
09-06-2007, 10:00 PM
Made by DJRavine (http://wowps.org/forum/member.php?u=1) @ http://WoWps.org


hey guys...

this is a small bb code mod i did for my forums to allow users to post their own videos hosted from their own servers...
its just a small embedded windows media player plug in using the {param} for the link..
simple and easy..
im surprised it wasn't here already.. oh well its still very useful...
if you like the bb code please mark as installed.. ;)

NOTE: the video size is set to a default resolution 640x480px...
it is editable in the replacement var... if you wish to change it...


To Install:
1. Go To Admin CP
2. Scroll down the left nav and select Custom BB Codes
3. Add New BB Code
4. Fill in the following:



INSTALLATION
-------------------------------------------------------

UPLOAD
------
quicktime.jpg or any image of your choice to ur webhost...
this will be the icon for the bb code...
INCLUDED IN ZIP BELOW...



Video BB Code
-------------------------------------------------------

---
Name:

QuickTime BB Code ---
Tag:

aqt ---
Replacement:

ORIGINAL VERION:
<EMBED SRC="{param}" WIDTH=640 HEIGHT=480 AUTOPLAY=false CONTROLLER=true LOOP=false PLUGINSPAGE=http://www.apple.com/quicktime/">ALT VERSION (UNTESTED):
<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="640" height="480" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src" value="{param}">
<param name="qtsrc" value="rtsp://realmedia.uic.edu/itl/ecampb5/demo_broad.mov">
<param name="autoplay" value="true">
<param name="loop" value="false">
<param name="controller" value="true">
<embed src="{param}" qtsrc="rtsp://realmedia.uic.edu/itl/ecampb5/demo_broad.mov" width="640" height="480" autoplay="true" loop="false" controller="true" pluginspage="http://www.apple.com/quicktime/"></embed>
</object>


---
Example:

http://wowps.org/demo.mov ---
Description:

Embed a video link from another website...
You can use anything apple quicktime can play...

---
Option:

No


-------------------------------------------------------

Thats it, goto Newthread and create new thread with the video BB code, preview and bingo...
your quicktime video is now embeded straight from an external webhost...

DEMO POST: http://wowps.org/forum/showthread.php?p=10287

PLEASE MARK THIS AS INSTALLED
IF U USE THIS BB CODE ON UR FORUM...

ang2el
09-07-2007, 03:57 PM
Thats a great hack. Will it work once install for ever I mean VB 3.7 and future version or we will need to update in every new VB version?

DJRavine
09-08-2007, 05:00 AM
indeed it will... its just using a simple object embeded in html...
its all up to the client [web browser] to have the plugin installed...
so it will indeed work on any version of vbulletin...

and check out my media player bb code
https://vborg.vbsupport.ru/showthread.php?t=157062

HFB
12-05-2008, 09:29 PM
Is there any way to add an option to expand to full screen? It works quite well with the Internet Archive Films. (http://www.archive.org/details/feature_films)

Trana
12-28-2008, 07:49 PM
Any way to put a play/pause button in there so it doesn't start automatically?