crazycarl
03-28-2010, 10:00 PM
Hey folks, never posted something on the Mods section before so thought I'd give it a shot. I run a Chinese Motorcycle site (http://www.mychinamoto.com/)and many of the members live in China and have no access to Vimeo or Youtube. The built in video embed with 4.x doesn't handle YouKu so I made a pretty standard BBCode and a button for you to integrate if you want.
As usual: AdminCP ----> Add New BB Code
Title: YouKu
BB Code Tage Name: YouKu
Replacement:
<object width="480" height="400"><param name="movie" value="http://player.youku.com/player.php/sid/{param}/v.swf"></param><embed src="http://player.youku.com/player.php/sid/{param}/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></object>
Example: XMTYxMjAxOTUy
Description:
<embed src="http://player.youku.com/player.php/sid/XMTYxMjAxOTUy/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed>
Use {option} : No
Remove Tag...:Yes
Disable BB...: No
Disable Smilies...: No
Disable Word...: No
for the button, I couldn't find one on the net so made a little one myself which should be easy for users to identify. Button image is attached.
Nothing mind blowing but I hope it's helpful to someone! Thanks to everyone on here!
Regards,
CC
As usual: AdminCP ----> Add New BB Code
Title: YouKu
BB Code Tage Name: YouKu
Replacement:
<object width="480" height="400"><param name="movie" value="http://player.youku.com/player.php/sid/{param}/v.swf"></param><embed src="http://player.youku.com/player.php/sid/{param}/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed></object>
Example: XMTYxMjAxOTUy
Description:
<embed src="http://player.youku.com/player.php/sid/XMTYxMjAxOTUy/v.swf" quality="high" width="480" height="400" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash"></embed>
Use {option} : No
Remove Tag...:Yes
Disable BB...: No
Disable Smilies...: No
Disable Word...: No
for the button, I couldn't find one on the net so made a little one myself which should be easy for users to identify. Button image is attached.
Nothing mind blowing but I hope it's helpful to someone! Thanks to everyone on here!
Regards,
CC