I tried to use it with Archive.org media files . But it is not working
Extension talk:YouTube
Appearance
Using <aoaudio></aoaudio> for audio files seems to work fine. However. <aovideo></aovideo> doesn't work at all. A workaround is to use the aoaudio-tags for videos as well, which for whatever reason works. You just can't adjust the aspect ration.
FYI Miraheze and WikiForge appears to be running old forks of this extension at https://github.com/miraheze/youtube and https://github.com/WikiForge/youtube. No idea why this is but it should be noted and we may want to update the page accordingly.
Is there a way to, using this extension, create a gallery of video thumbnails? (I tried to link to a Wikia page to provide an example of what I want, but the stupid spam filter detected it as spam.)
Try not add https://
Okay, let's see: http://vsrecommendedgames.fandom.com/wiki/Amiga#Videos
It uses <gallery> tag and does not need any extensions.
I just made some here special:permalink/3211980
Well, you did it with video files from the Commons. What I had in mind, as in my example, is a gallery of embedded YouTube videos. And this, I can't get to work.
You simply copy the URL then post it in Special:Videos, where after the video is put on the wiki, you type in the name of the video and put it in the gallery.
I am looking for exact same use case as described by @Stormwatch. Can you please clarify your comment above?
1/ Is the page Special:Videos created by this YouTube extension? I dont have this extension and I dont have this special page either. Got a bit confused because @94rain said no extension is needed to achieve this capability.
2/ When you add youtube video link to the Special:Videos, it will not upload the video file to my wiki installation, right? I want video files to stay in youtube and not bloat storage in my wiki. If I am understanding you correctly, you are saying that it will simply assign a name to the youtube video and then I can use that name in the thumbnail? Example above uses File:* format to link thumbnails to vides. If it is just the name on my wiki and not actual file, then you would you chnage code below?
File:Gulenie-MP4.ogv|Baby
3/ Is this all compatible with MW's built feature to link thumbnail to a separate MW page?
File:Gulenie-MP4.ogv|Baby|link=MediaWiki
What I am trying to do is have a thumbnail gallery of videos. Clicking on thumbnails will take me to another MW page. In that MW page, I would have youtube video embedded at top and have some text descirption at the bottom. I dont want video file upload on my wiki. It needs to stay on youtube.
Any help/pointers, greatly appreciated. Thanks!
Only thumbnails? Enter the video link/code, as in i.ytimg.com/vi/[CODE]/[? (mg, hq, sd, maxres][default, 1, 2, 3].jpg
For video-thumbnail links to MW pages, do this:
<gallery>
VideoThumbnail1.png|Caption|link=Random Page
VideoThumbnail2.png|Caption|link=Random Page
VideoThumbnail2.png|Caption|link=Random Page
</gallery>
The images have to be formatted in a file format like png or jpg.
This post was hidden by Commuter3 (history)
This post was hidden by Commuter3 (history)
you can download preview of video from youtubethumbnaildownloaderonline.com/?id=t0Q2otsqC4I
also download preview using browser extension from addons.mozilla.org/en-US/firefox/addon/thumbnail-downloader-online-hd/
Can I insert youtube Videos with the help of the visual editor?
I embeded a YouTube video here and it appears the frame is leaning too much towards left. A suggestion is that it be made by default centric and alignment commands be allowed.
How to set maximum width in per cent for mobile view?
I found following solution (to MediaWiki:Mobile.css):
@media screen and (max-width: 750px) { iframe { max-width: 100% !important; width: auto !important; height: auto !important; } }
It works with images too, so no additional limitations needed.
Doesn't appear to work in WMAU skin's mobile view? @Samwilson, do you happen to have any ideas?
@TheAafi: Setting iframe{ max-width:100%; <nowiki>}</nowiki>
works in my testing. Possibly this is a change that the YouTube extension should make, rather than adding special handling in the WMAU skin.
All of my embeded videos started showing this statement"Provided ID could not be validated." in place of the preview that was there previously.
Found if you add the /youtu.be in the tag
<youtube>/youtu.be/x-XXxXXxxxX</youtube>
you get a frame with a button to Load the Video and then caution you about YouTube collecting personal information
Is there a way to go back to the preview?
Google PageSpeed Insights says too late on process embed YouTube in my site.
This extension has $wgYouTubeEnableLazyLoad option but using non-standard technique.
So, I make a simple patch to append loading="lazy" on <iframe>
.
patch→ https://kimagurenote.net/file/YouTube-1.9.3_lazyloading.patch
see details in Japanese 日本語の説明はこちら
Please test it if you were in trouble because of SEO.
Thank you.
When you insert a video from youtube it is created aligned left
Is it possible to align it to the middle of the page?
I would like to have the ability to use a custom YouTube URL, for example, to adopt the "YouTube nocookie" domain or an Invidious instance.
Also it could be nice to add a cute Phabricator tag to track this stuff. Do you like this idea?
I would consider using this extension too, if it could serve the video from youtube-nocookie.com
instead of youtube.com
. Any chance this can be implemented?