Rabu, 25 Januari 2012

Embed a Video

Embed a Video on the Wired How-To Wiki

From Wired How-To Wiki

Jump to: navigation, search
Adding video is a great way to help illustrate your How-To Wiki article. Here are some instructions.

Get a video

Right now, we can only offer the ability to embed YouTube videos. Start by searching YouTube for a How-To video that best illustrates the technique you're sharing. If YouTube doesn't have anything satisfactory, consider shooting a short video yourself using a camcorder, your computer's webcam or your point-and-shoot still camera (most of them have video capture capability nowadays). Upload the video to YouTube when you're done.
But, bottom line: The video must be hosted on YouTube.



Use our custom tag

YouTube provides some embed codes that you would normally use to place a video inside a blog post or elsewhere on the internet, but we don't need those. We use the video's ID string, which is in the URL:
http://www.youtube.com/watch?v=eGcYE4UMVIQ
In this case, the video ID is everything after the v= part, so:
eGcYE4UMVIQ
Make sure you only grab the video ID. There's often extra data after the ID string, like &feature=related or &feature=PlayList. You can just ignore those bits.
Take the ID and plug that in between a set of HTML-style "youtube" tags
<youtube>eGcYE4UMVIQ</youtube>
Put that line into your How-To and you'll see an embedded video, like so:


This page was last modified 19:27, 25 September 2008 by snackfight.

http://howto.wired.com/wiki/Embed_a_Video_on_the_Wired_How-To_Wiki

Tidak ada komentar:

Posting Komentar