Youtube plugin

Description

This plugin allows to choose youtube.com video. In the settings you can choose source of displayed videos (standart channel, user chanel, user favorites etc.) and the way how it is inserted to article.

This plugin was first presented in n3tTemplate 1.7.0.


Usage

Most common usage would be displaying youtube video in the article in some way. Plugin can produce link to video, image preview of video or code for popular AllVideos plugin.


General Settings

Source

Select the source of videos

  • Standard feed - One of the standard feeds (see the next settings) will be used to display videos. This option is effected by other settings and can be limited to Region and/or Category.
  • User uploads - User (channel) uploaded videos (select user in the next settings)
  • User favorites - User (channel) fovorites videos (select user in the next settings)
  • Playlist - Playlist videos (select playlist in the next settings)

Standard feed

Select which standard feed to use, if standard feed is chosen in Source option

  • Top rated - This feed contains the most highly rated YouTube videos.
  • Top favorites - This feed contains videos most frequently flagged as favorite videos.
  • Most viewed - This feed contains the most frequently watched YouTube videos.
  • Most shared - This feed lists the YouTube videos most frequently shared on Facebook and Twitter. This feed is available as an experimental feature.
  • Most popular - This feed contains the most popular YouTube videos, selected using an algorithm that combines many different signals to determine overall popularity.
  • Most recent - This feed contains the videos most recently submitted to YouTube.
  • Most discussed - This feed contains the YouTube videos that have received the most comments.
  • Most responded - This feed contains YouTube videos that receive the most video responses.
  • Recently featured - This feed contains videos recently featured on the YouTube home page or featured videos tab.
  • Trending videos - This feed lists trending videos as seen on YouTube Trends, which surfaces popular videos as their popularity is increasing and also analyzes broader trends developing within the YouTube community. This feed is available as an experimental feature.

Region

Allows to limit Standard feed to specific region.

Category

Allows to limit Standard feed to specific category.

User

Specify username (channel name) to use, when User uploads or User favorites is selected in Source option. Username could be identified for example from url of the channel homepage (www.youtube.com/user/username).

Playlist

Specify playlist ID to use, when Playlist is selected in Source option. This could be identified for example from URL address of playlist. It should be the data string behind the last slash.

Maximal count

Maximal videos displayed. Empty value means that the limit will be taken default youtube API limit (25 when writing this manual).

Format

Choose if you want to limit displayed videos to one format. If other value than All is selected, only videos supporting chosen format will be displayed.

Select which standard feed to use, if standard feed is chosen in Source option

  • All - Display all videos regardless format it support.
  • H.263 - RTSP streaming URL for mobile video playback. H.263 video (up to 176x144) and AMR audio.
  • SWF - Embeddable player. This format is not available for a video that is not embeddable.
  • MPEG-4 SP - RTSP streaming URL for mobile video playback. MPEG-4 SP video (up to 176x144) and AAC audio.

Output Settings

Output

This setting influence the way selected file is inserted into the article.

  • Text link - Text link to video page will be inserted into the article. As text will be used name of the video.
  • Big preview - Image link, using the big preview image file will be inserted into the article.
  • Small preview - Image link, using the small preview image file will be inserted into the article.
  • Plugin - JW AllVideos - Code for AllVideos plugin will be inserted.
  • Custom - Selected video will be inserted into the article using the definition in the Custom code field.

Custom code

Specify the cutom code to insert into the article. Use any HTML code. Following occurances will be replaced

  • %ID% - ID of the selected video.
  • %TITLE% - Title of the selecetd video.
  • %DESCRIPTION% - Description of the selected video.
  • %PLAYER% - SWF video player.
  • %CONTENT_1% - Link to H.263 video format
  • %CONTENT_5% - Link to SWF video player format.
  • %CONTENT_6% - Link to MPEG-4 SP video format.
  • %THUMBNAIL_HQDEFAULT% - Thumbnail of video in High quality.
  • %THUMBNAIL_HQDEFAULT_WIDTH% - HQ thumbnail width.
  • %THUMBNAIL_HQDEFAULT_HEIGHT% - HQ thumbnail height
  • %THUMBNAIL_DEFAULT% - Default thumbnail of the video.
  • %THUMBNAIL_DEFAULT_WIDTH% - Default thumbnail width.
  • %THUMBNAIL_DEFAULT_HEIGHT% - Default thumbnail height.
  • %THUMBNAIL_POSTER% - Thumbnail of the video in poster size.
  • %THUMBNAIL_POSTER_WIDTH% - Poster thumbnail width.
  • %THUMBNAIL_POSTER_HEIGHT% - Poster thumbnail height.
  • %THUMBNAIL_START% - Thumbnail from the beginning of the video.
  • %THUMBNAIL_START_WIDTH% - Start thumbnail width.
  • %THUMBNAIL_START_HEIGHT% - Start thumbnail height.
  • %THUMBNAIL_MIDDLE% - Thumbnail from the beginning of the video.
  • %THUMBNAIL_MIDDLE_WIDTH% - Middle thumbnail width.
  • %THUMBNAIL_MIDDLE_HEIGHT% - Middle thumbnail height.
  • %THUMBNAIL_END% - Thumbnail from the end of the video.
  • %THUMBNAIL_END_WIDTH% - End thumbnail width.
  • %THUMBNAIL_END_HEIGHT% - End thumbanil height.