Skip to content

Commit

Permalink
Merge branch 'release/v3.4.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
octfx committed May 4, 2024
2 parents 108cbb0 + 947b1c8 commit 3d81247
Show file tree
Hide file tree
Showing 36 changed files with 549 additions and 40 deletions.
43 changes: 23 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,26 +260,29 @@ or

As of version 3.x, EmbedVideo supports embedding video content from the following services:

| Site | Service Name(s) | ID Example | URL Example(s) |
|----------------------------------------------------------|---------------------------------|--------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
| [Archive.org Videos](https://archive.org/details/movies) | `archiveorg` | electricsheep-flock-244-80000-6 | https://archive.org/details/electricsheep-flock-244-80000-6<br/>https://archive.org/embed/electricsheep-flock-244-80000-6 |
| [Bandcamp](https://bandcamp.com/) | `bandcamp` | 1003592798 | https://emptyhousesmusic.bandcamp.com/album/empty-houses (Click on share/embed, and copy the id after `album=`) |
| [Bilibili](https://www.bilibili.com/) | `bilibili` | BV1Hz4y1k7ae | https://player.bilibili.com/player.html?bvid=1Hz4y1k7ae&amp;page=1 |
| [DailyMotion](https://dailymotion.com/) | `dailymotion` | x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms | http://www.dailymotion.com/video/x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms |
| [KakaoTV](https://tv.kakao.com/) | `kakaotv` | 301157950 | https://play-tv.kakao.com/embed/player/cliplink/301157950 |
| [Loom](https://www.loom.com/) | `loom` | e5b8c04bca094dd8a5507925ab887002 | https://www.loom.com/share/e5b8c04bca094dd8a5507925ab887002 |
| [NaverTV](https://tv.naver.com/) | `navertv` | 27831593 | https://tv.naver.com/embed/27831593 |
| [Niconico](http://nicovideo.jp/) | `niconico` | sm40807360 | https://embed.nicovideo.jp/watch/sm40807360 |
| SharePoint | `sharepoint` | Not Applicable | https://[SUB].sharepoint.com/sites/[PATH]/_layouts/15/embed.aspx?UniqueId=[ID]&embed=[...] |
| [SoundCloud](http://soundcloud.com/) | `soundcloud` | | https://soundcloud.com/skrillex/skrillex-rick-ross-purple-lamborghini |
| [Spotify](http://spotify.com/) | `spotifyalbum` - Art embed | 3B61kSKTxlY36cYgzvf3cP | https://open.spotify.com/album/3B61kSKTxlY36cYgzvf3cP |
| [Spotify](http://spotify.com/) | `spotifyartist` - Artist embed | 0YC192cP3KPCRWx8zr8MfZ | https://open.spotify.com/artist/0YC192cP3KPCRWx8zr8MfZ |
| [Spotify](http://spotify.com/) | `spotifytrack` - Song embed | 6ZFbXIJkuI1dVNWvzJzown | https://open.spotify.com/track/6ZFbXIJkuI1dVNWvzJzown |
| [Twitch](http://www.twitch.tv) | `twitch` - Live Streams | `twitchvod` - Archived Videos on Demand | twitchplayspokemon |
| [Vimeo](http://www.vimeo.com) | `vimeo` | 105035718 | http://vimeo.com/105035718 |
| [YouTube](http://www.youtube.com/) | `youtube` - Single Videos | pSsYTj9kCHE | https://www.youtube.com/watch?v=pSsYTj9kCHE |
| [YouTube](http://www.youtube.com/) | `youtubeplaylist` - Playlists | PLY0KbDiiFYeNgQkjujixr7qD-FS8qecoP | https://www.youtube.com/embed/?listType=playlist&list=PLY0KbDiiFYeNgQkjujixr7qD-FS8qecoP |
| [YouTube](http://www.youtube.com/) | `youtubevideolist` - Video List | pSsYTj9kCHE - urlargs=playlist=pSsYTj9kCHE,pSsYTj9kCHE | https://www.youtube.com/embed/pSsYTj9kCHE?playlist=pSsYTj9kCHE,pSsYTj9kCHE |
| Site | Service Name(s) | ID Example | URL Example(s) |
|----------------------------------------------------------|-------------------------------------|--------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
| [Archive.org Videos](https://archive.org/details/movies) | `archiveorg` | electricsheep-flock-244-80000-6 | https://archive.org/details/electricsheep-flock-244-80000-6<br/>https://archive.org/embed/electricsheep-flock-244-80000-6 |
| [Bandcamp](https://bandcamp.com/) | `bandcamp` | 1003592798 | https://emptyhousesmusic.bandcamp.com/album/empty-houses (Click on share/embed, and copy the id after `album=`) |
| [Bilibili](https://www.bilibili.com/) | `bilibili` | BV1Hz4y1k7ae | https://player.bilibili.com/player.html?bvid=1Hz4y1k7ae&amp;page=1 |
| [DailyMotion](https://dailymotion.com/) | `dailymotion` | x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms | http://www.dailymotion.com/video/x1adiiw_archer-waking-up-as-h-jon-benjamin_shortfilms |
| [KakaoTV](https://tv.kakao.com/) | `kakaotv` | 301157950 | https://play-tv.kakao.com/embed/player/cliplink/301157950 |
| [Loom](https://www.loom.com/) | `loom` | e5b8c04bca094dd8a5507925ab887002 | https://www.loom.com/share/e5b8c04bca094dd8a5507925ab887002 |
| [NaverTV](https://tv.naver.com/) | `navertv` | 27831593 | https://tv.naver.com/embed/27831593 |
| [Niconico](http://nicovideo.jp/) | `niconico` | sm40807360 | https://embed.nicovideo.jp/watch/sm40807360 |
| SharePoint | `sharepoint` | Not Applicable | https://[SUB].sharepoint.com/sites/[PATH]/_layouts/15/embed.aspx?UniqueId=[ID]&embed=[...] |
| [SoundCloud](http://soundcloud.com/) | `soundcloud` | | https://soundcloud.com/skrillex/skrillex-rick-ross-purple-lamborghini |
| [Spotify](http://spotify.com/) | `spotifyalbum` - Art embed | 3B61kSKTxlY36cYgzvf3cP | https://open.spotify.com/album/3B61kSKTxlY36cYgzvf3cP |
| [Spotify](http://spotify.com/) | `spotifyartist` - Artist embed | 0YC192cP3KPCRWx8zr8MfZ | https://open.spotify.com/artist/0YC192cP3KPCRWx8zr8MfZ |
| [Spotify](http://spotify.com/) | `spotifytrack` - Song embed | 6ZFbXIJkuI1dVNWvzJzown | https://open.spotify.com/track/6ZFbXIJkuI1dVNWvzJzown |
| [Spotify](http://spotify.com/) | `spotifyshow` - Podcasts / Shows | 7AWhoFQ3SIkEc6Yp1aOiIM | https://open.spotify.com/show/7AWhoFQ3SIkEc6Yp1aOiIM |
| [Spotify](http://spotify.com/) | `spotifyepisode` - Podcast episodes | 11mET6sr9ghOJ6mi4lmZmZ | https://open.spotify.com/episode/11mET6sr9ghOJ6mi4lmZmZ |
| [Twitch](http://www.twitch.tv) | `twitch` - Live Streams | `twitchvod` - Archived Videos on Demand | twitchplayspokemon |
| [Vimeo](http://www.vimeo.com) | `vimeo` | 105035718 | http://vimeo.com/105035718 |
| [Wistia](http://wistia.com) | `wistia` | 62svuailn2 | https://softwareag-2.wistia.com/medias/62svuailn2 |
| [YouTube](http://www.youtube.com/) | `youtube` - Single Videos | pSsYTj9kCHE | https://www.youtube.com/watch?v=pSsYTj9kCHE |
| [YouTube](http://www.youtube.com/) | `youtubeplaylist` - Playlists | PLY0KbDiiFYeNgQkjujixr7qD-FS8qecoP | https://www.youtube.com/embed/?listType=playlist&list=PLY0KbDiiFYeNgQkjujixr7qD-FS8qecoP |
| [YouTube](http://www.youtube.com/) | `youtubevideolist` - Video List | pSsYTj9kCHE - urlargs=playlist=pSsYTj9kCHE,pSsYTj9kCHE | https://www.youtube.com/embed/pSsYTj9kCHE?playlist=pSsYTj9kCHE,pSsYTj9kCHE |

### New Services
New services can be requested by using the following [link](https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/issues/new?assignees=&labels=enhancement&template=embed-service-request.md&title=Embed+Service+Request%3A+Service+Name) or clicking `New Issue`.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "starcitizenwiki/embedvideo",
"version": "3.4.1",
"version": "3.4.2",
"type": "mediawiki-extension",
"description": "Adds a parser function embedding video from popular sources.",
"license": "MIT",
Expand Down
5 changes: 2 additions & 3 deletions extension.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "EmbedVideo",
"version": "3.4.1",
"version": "3.4.2",
"author": [
"[https://www.mediawiki.org/wiki/User:Octfx Octfx]",
"[https://www.mediawiki.org/wiki/User:Alistair3149 Alistair3149]",
Expand All @@ -16,8 +16,7 @@
"requires": {
"MediaWiki": ">= 1.39.0",
"platform": {
"php": ">=8.0",
"ext-curl": "*"
"php": ">=8.0"
}
},
"MessagesDirs": {
Expand Down
47 changes: 47 additions & 0 deletions i18n/ar.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"@metadata": {
"authors": [
"Lolekek",
"محمد أحمد عبد الفتاح"
]
},
"embedvideo-description": "يضيف هذا الإصدار المتفرع ميزة تضمين مقاطع الفيديو من المصادر الشائعة للمحلل.",
"embedvideo-load": "تحميل $1",
"embedvideo-type-audio": "الصوت",
"embedvideo-type-content": "المحتوى",
"embedvideo-type-video": "الفيديو",
"embedvideo-consent-privacy-policy": "سياسة الخصوصية",
"embedvideo-consent-privacy-notice-text": "قد يقوم $1 بجمع البيانات الشخصية.",
"embedvideo-consent-privacy-notice-continue": "استمرار",
"embedvideo-consent-privacy-notice-dismiss": "تجاهل",
"embedvideo-service-archiveorg": "Archive.org",
"embedvideo-service-bilibili": "Bilibili",
"embedvideo-service-bandcamp": "Bandcamp",
"embedvideo-service-dailymotion": "Dailymotion",
"embedvideo-service-kakaotv": "KakaoTV",
"embedvideo-service-loom": "Loom",
"embedvideo-service-navertv": "NaverTV",
"embedvideo-service-niconico": "Niconico",
"embedvideo-service-soundcloud": "SoundCloud",
"embedvideo-service-sharepoint": "SharePoint",
"embedvideo-service-spotify": "Spotify",
"embedvideo-service-twitch": "Twitch",
"embedvideo-service-videolink": "وصلة الفيديو",
"embedvideo-service-vimeo": "Vimeo",
"embedvideo-service-wistia": "Wistia",
"embedvideo-service-youtube": "YouTube",
"embedvideo-service-localvideo": "ملف محلي",
"embedvideo-service-externalvideo": "فيديو خارجي",
"embedvideo-play": "تشغيل الفيديو",
"embedvideo-error-missingparams": "يفتقد EmbedVideo معلمة مطلوبة.",
"embedvideo-error-service": "لم يتعرف EmbedVideo على خدمة الفيديو \"$1\".",
"embedvideo-error-id": "تلقى EmbedVideo المعرف السيئ \" $2 \" للخدمة \" $1 \".",
"embedvideo-error-width": "تلقى EmbedVideo معلمة عرض سيئة \" $1 \".",
"embedvideo-error-height": "تلقى EmbedVideo معلمة ارتفاع سيئة \" $1 \".",
"embedvideo-error-alignment": "تم منح EmbedVideo قيمة غير مسموحة لمعلمة المحاذاة \" $1 \". القيم الصالحة هي \"left\" (يسار)، أو \"center\" (مركز) أو \"right\" (يمين).",
"embedvideo-error-valignment": "تم منح EmbedVideo قيمة غير مسموحة لمعلمة المحاذاة \" $1 \". القيم الصالحة هي \"top\" (أعلى)، أو \"middle\" (وسط)، أو \"bottom\" (أسفل)، أو \"baseline\" (خط الأساس).",
"embedvideo-error-urlargs": "تلقى EmbedVideo قائمة بوسائط URL التي تحتوي على بيانات مشوهة أو وسائط فارغة.",
"embedvideo-error-unknown": "واجه EmbedVideo خطًأغير معروف أثناء محاولة إنشاء كتلة تضمين الفيديو هذه. ($1)",
"embedvideo-error-evp_deprecated": "تم إهمال وظيفة المحلل اللغوي #evp في EmbedVideo 2.0. يرجى تحويل علامة وظيفة المحلل اللغوي إلى #ev.",
"apihelp-embedvideo-param-description": "وصف الفيديو"
}
18 changes: 18 additions & 0 deletions i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,24 @@
"embedvideo-consent-privacy-notice-text": "$1 sammelt möglicherweise persönliche Daten.",
"embedvideo-consent-privacy-notice-continue": "Fortfahren",
"embedvideo-consent-privacy-notice-dismiss": "Ausblenden",
"embedvideo-service-archiveorg": "Archive.org",
"embedvideo-service-bilibili": "Bilibili",
"embedvideo-service-bandcamp": "Bandcamp",
"embedvideo-service-dailymotion": "Dailymotion",
"embedvideo-service-kakaotv": "KakaoTV",
"embedvideo-service-loom": "Loom",
"embedvideo-service-navertv": "NaverTV",
"embedvideo-service-niconico": "Niconico",
"embedvideo-service-soundcloud": "SoundCloud",
"embedvideo-service-sharepoint": "SharePoint",
"embedvideo-service-spotify": "Spotify",
"embedvideo-service-twitch": "Twitch",
"embedvideo-service-videolink": "Video-Link",
"embedvideo-service-vimeo": "Vimeo",
"embedvideo-service-wistia": "Wistia",
"embedvideo-service-youtube": "YouTube",
"embedvideo-service-localvideo": "Lokale Datei",
"embedvideo-service-externalvideo": "Externes Video",
"embedvideo-play": "Video abspielen",
"embedvideo-error-missingparams": "EmbedVideo fehlt ein anzugebender Parameter.",
"embedvideo-error-service": "EmbedVideo erkennt den Videodienst „$1“ nicht.",
Expand All @@ -33,6 +50,7 @@
"embedvideo-video-long-desc": "$1, $2 Codec, Länge $3, $4x$5 Pixel, $6 insgesamt",
"embedvideo-audio-long-desc": "$1, $2 Codec, Länge $3, $4 insgesamt",
"embedvideo-error-cantdecode_evu": "Konnte das Video von $1 nicht analysieren",
"embedvideo-error-url-not-whitelisted": "Die bereitgestellte URL ist nicht in $wgAllowExternalImagesFrom festgelegt",
"apihelp-embedvideo-summary": "Ermittelt den generierten Videoeinbettungscode für die angegebenen Parameter.",
"apihelp-embedvideo-param-service": "Name des Dienstes (youtube, twitch etc.)",
"apihelp-embedvideo-param-id": "Die ID des Videos für diesen Dienst",
Expand Down
1 change: 1 addition & 0 deletions i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"embedvideo-service-twitch": "Twitch",
"embedvideo-service-videolink": "Video Link",
"embedvideo-service-vimeo": "Vimeo",
"embedvideo-service-wistia": "Wistia",
"embedvideo-service-youtube": "YouTube",
"embedvideo-service-localvideo": "Local File",
"embedvideo-service-externalvideo": "External Video",
Expand Down
15 changes: 15 additions & 0 deletions i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,22 @@
"embedvideo-consent-privacy-notice-text": "$1 podría recabar datos personales.",
"embedvideo-consent-privacy-notice-continue": "Continuar",
"embedvideo-consent-privacy-notice-dismiss": "Descartar",
"embedvideo-service-archiveorg": "Archive.org",
"embedvideo-service-bilibili": "Bilibili",
"embedvideo-service-bandcamp": "Bandcamp",
"embedvideo-service-dailymotion": "Dailymotion",
"embedvideo-service-kakaotv": "KakaoTV",
"embedvideo-service-loom": "Loom",
"embedvideo-service-navertv": "NaverTV",
"embedvideo-service-niconico": "Niconico",
"embedvideo-service-soundcloud": "SoundCloud",
"embedvideo-service-sharepoint": "SharePoint",
"embedvideo-service-spotify": "Spotify",
"embedvideo-service-twitch": "Twitch",
"embedvideo-service-videolink": "Enlace del video",
"embedvideo-service-vimeo": "Vimeo",
"embedvideo-service-wistia": "Wistia",
"embedvideo-service-youtube": "YouTube",
"embedvideo-service-externalvideo": "Video external",
"embedvideo-play": "Reproducir",
"embedvideo-error-missingparams": "EmbedVideo; falta un parámetro requerido.",
Expand Down
Loading

0 comments on commit 3d81247

Please sign in to comment.