Discussie: [CiP] White Shadow
Los bericht bekijken
Oud 12-01-2008, 17:19   #50 (permalink)
RA-ART
 
RA-ART's schermafbeelding
 
Geregistreerd: 4 juni 2004
Locatie: Leeuwarden
Berichten: 800
Standaard

Dat zuigt best wel, maar het moet kunnen. bit-tech werk met het zelfde forum als CJ.
Misschien is er wel een mod nodig om filmpjes te plaatsen, en die is er.

Citaat:
You can use the embed code on YouTube's site to make a BB code:

Admin CP -> Custom BB Codes -> Add New BB Code

Title - YouTube
Tag - youtube
Replacement:

Code:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="425" height="350"></embed></object>
Example - [youtube]JFwCCL0Vh6U[/youtube]

Description - Use the movie code from the YouTube URL in your browser. For example, http://youtube.com/watch?v=JFwCCL0Vh6U

Bron: vBulletin Community Forum - View Single Post - How to safely allow embedded YouTube videos?
Citaat:
Thought I'd share the code I used. I'm new to vB, so I may have done this wrong as I made two BBCode entires -- one for the simple, one for the advanced.

Simple Method:

Code:
     [youtube]hl2UUunlI2Q[/youtube]
Code:
     <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466">
 <tr><td style="text-align:center"><strong><a href="http://www.youtube.com/watch?v={param}" target="_blank">YouTube Video</a></strong></td></tr>
  <tbody><tr><td class="alt1" align="center"><object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}"><param name="movie" value="http://www.youtube.com/v/{param}" /><param name="wmode" value="transparent" /><em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em></object></td></tr></tbody>
</table>
Advanced Method (pick a title):

Code:
     [youtube=hl2UUunlI2Q]Aston Martin Crash[/youtube]
Code:
     <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="466">
 <tr><td style="text-align:center"><strong><a href="http://www.youtube.com/watch?v={option}" target="_blank">"{param}" via YouTube</a></strong></td></tr>
  <tbody><tr><td class="alt1" align="center"><object width="425" height="350" type="application/x-shockwave-flash" data="http://www.youtube.com/v/{option}"><param name="movie" value="http://www.youtube.com/v/{option}" /><param name="wmode" value="transparent" /><em><strong>ERROR:</strong> If you can see this, then <a href="http://www.youtube.com/">YouTube</a> is down or you don't have Flash installed.</em></object></td></tr></tbody>
</table>
Example Result:



Bron: vBulletin Community Forum - View Single Post - How to safely allow embedded YouTube videos?
__________________
Warning , keyboard not found. Press Enter to continue.

Laatst gewijzigd door RA-ART : 12-01-2008 om 17:34.
RA-ART is offline   Met citaat antwoorden