Difference between revisions of "Meta:Create YouTube playlists on-the-fly with semantic queries"

From protonation
Jump to navigation Jump to search
(Νέα σελίδα με '{{under construction}} It is easy to create a YouTube playlist from a query. All you need is the (upgraded) Widget:YouTube from the MediaWiki Widgets extension. ==...')
(No difference)

Revision as of 01:03, 23 May 2020

VLC.svg Under construction

This page is under construction.


It is easy to create a YouTube playlist from a query. All you need is the (upgraded) Widget:YouTube from the MediaWiki Widgets extension.

Rationale

YouTube allows the creation of playlists on the fly, i.e. without even logging in, just from the URL. All you need to do is provide the URL with a comma separated list of the video IDs you want to play sequentially.

The URL must have the following form:

https://www.youtube.com/watch_videos?video_ids=ID1,ID2,etc

Think of the above not so much as a URL but rather as a command to YouTube to create a playlist. When YouTube receives this "command" it automatically creates a playlist, as if it was created by a user, and then assigns it a playlist ID as well, which is permanent. Then it redirects you to a "proper" YouTube playlist URL.

For example, if you click this URL:

https://www.youtube.com/watch_videos?video_ids=ntpt0fq3Jn8,iZ9vkd7Rp-g,L4GrDOOIIbk

you will be redirected to this URL:

https://www.youtube.com/watch?v=ntpt0fq3Jn8&list=TLGGUeJrTjDLyMgyMjA1MjAyMA

where

Yeah, but how do I embed this?