Template talk:YouTube

What does this do exactly? EmbedVideo does more than just youtube. Does this make it easier? You didn't exactly put alot of documentation... - MaJoR (talk) 00:48, 5 November 2012 (CET)
 * Ninja'd. Nice work on the documentation. One comment though. Can you add an example of the completed code, start to finish, as it would appear on the page? It would help make it a little clearer to see it all together in code form. - MaJoR (talk) 00:53, 5 November 2012 (CET)
 * I'll update when I have more free time... For now, div clear must be put only after the latest video. See source code of 1080° Avalanche to see the proper usage with multiple videos - Jhonn (talk)

I went on ahead and updated Xenoblade Chronicles. I was going to ask if you think having tons and tons of thumbnails was an issue. But uh, while doing it, I have a weird problem. At my laptop's resolution (1366x768), it messes up the thumbnail spacing. Does it happen for you? Apparently it's a problem with the template, cause when I used the old embedvideo style, it worked correctly. Check the sandbox. - MaJoR (talk) 09:30, 5 November 2012 (CET)
 * Figured out. In the sandbox, the alignment issue occur when the video title have more than two lines. Using embedvideo style, everything appears fine because the title are only one line. I can reproduce the issue even with embedvideo style if I link the video URL with the title or if i add garbage on the title to make the first and second videos title bigger than 2 lines... I'll see what I can do regarding this - Jhonn (talk)
 * Ok, isn't a simple issue. For now, the only workaround I have found is putting a  after the video that cause the issue (in case of Xenoblade, the third video)... - Jhonn (talk)
 * Related to the heights, we either need to pad the height to keep 2/3 line entries the same height as 1 line ones, or trim the titles to fit 1 line. I can try to work out some CSS magic to do that. - Kolano (talk) 20:40, 8 November 2012 (CET)
 * Where would you implement the CSS style? The "final" output is entirely handled by the wiki plugin itself, I'm unsure if we can edit it's style without changing the plugin source. It wouldn't be hard, but I think only Parlane have access to the server-side - Jhonn (talk)
 * I haven't looked at the output in detail, but had hoped there may be a id or class that would enable easier styling. At the worst case in a div tag surrounding the embed (i.e. we add a little bubble container, with consistent height to each video. Thinking about how to avoid unnecessary gaps for video sets that don't use the space though).
 * So, we're lucky. There is a div with the class "thumbcaption" that we can inject the CSS code. Apparently it's used for images thumbnails too, so, if we have a hybrid media gallery (with videos and images), we can make caption size fixed to two lines only (seems reasonable for me), and then, truncate the rest. In MediaWiki:Common.css you'll probably find CSS style defined for this class, so, the editing wouldn't be hard... - Jhonn (talk)
 * Text now get automatically truncated after the first line, even on Template:Image - Jhonn (talk)
 * The issue with handling  may be better handled by a parameter. If an optional 4th parameter is specified the template would output the clear div post the embed. How's that sound? Then the instructions would simplify to, if yours is the last video in a list include the fourth parameter. - Kolano (talk) 20:40, 8 November 2012 (CET)
 * Really liked this... I'll update the template and documentation to get the 3th parameter soon (already updated), I'm still working in a way to randomize 3 videos and add the others as links, as you suggested in Project:General Discussions - Jhonn (talk)

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)