YouTube Mod

Get help developing custom BBCodes or request one.
sand_danser
Registered User
Posts: 105
Joined: Mon Mar 21, 2005 3:46 pm

Re: YouTube Mod

Post by sand_danser »

njharley yours works for me thanks 8-) is there a way I can make it view full screen?

WWu777
Registered User
Posts: 618
Joined: Tue Aug 14, 2007 12:40 pm
Contact:

Re: YouTube Mod

Post by WWu777 »

The problem with this bbcode is that it only allows the YouTube URL without the "related" and "feature" parameters that are often posted by people. It only works if you remove those parameters, but most people don't remember to. Is there a bbcode for embedding YouTube videos that works with those parameters in the URL?

arthurbrandao0
Registered User
Posts: 1
Joined: Sun Mar 24, 2013 1:09 pm

Re: YouTube Mod

Post by arthurbrandao0 »

Xabi wrote:That code is useless from a user-friendly point of view because it's based on the video ID and not on the video URL.We would need a BBCode based on the video URL.
Try it:

Code: Select all

[youtube]http://www.youtube.com/watch?v={TEXT}[/youtube]

Code: Select all

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Code: Select all

Exemplo de uso: [youtube]http://www.youtube.com/watch?v=yQxYqAanzcI[/youtube]

User avatar
tbackoff
Former Team Member
Posts: 7022
Joined: Thu Jun 04, 2009 1:41 am
Location: cheerleading practice
Name: Tabitha Backoff

Re: YouTube Mod

Post by tbackoff »

Please don't post insecure BBCodes (using SIMPLETEXT rather than TEXT).
Flying is the second best thrill to cheerleaders; being caught is the first.

User avatar
noth
Registered User
Posts: 2483
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: YouTube Mod

Post by noth »

unfortunately the sad fact is that TEXT functionality is not always entirely replicated by SIMPLETEXT and if that is the case, then you don't have a lot of choice

if {TEXT} is so insecure why is it even supported in phpBB at all?

User avatar
Brf
Support Team Member
Support Team Member
Posts: 51931
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: YouTube Mod

Post by Brf »

{TEXT} should be fine, as long as it is not inside an HTML tag, as is the case above.

zigvt85
Registered User
Posts: 5
Joined: Mon Sep 19, 2011 5:47 pm

Re: YouTube Mod

Post by zigvt85 »

This is what I use for the updated software they suggest you switch text to simpletext.

My Code

Code: Select all

BBCode Part
[YouTube]{SIMPLETEXT}[/YouTube]

HTML Part
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{SIMPLETEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>

Help Code Part
Just add the id after this watch?v= the id will look like watch?v=lTaBiFDXKi4 just add this lTaBiFDXKi4
Thought this could get a update :).

forforce
Registered User
Posts: 323
Joined: Fri Oct 04, 2013 7:57 am
Contact:

Re: YouTube Mod

Post by forforce »

Best Youtube code I tested so far:
Code:

Code: Select all

[youtube]{IDENTIFIER}://{SIMPLETEXT1}youtube.com/watch?v={SIMPLETEXT2}[/youtube]
HTML:

Code: Select all

<object width="640" height="480"><param name="movie" value="{IDENTIFIER}://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}"></param><param name="wmode" value="transparent"></param><embed src="{IDENTIFIER}://{SIMPLETEXT1}youtube.com/v/{SIMPLETEXT2}" type="application/x-shockwave-flash" wmode="transparent" allowFullScreen="true" width="640" height="480"></embed></object>
Enjoy ;)
https://www.cumseface.eu , We have tutorials for everything / Te ajutam se te descurci singur .

User avatar
Theriddler1
Registered User
Posts: 448
Joined: Sat Aug 27, 2011 11:00 pm
Location: NL
Name: Theriddler❶
Contact:

Re: YouTube Mod

Post by Theriddler1 »

or

BBCode:

Code: Select all

[youtube]http://youtu.be/{SIMPLETEXT}[/youtube]
HTML:

Code: Select all

<object width="580" height="360"><param name="movie" value="http://www.youtube.com/v/{SIMPLETEXT}?version=3&hl=en_US&HD=1&rel=0"></param><param name="wmode" value="transparent"><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{SIMPLETEXT}?version=3&hl=en_US&HD=1&rel=0" type="application/x-shockwave-flash" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" width="580" height="360"></embed></object>
Helpline:

Code: Select all

[youtube]http://youtu.be/PurkZlYJjls[/youtube]
Theriddler - Moderator @ phpBB.nl | phpBBservice.nl Team-member
ImageSupport Tools | Image My Extensions | buy me a beer Image

User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: YouTube Mod

Post by Oyabun1 »

Moved to Custom BBCode Development and Requests, since that seems to be all this topic is about.
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests

Post Reply

Return to “Custom BBCode Development and Requests”