User talk:Kogoro/7: Difference between revisions

Line 177: Line 177:
::::The YouTube user links are still broken. For Google+ channels, it should be <code>youtube.com/channel/<channellink></code>, and for older accounts (with actual names in the URLs) it should be <code>youtube.com/user/<username></code>. Currently, it's using <code>youtube.com/<username></code>, which usually works for older accounts (not sure if it fails for some of them though), but does not work for Google+ channels. [http://bulbanews.bulbagarden.net/w/index.php?title=Template:YouTubeVid&diff=55824&oldid=52526 Here] is the fix I did on Bulbanews, if you're interested in implementing it that way. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 13:41, 29 August 2015 (UTC)
::::The YouTube user links are still broken. For Google+ channels, it should be <code>youtube.com/channel/<channellink></code>, and for older accounts (with actual names in the URLs) it should be <code>youtube.com/user/<username></code>. Currently, it's using <code>youtube.com/<username></code>, which usually works for older accounts (not sure if it fails for some of them though), but does not work for Google+ channels. [http://bulbanews.bulbagarden.net/w/index.php?title=Template:YouTubeVid&diff=55824&oldid=52526 Here] is the fix I did on Bulbanews, if you're interested in implementing it that way. --[[User:SnorlaxMonster|<span style="color:#A70000">'''Snorlax'''</span>]][[User talk:SnorlaxMonster|<span style="color:#0000A7">'''Monster'''</span>]] 13:41, 29 August 2015 (UTC)
:::::Well, you could just add "channel/" yourself but, since you mentioned this, then don't forget that there is a third channel ID URL type, <code>youtube.com/c/<anything></code>. The best solution is to drop the pointless names from the template altogether since they try to solve a problem that doesn't exist. "YouTubeVid" just needs to be fixed and EmbedVideo doesn't have to be replaced with the YouTube widget. [https://i.imgur.com/8UNKH8n.png Here's how my template looks on mobile Bulbapedia, by the way.] Also, there will always be loading issues if a page has too many embedded videos, regardless of template, extension, or widget. [[User:SatoMew2|SatoMew2]] ([[User talk:SatoMew2|talk]]) 15:43, 29 August 2015 (UTC)
:::::Well, you could just add "channel/" yourself but, since you mentioned this, then don't forget that there is a third channel ID URL type, <code>youtube.com/c/<anything></code>. The best solution is to drop the pointless names from the template altogether since they try to solve a problem that doesn't exist. "YouTubeVid" just needs to be fixed and EmbedVideo doesn't have to be replaced with the YouTube widget. [https://i.imgur.com/8UNKH8n.png Here's how my template looks on mobile Bulbapedia, by the way.] Also, there will always be loading issues if a page has too many embedded videos, regardless of template, extension, or widget. [[User:SatoMew2|SatoMew2]] ([[User talk:SatoMew2|talk]]) 15:43, 29 August 2015 (UTC)
::::::Here's the code for my template, in case you decide to fix "YouTubeVid", which would be the best call (I don't want my userspace edits to be merged with mainspace): <nowiki><div>{{#ev:youtube|{{{1|1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}}}</div></nowiki>. Parameter 1 is the ID, 2 is for the dimensions, 3 is for alignment, 4 is for descriptions, and 5 is for wrapping the video player in a MediaWiki thumbnail box using <code>frame</code> ([https://www.mediawiki.org/wiki/Extension:EmbedVideo#Attributes_for_Parser_Tags source]). In a way, it's like what we do with images. [[User:SatoMew2|SatoMew2]] ([[User talk:SatoMew2|talk]]) 16:34, 29 August 2015 (UTC)


== Vector skin ==
== Vector skin ==
5,655

edits