MyBB Community Forums

Full Version: Quick Time Videos with MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there.

It's just a basic bbcode which allows you to embed quick time clips(.mov files) into your posts. There are great plugins that have option for embedding local .movs, that's why i made a bbcode to allow external links.

It's a good solution if you're running a movies fan forum for posting HD trailers from apple.com. I think it's best for both good quality and compression.
If you're on a PC, you must have quick time player installed.

The expression:
\[quicktime\](.*?)\[/quicktime\]

The replacement:
<object width="600" height="240" scale="aspect"classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"><embed src="$1" width="600" height="240"  scale="aspect" autoplay="false" controller="true" codebase="http://www.apple.com/qtactivex/qtplugin.cab" pluginspage="http://www.apple.com/quicktime/download/"><param name="src" value="$1"><param name="autoplay" value="false"><param name="controller" value="true"></embed></object>

Usage:
[quicktime]http://address_of_the_clip.mov[/quicktime]

*Important*
For some reason IE7 and IE8rc1 don't auto scale trailers above 480p.
In Firefox everything works fine - 480p, 720p and 1080p.

Some demo?
thankyou