Embed youtube without controls

Support for PhpBB3 BBCodes. Post here to get help with any BBCode related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
Mess
BBCoder II
BBCoder II
Posts: 16
Joined: 30 Mar 2010, 09:36

Embed youtube without controls

Post by Mess »

I saw a youtube embed code for embedding a youtube video, without the controls. Can anyone help me find the relevant part, to make it work in a bbcode?
In a perfect world having the controls show up on mouseover would be even better. :D

Code: Select all

<a class="i" href="xiii.us/ms/music-player-hide">Hide YouTube Video Controls Code By Eileen
<style>
x.i i, .i {display:none;}
div.xiiiYouTube {width:320px; height:240px !important; overflow:hidden; border:0px hotpink dashed; position:relative; top:0px;}
object.xiiiYouTube {position:absolute; clip: rect(1px, 320px, 240px, 1px)}
</style>

</a>
<div class="xiiiYouTube">
<object type="application/x-shockwave-flash" allowScriptAccess="never" allowNetworking="internal" height="270" width="320" class="xiiiYouTube" data="http://www.youtube.com/v/eIabgPX14R4&autoplay=1&loop=1">
  <param name="allowScriptAccess" value="never" />
  <param name="allowNetworking" value="internal" />
  <param name="movie" value="http://www.youtube.com/v/eIabgPX14R4&autoplay=1&loop=1" />
  <param name="wmode" value="transparent" />
</object>
<i class="i"> END code to remove Video Controls </i>
</div>
</a>
Source

I am currently using the youtube bbcode from this thread: viewtopic.php?f=3&t=273 and its working as expected, I just wanted the added feature on my portal.
Thanks in advance. :)
Locked