The Glade 4.0
https://gladerebooted.net/

Youtube phpbb code
https://gladerebooted.net/viewtopic.php?f=2&t=3041
Page 1 of 1

Author:  Darkroland [ Tue May 25, 2010 9:52 am ]
Post subject:  Youtube phpbb code

Just out of curiosity, any reason we're using the youtube embed that requires just the video ID (which means we have to edit every link we post?)

Any way we could either update it to the full URL, or just add another youtube button that enables full URL usage? Post and go! :)

Here's the code:

Quote:
BBCode:

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


Quote:
HTML Replacement:

<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>

Author:  Mookhow [ Tue May 25, 2010 10:05 am ]
Post subject:  Re: Youtube phpbb code

youtube (video identifier only):
[youtube]OPospvRqP_s[/youtube]

yt(full url):


I have my doubts about if this will improve things. If people are too lazy to pull out the video identifier from the url, they'll probably be too lazy to take off the crap that comes after the video identifier in the url.

Author:  Darkroland [ Tue May 25, 2010 10:17 am ]
Post subject:  Re: Youtube phpbb code

Damn, that was fast! Thanks Mookhow!

Author:  Mookhow [ Tue May 25, 2010 1:01 pm ]
Post subject:  Re: Youtube phpbb code

Testing a modification to the YT2 tag code:



Ok you don't need to trim the "&feature=player_embedded" stuff anymore.

edit: I also changed the tag from youtube2 to yt

Author:  Lenas [ Tue May 25, 2010 1:08 pm ]
Post subject: 

Thanks a lot, Moo. Pretty soon people are gonna be sitting in motorized wheelchairs, gorging themselves on foods and internets.

Author:  Mookhow [ Tue May 25, 2010 1:09 pm ]
Post subject: 

It's ok, WALL-E will save the day.

Author:  Shelgeyr [ Tue May 25, 2010 10:20 pm ]
Post subject:  Re: Youtube phpbb code

Mookhow wrote:
edit: I also changed the tag from youtube2 to yt
That explains all the non-functioning youtube2 embeds I saw tonight.
Any chance of a find/replace macro being run to fix 'em?

Author:  Darkroland [ Tue May 25, 2010 10:32 pm ]
Post subject:  Re: Youtube phpbb code

I thought I posted more, but could only find one broken link. Mine is fixed! :)

Author:  Mookhow [ Tue May 25, 2010 10:39 pm ]
Post subject:  Re: Youtube phpbb code

Shelgeyr wrote:
Mookhow wrote:
edit: I also changed the tag from youtube2 to yt
That explains all the non-functioning youtube2 embeds I saw tonight.
Any chance of a find/replace macro being run to fix 'em?


I did a search for 'youtube' and only found one broken youtube2 link, in the Kung Fu Bear thread. I fixed it. If you see any more, you can report the post and I'll fix it. The tag's only been around for about half a day; it shouldn't have too much use yet.

Author:  Shelgeyr [ Wed May 26, 2010 2:23 pm ]
Post subject: 

Woot, yay fix!
I'm sure you're correct in that there aren't many. I just happened to have been browsing the Glade after several days' absence and tripped across 2 or 3 before I saw this thread and they seemed so prevalent because they were fresh in my mind.

Author:  Darkroland [ Wed May 26, 2010 4:33 pm ]
Post subject:  Re: Youtube phpbb code

Shel's broken link sensitive. (ponytail guy)

Author:  Shelgeyr [ Thu May 27, 2010 7:42 am ]
Post subject: 

Just keepin' it real, yo.

Page 1 of 1 All times are UTC - 6 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/