Template talk:YouTube: Difference between revisions

From Dolphin Emulator Wiki
Jump to navigation Jump to search
Line 5: Line 5:
== YouTube Embed Options ==
== 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 [https://developers.google.com/youtube/player_parameters parameters for embedded YouTube videos]. For example:
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 [https://developers.google.com/youtube/player_parameters parameters for embedded YouTube videos]. For example:


* https://www.youtube.com/embed/_WK7eWBoAqA?start=362&end=370
* https://www.youtube.com/embed/_WK7eWBoAqA?start=362&end=370&rel=0
* https://www.youtube.com/embed/KELFYCIJrM4?start=13&end=20
* https://www.youtube.com/embed/KELFYCIJrM4?start=13&end=20&rel=0


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. --[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 21:02, 23 November 2015 (CET)
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. --[[User:Wildgoosespeeder|Wildgoosespeeder]] ([[User talk:Wildgoosespeeder|talk]]) 21:02, 23 November 2015 (CET)

Revision as of 00:47, 25 November 2015

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)