History: PluginYouTube
Preview of version: 18
PluginYouTube
This Wiki Plugin is an adaptation of the PluginFlash to display a youtube video on a wiki page. To display a play list of videos, you can use instead: Module last_youtube_playlist_videos.
Parameters
Embed a YouTube video in a pageIntroduced in Tiki 2. Required parameters are in
bold
.Go to the source code
Preferences required: wikiplugin_youtube
Parameters | Accepted Values | Description | Default | Since |
---|---|---|---|---|
movie |
url | Complete URL to the YouTube video or last part (after www.youtube.com/v/ and
before the first question mark) |
2.0 | |
start |
digits | Start time offset in seconds | 0 | |
height |
digits | Height in pixels Default :350 |
350 | 2.0 |
privacyEnhanced |
(blank) y n |
Enable privacy-enhanced mode | ||
width |
digits | Width in pixels. Default :425 |
425 | 2.0 |
allowFullScreen |
(blank) y n |
Enlarge video to full screen size | 5.0 | |
background |
Toolbar background color. Use an HTML color code. Example: ffffff |
6.1 | ||
border |
Toolbar border colors. Use an HTML color code. Example: ffffff |
6.1 | ||
quality |
(blank) high medium low |
Quality of the video. Default is high . |
high | 2.0 |
related |
(blank) y n |
Show related videos (shown by default) | 6.1 |
Note : You can add using the url parameters a lot more of parameters like autoplay, show control, etc. Complete list at Youtube
Show a video
To add a YouTube video in a wiki page, forum post, blog post, use the YOUTUBE plugin like this:
{YOUTUBE(movie=G1TuB5P4Ypw,width=>425,height=>350,quality=>high, allowFullScreen=y)}{YOUTUBE}
It will generate:
You can also use the plugin FLASH PluginFlash to be able to use more parameters.
Show a playlist
For example, to embed a YouTube playlist, can use the Module last_youtube_playlist_videos.
Or you can 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:
{flash type="url" movie="http://www.youtube.com/p/25DD9663EE128030"}
Related Pages
See these pages for information that applies for all modules:
- Module — Overall introduction and overview
- Module Admin — Introduction to the module admin pages for site-wide and individual module settings
- Assigning Modules — How to select a module to configure it
- Module Settings Interface — Interface for configuring individual module settings
- Module Settings Parameters — Explanation of standard parameter settings for modules
- Creating Custom Modules — How to create user modules
- Index of Modules — Links to the documentation of individual modules
- User Modules — How (if the feature is active) users can choose and place their modules
- Mods Type Modules — Links to modules that are installed as components
- PluginBlipTV
- PluginMediaPlayer
- PluginVimeo
- PluginWatershed