Template talk:YouTube

From Dolphin Emulator Wiki
Jump to navigation Jump to search

Detecting Broken Videos

Would it be possible to detect when a broken link is used and add some category to pages with broken links? Currently the pane seems to load an all black preview image, not clear if there's meta-data allowing it to id'd as non-existent.Kolano (talk) 21:43, 29 May 2013 (CEST)

I think not, the thumbnail is generated by a parser function, so, whatever you put, the parser function will try to load a thumbnail based on what was specified when calling the function and won't give any feedback parameter/info that could be used to tag it as non-existant... Jhonn (talk)

YouTube Embed Options

Lately, I have been kind of disliking my uploads of File:Super Mario Galaxy Boss Roar Wrong.png and File:Super Mario Galaxy 2 Boss Roar Wrong.png because I don't think they are demonstrating the bug well. I wanted to use YouTube videos instead. The problem is that the videos are too long and start at 0:00 where the bug doesn't exist at that point. There is a solution to this problem and that is parameters for embedded YouTube videos. For example:

What do you guys think? Should the template be edited to allow for this? I tried to specify this in the existing template and it has errors. --Wildgoosespeeder (talk) 21:02, 23 November 2015 (CET)

As far as I searched, EmbedVideo extension allow including more parameters in its recent versions, but we're using version 1.0 where that's not possible. In other words, it's not just a matter of modifying the template, the extension needs to be updated first. I'll contact Parlane about that... - Jhonn (talk) 02:06, 24 November 2015 (CET)
Cool. That sounds good. --Wildgoosespeeder (talk) 03:15, 24 November 2015 (CET)
I think the EmbedVideo plug-in has been updated because now videos that are on pages display in 16:9 instead of the older 4:3. Should this template be updated to take advantage of the new parameters? --Wildgoosespeeder (talk) 21:25, 24 November 2015 (CET)
You can try, but the template may still need to be modified. Also please use {{VideoGallery}}, as we had purged out all the direct usage of these site specific templates a while ago. They probably should be purged out, but I was unclear if they were used under the covers of {{VideoGallery}}. Kolano (talk) 22:47, 24 November 2015 (CET)
I just copypasta from Sonic Adventure 2: Battle as someone else edited that in. Also I am unsure if the {{VideoGallery}} would break the one found in the Gameplay Videos section of each article. You will need to update the {{EmbedVideo}} documentation, {{YouTube}}, and {{VideoGallery}} code to allow for additional parameters. --Wildgoosespeeder (talk) 23:40, 24 November 2015 (CET)
Just a heads up, Parlane was super quick, in less than 10 minutes after I mailed him the extension were updated. About the new styling, AFAIK modifying {{YouTube}} and related templates is sufficient to reflect the changes in {{VideoGallery}}, gonna do that soon... - Jhonn (talk) 02:24, 25 November 2015 (CET)
Let me know if and when the optional parameters are working (rel, start, and end for example for YouTube URLs). I would edit it myself but seeing how this is an officially established and used template, not going to chance it. --Wildgoosespeeder (talk) 03:16, 25 November 2015 (CET)

Jhonn, I'd presume Wildgoosespeeder recent swap from {{YouTube}} to {{VideoGallery}} was related to my commentary above. In the past I had already swapped out almost all of the videos to use {{VideoGallery}}. That way there is only one template for end users to become familiar with. There are currently only 3 pages using {{YouTube}} that I must have missed being added since I had transitioned everything to {{VideoGallery}}. I'm unclear on your commentary there, currently in problem videos and video gallery videos are formatted in the same way. Did you have some plan to revise the formatting of the video gallery ones?

Here are the 3 pages using it:

Kolano (talk) 04:20, 25 November 2015 (CET)

That is correct Kolano. I was correcting my mistake. --Wildgoosespeeder (talk) 04:58, 25 November 2015 (CET)