YouTube: Difference between revisions

3,583 bytes added ,  8 September 2024
(remove autoszie)
Line 5: Line 5:


{{Official URL|text=youtube.com|url=https://www.youtube.com/}}
{{Official URL|text=youtube.com|url=https://www.youtube.com/}}
== Functions ==
=== Service ===
EmbedVideo supports embedding video content from the following <code>service</code>:
{| class="wikitable"
!Site
!Service Name(s)
!ID Example
! URL Example(s)
|-
|Archive.org Videos
|<code>archiveorg</code>
|electricsheep-flock-244-80000-6
|https://archive.org/details/electricsheep-flock-244-80000-6<nowiki/>https://archive.org/embed/electricsheep-flock-244-80000-6
|-
|[https://www.bilibili.com/ Bilibili]
|<code>bilibili</code>
|BV1Hz4y1k7ae
|https://player.bilibili.com/player.html?bvid=1Hz4y1k7ae&amp;page=1
|-
|[https://tv.kakao.com/ KakaoTV]
|<code>kakaotv</code>
|301157950
|https://play-tv.kakao.com/embed/player/cliplink/301157950
|-
|[https://tv.naver.com/ NaverTV]
|<code>navertv</code>
|27831593
| https://tv.naver.com/embed/27831593
|-
|[http://nicovideo.jp/ Niconico]
|<code>niconico</code>
|sm40807360
|https://embed.nicovideo.jp/watch/sm40807360
|-
|[http://soundcloud.com/ SoundCloud]
|<code>soundcloud</code>
|
|https://soundcloud.com/skrillex/skrillex-rick-ross-purple-lamborghini
|-
|[http://spotify.com/ Spotify]
|<code>spotifyalbum</code> - Art embed
|3B61kSKTxlY36cYgzvf3cP
|https://open.spotify.com/album/3B61kSKTxlY36cYgzvf3cP
|-
|[http://spotify.com/ Spotify]
|<code>spotifyartist</code> - Artist embed
|0YC192cP3KPCRWx8zr8MfZ
|https://open.spotify.com/artist/0YC192cP3KPCRWx8zr8MfZ
|-
|[http://spotify.com/ Spotify]
|<code>spotifytrack</code> - Song embed
|6ZFbXIJkuI1dVNWvzJzown
|https://open.spotify.com/track/6ZFbXIJkuI1dVNWvzJzown
|-
|[http://www.twitch.tv/ Twitch]
|<code>twitch</code> - Live Streams
|<code>twitchvod</code> - Archived Videos on Demand
|twitchplayspokemon
|-
|[http://www.vimeo.com/ Vimeo]
|<code>vimeo</code>
|105035718
|http://vimeo.com/105035718
|-
|[http://www.youtube.com/ YouTube]
|<code>youtube</code> - Single Videos
|pSsYTj9kCHE
|https://www.youtube.com/watch?v=pSsYTj9kCHE
|-
|[http://www.youtube.com/ YouTube]
|<code>youtubeplaylist</code> - Playlists
|PLY0KbDiiFYeNgQkjujixr7qD-FS8qecoP
|https://www.youtube.com/embed/?listType=playlist&list=PLY0KbDiiFYeNgQkjujixr7qD-FS8qecoP
|-
|[http://www.youtube.com/ YouTube]
|<code>youtubevideolist</code> - Video List
|pSsYTj9kCHE - urlargs=playlist=pSsYTj9kCHE,pSsYTj9kCHE
|https://www.youtube.com/embed/pSsYTj9kCHE?playlist=pSsYTj9kCHE,pSsYTj9kCHE
|}
=== ID ===
<code>id</code> are typically the special characters in the URL that related specifically to the video.
=== Dimensions ===
<code>dimensions</code> options include:
=== Alignment ===
<code>alignment</code> options include:
=== Description ===
<code>description</code> options include:
=== Container ===
<code>container</code> is to how media, especially videos, are embedded or wrapped within a page.
=== Urlargs ===
When embedding videos, especially from services like YouTube, you might want to customize how the video plays or looks. <code>urlargs</code> allows you to pass additional parameters to the video service through the URL. For instance, you might want to start the video at a specific time, enable or disable certain video player features, or even customize the video's appearance.
=== Autoresize ===
<code>autoresize</code> is a feature or parameter that automatically adjusts the dimensions of the embedded video to fit within its container or the available space on the page. It ensures that the video player scales to fit the space provided without needing manual adjustments. This is particularly useful in wikis where content might be viewed on various devices with different screen sizes or where the layout might change due to edits or different themes.


== Saintapedia ==
== Saintapedia ==