How to use [youtube] if you're Picklepower and bad at life -

Status
Not open for further replies.

Null

Ooperator
kiwifarms.net
The youtube and youtube player tags require the ID of the video. Not the URL, not everything after the /, just what "v" equals.

When you submit a URL sometimes the website will display different information based on the value of certain values passed through the URL bar. These are called $_GET arguments. The $_GET argument for a youtube video is v.

Lets look at this URL:
http://www.youtube.com/watch?v=ZsBwfWLXu5k&list=PLB72A6607F9CC1653&index=1

There are several parts.
http:// is the protocol.
www.youtube.com is the sub-domain, domain name, and top-level domain.
/watch is the requested webpage.

? indicates the start of variable argument list.
& indicates the start of another argument.

The parameters of this URL are:
v = ZsBwfWLXu5k
list = PLB72A6607F9CC1653
index = 1


This tells youtube we are watching a video in a playlist and the playlist is playing the first video (index=1).

None of that matters. Pasting all of that into [youtube] causes it to break. All we want it v.

?v=VIDEOID
?v=VIDEOID&someshit=somecrap

The information we want is VIDEOID, nothing else. In the URL I gave, the video ID is ZsBwfWLXu5k.

[youtube]ZsBwfWLXu5k[/youtube]
 

José Mourinho

The Special One
Global Moderator
True & Honest Fan
kiwifarms.net
Re: How to use [youtube] if you're Picklepower and bad at li

Flooding of videos in this thread in 5... 4... 3... 2... 1...
 

CatParty

Boo
True & Honest Fan
kiwifarms.net
Re: How to use [youtube] if you're Picklepower and bad at li

[youtube]najZjeluxG0[/youtube]
 
Status
Not open for further replies.

Similar threads

Came into existence as a shitty 4chan-wannabe knockoff; Left this world a shitty ResetEra-wannabe knockoff
Replies
1K
Views
297K
Replies
204
Views
8K
Top