How To Embed Video In Articles

From Artist Organized Art

Jump to: navigation, search
  • Here are 3 Ways to Embed Media

1. Copy and paste html code in pairs

Familiar Example (To avoide the YouTube search bar, customize the embed code when you choose it from YouTube for no related videos or just add "&rel=0" to the url in the embed tag as below: YouTube

Pasted code for the above video
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/7KKE0f1FGiw&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/7KKE0f1FGiw&hl=en&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>


You can also just copy the embed tags and leave out the object and param tags like so: (its almost always exactly the same result)


YouTube

Pasted code for the above video
<embed src="http://www.youtube.com/v/7KKE0f1FGiw&hl=en&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed>


Quick Hack!!

*If your html comes without pairs fix it and paste it like so:


without pairs
<embed src="http://www.youtube.com/v/7KKE0f1FGiw&hl=en&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355" />


Just delete the " />" and close the tag with ">" then add a seperate closing tag such as </embed>... you end up with


fixed to with pairs
<embed src="http://www.youtube.com/v/7KKE0f1FGiw&hl=en&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed>

2. Copy and paste javascript

*For safety reasons this type of embed is prohibited on the normal wiki pages.

Pasted code for the above video
<script type="text/javascript" src="http://en.sevenload.com/pl/Q4p7sd2/500x408"></script>

3. Use our Wiki's Video Services Embed codes:

Manually type in these shorthand codes that exist between doubled brackets {{ }}


**This works in wiki articles pages, use the above methods for the user profile and user board pages.


Example format:

  • {{#ev:service|id}}

-or-

  • {{#ev:service|id|width}}

Where:

  • service is the name of a video sharing service.
  • id is the id of the video to include
  • width (optional) is the width in pixels of the viewing area (height will be determined automatically)

Examples

YouTube

How to type code for this video to appear:
{{#ev:youtube|lD5Fj2QTtpI}}


YouTube

How to type code for this video to appear:
{{#ev:youtube|lD5Fj2QTtpI|250}}


Google Video

How to type code for this video to appear:
{{#ev:googlevideo|1517283975905058346}}


Revver

How to type code for this video to appear:
{{#ev:revver|741191|300}}

Personal tools
Toolbox