Difference between revisions of "Add-on:YouTube"

From Official Kodi Wiki
Jump to: navigation, search
m (Addon-Bot repo category update)
Line 20: Line 20:
 
== Features ==
 
== Features ==
  
=== Integration with strm files ===
+
=== Integration with STRM files ===
Youtube streams can be integrated into the video library with [[Strm|strm files]].  
+
YouTube streams can be integrated into the video library with [[Strm|STRM files]].  
 
+
{| class="wikitable"
The syntax for a youtube-URL like <nowiki>https://www.youtube.com/watch?v=$VIDEOID</nowiki> or <nowiki>https://www.youtube.com/playlist?list=$PLAYLISTID</nowiki> in a strm file is<br />
+
!colspan="2"|Videos
 
+
|-
<code>plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=$VIDEOID</code>
+
!style="text-align:left;"|URL
 
+
|<nowiki>https://www.youtube.com/watch?v=$VIDEOID</nowiki>
<code>plugin://plugin.video.youtube/?path=/root/video&action=play_all&playlist=$PLAYLISTID</code>
+
|-
 
+
!style="text-align:left;"|STRM URL
 +
|<nowiki>plugin://plugin.video.youtube/play/?video_id=$VIDEOID</nowiki>
 +
|-
 +
!colspan="2"|Additional Parameters
 +
|-
 +
|style="text-align:left;"|&incognito=true
 +
|disables post play events (add to history, remove from watch later, etc.)
 +
|-
 +
|style="text-align:left;"|&screensaver=true
 +
|disables post play events and will not ask for quality
 +
|}
 +
{| class="wikitable"
 +
!colspan="2"|Playlists
 +
|-
 +
!style="text-align:left;"|URL
 +
|<nowiki>https://www.youtube.com/playlist?list=$PLAYLISTID</nowiki>
 +
|-
 +
!style="text-align:left;"|STRM URL
 +
|<nowiki>plugin://plugin.video.youtube/play/?playlist_id=$PLAYLISTID</nowiki>
 +
|-
 +
!colspan="2"|Additional Parameters
 +
|-
 +
|style="text-align:left;"|&play=1
 +
|required to start playback
 +
|-
 +
|style="text-align:left;"|&order=$ORDER
 +
|controls playlist order, $ORDER can be default, reverse, or shuffle.
 +
|-
 +
|style="text-align:left;"|&video_id=$VIDEOID
 +
|starts playback at $VIDEOID, order=shuffle does not apply if video_id is specified
 +
|}
  
 
== See also ==
 
== See also ==

Revision as of 17:47, 22 June 2018

YouTube

See this add-on on the kodi.tv showcase

Author: bromix
Website: link
Type: Video
Repo: Kodi.tv repo v19
Kodi.tv repo v18
Kodi.tv repo v17

License: GPL v2.0
Source: Source code
Summary: Plugin for YouTube
Home icon grey.png   ▶ Add-ons ▶ YouTube
Attention talk.png Need help with this add-on? See here.

YouTube is one of the biggest video-sharing websites of the world.

1 Installing

To install this add-on you must do so from the Add-on manager from within Kodi by going to

  1. The home screen
  2. Add-ons
  3. Download
  4. Video Add-ons
  5. YouTube
  6. Install

2 Features

2.1 Integration with STRM files

YouTube streams can be integrated into the video library with STRM files.

Videos
URL https://www.youtube.com/watch?v=$VIDEOID
STRM URL plugin://plugin.video.youtube/play/?video_id=$VIDEOID
Additional Parameters
&incognito=true disables post play events (add to history, remove from watch later, etc.)
&screensaver=true disables post play events and will not ask for quality
Playlists
URL https://www.youtube.com/playlist?list=$PLAYLISTID
STRM URL plugin://plugin.video.youtube/play/?playlist_id=$PLAYLISTID
Additional Parameters
&play=1 required to start playback
&order=$ORDER controls playlist order, $ORDER can be default, reverse, or shuffle.
&video_id=$VIDEOID starts playback at $VIDEOID, order=shuffle does not apply if video_id is specified

3 See also

3.1 Similar page names

Extension:DynamicPageList (DPL), version 2.3.0 : Warning: No results.