PDA

View Full Version : Video Embedding Tutorial



Bitchkoma
01-28-2010, 06:45 PM
I have observed that most of you do not use AmKon's other video embedding options besides YouTube. True, YouTube holds most videos out there but there are a number of other options and here at AmKon we have had options besides YouTube for a while. Even before the board upgrade we have had Google Video embed enabled. Still it was not widely used. It occured to me that perhaps this was because there was no clear documentation on how to use the other options.

It is with great pleasure that I present to you this Amkon Video Embedding Tutorial.


Supported Video Sites

Currently the board supports embedding videos from the following websites: http://amkon.net/images/custom/youtubez.gif YouTube (http://www.youtube.com/) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336337#post336337) http://amkon.net/images/custom/googlevid.gif Google Videos (http://video.google.com/) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336338#post336338) http://amkon.net/images/custom/tv.gif Disclose.TV (http://www.disclose.tv/) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336339#post336339) http://amkon.net/images/custom/dailymotion.gif Dailymotion (http://www.dailymotion.com/en) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336341#post336341) http://amkon.net/images/custom/vimeo.gif Vimeo (http://www.vimeo.com/) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336342#post336342) http://amkon.net/images/custom/liveleak.jpg LiveLeak (http://www.liveleak.com/) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336343#post336343) http://amkon.net/images/custom/metacafe.gif Metacafe (http://www.metacafe.com/) [jump to tutorial] (http://amkon.net/video-embedding-tutorial-t24630.html?p=336344#post336344)

I will proceed to instruct you on how to embed videos from each of these websites. But before we begin, let us go through a few terms I will use in our tutorial here. Here I list down the terms, along with description of what it means for our purpose today.


video URL - this is simply the exact website address of the video you are trying to embed. Each website has a different URL format which will determine how we obtain the next important bit of information for embedding videos here at AmKon. For example, the YouTube video URL for a RickRoll video is
http://www.youtube.com/watch?v=oHg5SJYRHA0

video ID - this is a unique identifier that tells the server which video to play in the flash player. Depending on the website, the video ID may be found in the video URL or the embed code. In the previous example of the Rick Astley video, the video ID is in the video URL, highlighted below

http://www.youtube.com/watch?v=oHg5SJYRHA0

video embed code - this is the code that most video sites provide for the purpose of embedding the video in MySpace pages or personal blogs. It is usually provided in a box labeled "embed". For some video sites, the video ID can only be extracted from the embed code. Continuing with the example video from before, the embed code looks like this:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/oHg5SJYRHA0&hl=en_US&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/oHg5SJYRHA0&hl=en_US&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>
As you can see in the example above, the same video ID that you can extract from the video URL is found in the video embed code, as is highlighted.

video bbcode - this is the special forum code that you wrap around the video ID to embed it into your post. The code is specific to each website, so you cannot for example use a YouTube bbcode for a LiveLeak video ID. I won't go through an example code here because of that reason.

You can also call the video bbcode by clicking on specific buttons in the post editor. For example, the YouTube button looks like this: http://amkon.net/images/custom/youtubez.gif
You will still have to manually insert the video ID between the bbcode tags, though.

The bbcode button for all other supported video sites are actually shown in the supported sites list at the beginning of this post.


*Note: Please don't use the video ID above to test. Rickrolls are disabled by default so your experiments with that ID are doomed to fail.

With that out of the way let us walk through the instructions on how we go about embedding videos in your posts here at AmKon with each different source video site. I will provide two examples for each video site.

Bitchkoma
01-28-2010, 06:45 PM
YouTube

Example video URL 1:
http://www.youtube.com/watch?v=nIwu5MevZyg
Example video URL 2
http://www.youtube.com/watch?v=EnYPimATnUo&feature=related
For YouTube, the video ID is in the video URL, so you don't need to bother with the embed code. For the examples above, the video ID is highlighted below in red:
http://www.youtube.com/watch?v=nIwu5MevZyg
http://www.youtube.com/watch?v=EnYPimATnUo&feature=related

The bbcode (button: http://amkon.net/images/custom/youtubez.gif) for YouTube videos is

To embed YouTube videos, insert the video ID between the bbcodes like this:

nIwu5MevZyg

or

EnYPimATnUo

This will result in this:
nIwu5MevZyg

and this:
EnYPimATnUo

Sometimes, you want the video to start somewhere in the middle. In these situations, simply add &start=xx to the video ID, where xx is the number of seconds into the video you want it to start at.

For example, say that you want to post a video of the Demolition Man scene where John Spartan finds a burger in future Los Angeles, but the video start about 7 minutes and 7 seconds before that scene. So what you would do is add &start=427 at the end of the video code, since 7 minutes multiplied by 60 seconds PLUS 7 seconds is equal to 427 seconds. The code would look like this:

NBq3ooHCVbU&start=427

Notice the additional code? The above would result in this:

NBq3ooHCVbU&start=427

Go ahead, try and play it. You'll see that it will start playing at exactly 7 minutes and 7 seconds into the video.

Bitchkoma
01-28-2010, 06:46 PM
Google Videos

*Note: If you want to embed from Google Videos, please make sure that the video is found at video.google.com and not other sites. This may be confusing because Google Videos also acts as a video search engine.


Example video URL 1:
http://video.google.com/videoplay?docid=2564476598993346925&hl=en#
Example video URL 2:
http://video.google.com/videoplay?docid=7066578568747223192&ei=Lf5hS6XTIMbC-AaToPnQCA&q=pika&hl=en&view=3#

For Google Videos, the video ID is in the video URL, so you don't need to bother with the embed code. For the examples above, the video ID is highlighted below in red:

http://video.google.com/videoplay?docid=2564476598993346925&hl=en#

http://video.google.com/videoplay?docid=7066578568747223192&ei=Lf5hS6XTIMbC-AaToPnQCA&q=pika&hl=en&view=3#

Basically it's that bunch of numbers between videoplay?docid= and &... in the URL. Insert that ID into the Google Video (button: http://amkon.net/images/custom/googlevid.gif) bbcode tags

For example:
2564476598993346925

or

7066578568747223192

will result in this:
2564476598993346925

or this:
7066578568747223192

Bitchkoma
01-28-2010, 06:46 PM
Disclose.TV

Example video URL 1:
http://www.disclose.tv/action/viewvideo/38188/New_Mars_Pictures_from_HiRise_/

Example video URL 2:
http://www.disclose.tv/action/viewvideo/38191/History_of_the_Rothschild_Anti_Christ/

For Disclose.TV, the video ID is also in the video URL, so you don't need to bother with the embed code. For the examples above, the video ID is highlighted below in red:


http://www.disclose.tv/action/viewvideo/38188/New_Mars_Pictures_from_HiRise_/

http://www.disclose.tv/action/viewvideo/38191/History_of_the_Rothschild_Anti_Christ/

Just put the video ID between the following bbcode (button: http://amkon.net/images/custom/tv.gif) tags:

Continuing with the examples above, you would get:
38188
or:
38191

Which yields the following:
38188

or:
38191

Bitchkoma
01-28-2010, 06:47 PM
Dailymotion

Example video URL 1:
http://www.dailymotion.com/video/xbzcff_yyyyyyyyyyshocking-alien-footage-2_tech
Example video URL 2:
http://www.dailymotion.com/video/x89p0j_xtreme-bikini-4-grip-video_sport

Like the examples before, the video ID for Dailymotion videos can be found in it's video URL. The video ID for the examples above are highlighted below in red:

http://www.dailymotion.com/video/xbzcff_yyyyyyyyyyshocking-alien-footage-2_tech

http://www.dailymotion.com/video/x89p0j_xtreme-bikini-4-grip-video_sport

Like before, put the video ID between the following bbcode (button: http://amkon.net/images/custom/dailymotion.gif) tags:

Continuing with the examples above, you would get:
xbzcff
or:
x89p0j

Your results would look like this:
xbzcff

or this:
x89p0j

Bitchkoma
01-28-2010, 06:47 PM
Vimeo

Example video URL 1:
http://www.vimeo.com/6409259
Example video URL 2:
http://www.vimeo.com/6428069

Like the examples before, the video ID for Vimeo videos can be found in it's video URL. The video ID for the examples above are highlighted below in red:

http://www.vimeo.com/6409259

http://www.vimeo.com/6428069

Like before, put the video ID between the following bbcode (button: http://amkon.net/images/custom/vimeo.gif) tags:

Continuing with the examples above, you would get:
6409259
or:
6428069

Your results would look like this:
6409259

or this:
6428069

Bitchkoma
01-28-2010, 06:47 PM
LiveLeak

Example video URL 1:
http://www.liveleak.com/view?i=9a3_1264630117

Example video URL 2:
http://www.liveleak.com/view?i=c45_1184967421

For LiveLeak, the video ID is also in the video URL, so you don't need to bother with the embed code. For the examples above, the video ID is highlighted below in red:


http://www.liveleak.com/view?i=9a3_1264630117

http://www.liveleak.com/view?i=c45_1184967421

Just put the video ID between the following bbcode (button: http://amkon.net/images/custom/liveleak.jpg) tags:
That's "LL", in case it's not very clear. Not the number eleven.

Continuing with the examples above, you would get:
9a3_1264630117
or:
c45_1184967421

Which yields the following:
9a3_1264630117

or:
c45_1184967421

Bitchkoma
01-28-2010, 06:47 PM
Metacafe

Example video URL 1:
http://www.metacafe.com/watch/3937489/2000s_decade_recap_science_and_space/

Example video URL 2:
http://www.metacafe.com/watch/3837196/ufo/

For Metacafe, the video ID is also in the video URL, so you don't need to bother with the embed code. For the examples above, the video ID is highlighted below in red:


http://www.metacafe.com/watch/3937489/2000s_decade_recap_science_and_space/

http://www.metacafe.com/watch/3837196/ufo/

Just put the video ID between the following bbcode (button: http://amkon.net/images/custom/metacafe.gif) tags:

Continuing with the examples above, you would get:
3937489/2000s_decade_recap_science_and_space
or:
3837196/ufo

Which yields the following:
3937489/2000s_decade_recap_science_and_space

or:
3837196/ufo



OKAY NOW WORSHIP THE GODDAMNED SEAL, BITCHES!

Lexion
01-28-2010, 08:29 PM
How can I embed pr0n vids from
sites ?

I'll use spoilers, I promise.

RubyRocket
01-28-2010, 08:31 PM
How can I embed pr0n vids from
sites ?

I'll use spoilers, I promise.
jesus man..get off the pc and go to the club.

Lexion
01-28-2010, 08:35 PM
jesus man..get off the pc and go to the club.

Or, you could just call me.

RubyRocket
01-28-2010, 08:59 PM
Or, you could just call me.
you wish ;)

Bitchkoma
01-28-2010, 11:42 PM
How can I embed pr0n vids from
sites ?

I'll use spoilers, I promise.

Not supported yet. The minute they've got conspiracy related shit at RedTube or TNAflix, I'll create the bbcode.

Lexion
01-29-2010, 12:19 AM
Ok, I'll look tomorrow.

anarch
01-29-2010, 01:58 AM
You know the vid in question wasn't any more porno graphic than Michelangelos David ya sex fiends.

Bitchkoma
01-29-2010, 02:01 AM
Who said the LiveLeak vid was porno? That's art, bro. And also incredibly delicious looking tatas. I'd so motorboat the shit out of that...

Hey has anyone heard from Boondock recently? What happened to that Manic Mofo?

anarch
01-29-2010, 02:02 AM
I have read his stuff... I'd like to meet him too... That would be the Arron mcgurrder Boondock would it?

Bitchkoma
02-05-2010, 05:47 PM
Just would like to let you folks know that you can actually embed youtube videos in such a way that it starts playing at a specific timestamp. See the updated instructions above (http://amkon.net/video-embedding-tutorial-t24630.html?p=336337#post336337) on how to do this.

skunk
07-23-2010, 07:09 AM
Bump.

pigswillfly
12-18-2010, 10:30 PM
How about incorporating this thread into the FAQ section, if it's not too much work. That's where I looked.

Lexion
12-18-2010, 10:32 PM
Work ?

From the mods ?

:lol:

BRIEF
02-06-2011, 06:07 PM
zfQlQjqE8XQ

skunk
02-06-2011, 08:23 PM
Pretty easy right?