Fullscreen
Loading...
 
[Show/Hide Right Column]

PluginYouTube

This Wiki Plugin is an adaptation of the PluginFlash.

Parameters

Required parameters are in bold
Preferences required: wikiplugin_youtube
Parameters Accepted Values Description Default Since
movie url Entire URL to the YouTube video or last part (after www.youtube.com/v/ and before the first question mark)
width digits Width in pixels 425
height digits Height in pixels 350
quality high
medium
low
Quality of the video. Default is high. high
allowFullScreen y
n
Enlarge video to full screen size
related y
n
Show related videos (shown by default) 6.1
background HTML color code, e.g. ffffff Toolbar background color. Use an HTML color code. Example: ffffff 6.1
border HTML color code, e.g. ffffff Toolbar border colors. Use an HTML color code. Example: ffffff 6.1



Example

To add a YouTube video in a wiki page, forum post, blog post, use the YOUTUBE plugin like this:

Image
{YOUTUBE(movie=G1TuB5P4Ypw,width=>425,height=>350,quality=>high, allowFullScreen=y)}{YOUTUBE}

It will generate:
Flash player not available.


You can also use the plugin FLASH PluginFlash to be able to use more parameters.

For example, to embed a YouTube playlist, get the embed URL from YouTube, remove the "PL" at the front of the video ID, then in Tiki editor, click the "flash" icon, select Flash Type: Movie URL, then enter the URL as http://www.youtube.com/p/25DD9663EE128030:
Image
{flash type="url" movie="http://www.youtube.com/p/25DD9663EE128030"}


Close
tipTip
Make sure you use the URL which looks like /v/wWmE6Zvo37E and not like watch?v=UmAfQ-GgtCQ

See these pages for information that applies for all modules:

Contributors to this page: petjal468 points  , lindon137 points  , sylvie7387 points  , Marc Laporte9146 points  , admin and mlpvolt4388 points  .
Page last modified on Friday 02 March, 2012 20:45:45 UTC by petjal468 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki