Video Template talk:YouTube
Request/question proposed June 2016 (Official channel on YouTube).
I would suggest to explain how to use the syntax to get a simple Official channel on YouTube for someone: Official channel on YouTube. I think it is sufficient to use the suffix parameter leaving it empty, e.g. {{YouTube|c=XXXXXX|Official|suffix=}} or {{YouTube|u=XXXXXX|Official|suffix=}}. Otherwise, the apostrophe remains and you are unable to remove it. --Mauro Lanari (talk) 17:57, 23 June 2016 (UTC)
- Where's the line between an official channel and a non-official channel? Why does official have to be specified? 117Avenue (talk) 04:02, 26 June 2016 (UTC)
- Actually I don't know, but I know to recognize when I find a grammatical error not included among the cases provided by the template, which therefore is not of any help for the proper management of its syntax. You're offtopic. Have a nice day. --Mauro Lanari (talk) 07:10, 26 June 2016 (UTC)
- I'm not very familiar with YouTube but I am also curious why "official" needs to be specified on Wikipedia. The channel "belongs" to the user, which seems enough to distinguish it from alternate channels that might have earlier registered their name on YouTube. If it was a fan channel, though, we should say so rather than suggesting it belongs to the subject of the article.
- For your specific example (which is the first channel I've noticed for a film) I would suggest that, after verifying the link is what it reports to be, to change the template to {{YouTube|user=SoundCityMovie|''{{PAGENAMEBASE}}''}} Note the italic markup because it is the name of a film. I believe the other external links on that page should follow this format. Hope this helps. Reidgreg (talk) 11:53, 26 June 2016 (UTC)
- If it is the first channel you've noticed for a movie, then it would seem an isolated case and it is useless to talk about it. Anyway thanks a lot for your time. --Mauro Lanari (talk) 13:48, 26 June 2016 (UTC)
- You're welcome! With something unique I try to bring it to the attention on the article's talk page, like Headhunterz where I couldn't determine the correct possessive. Oh, also see WP:ELOFFICIAL for policy on official external links. Reidgreg (talk) 13:08, 27 June 2016 (UTC)
- Thanks to your suggestion I read WP: ELOFFICIAL, really interesting, and even WP: ELMINOFFICIAL: one never stops learning the MoS. I also had a look at your Headhunterz: good, just that I do not understand why these data cannot be inserted into the template page. --Mauro Lanari (talk) 14:35, 27 June 2016 (UTC)
- You're welcome! With something unique I try to bring it to the attention on the article's talk page, like Headhunterz where I couldn't determine the correct possessive. Oh, also see WP:ELOFFICIAL for policy on official external links. Reidgreg (talk) 13:08, 27 June 2016 (UTC)
- If it is the first channel you've noticed for a movie, then it would seem an isolated case and it is useless to talk about it. Anyway thanks a lot for your time. --Mauro Lanari (talk) 13:48, 26 June 2016 (UTC)
- Actually I don't know, but I know to recognize when I find a grammatical error not included among the cases provided by the template, which therefore is not of any help for the proper management of its syntax. You're offtopic. Have a nice day. --Mauro Lanari (talk) 07:10, 26 June 2016 (UTC)
@Mauro Lanari: In the above discussion we expressly did not want the suffix parameter to be misused, and the template's use to become something different. I think that the documentation explains how the template should be used. 117Avenue (talk) 01:21, 29 June 2016 (UTC)
Maps Template talk:YouTube
Recent edit extends use of template outside of ==External links== section
Please note that the recent edit [1] is meant to extend the use of this template outside of ==External links== sections. For reference see diffs [2] [3]. --Bob K31416 (talk) 19:01, 20 October 2016 (UTC)
- It's clearly marked as External video in a little box beside the prose, so it doesn't seem too objectionable. It's called from within {{External media}} (~5000 transclusions) which has fairly strict terms on its doc page. It sounds alright though I don't know about endorsing it in the documentation here. - Reidgreg (talk) 12:34, 21 October 2016 (UTC)
Would a time= parameter be useful? It can be faked...
I just added the footnote
- Joo, Kyung Kwang (5 July 2016). Results from RENO and prospects with RENO-50. XXVII International Conference on Neutrino Physics and Astrophysics. London. Video available at Neutrino Conference 2016 - Tuesday (part 1) on YouTube.
The video contains four talks back to back, and I wanted to add a #t=
parameter to the youtube URL to take the reader to the start of the cited talk. Since the template just puts the video ID at the end of the generated URL, I can append whatever I like to it and ended up using {{youtube|id=Z0xyRySZi0Q#t=45m17s|Neutrino Conference 2016 - Tuesday (part 1)}}
, but that seems fragile.
Would it be worth adding a |t=
/|time=
parameter? I was thinking of something machine-formatted rather than the human-readable parameter which Template:Cite AV media uses, but it's the same basic idea. 71.41.210.146 (talk) 20:26, 13 November 2016 (UTC)
- I think adding a time paramter for any reason is a bad idea, as it would encourage users to use this template outside its inteded usage. Which is solely for external linking, and not referencing. 117Avenue (talk) 05:13, 20 November 2016 (UTC)
Top-level Youtube channel name
The Grand Tour (2016 TV series) Youtube channel has a top-level URL:
- http://www.youtube.com/thegrandtour
When using {{youtube|channel=thegrandtour|title=''The Grand Tour''|suffix=''<!-- -->'s''}}
, the output (with incorrect URL) is:
- The Grand Tour's channel on YouTube (404)
Ideally the it would be possible to generate the link (with the correct link):
- The Grand Tour's channel on YouTube
So the question, what would be the proper way to achieve this using the template? --Sladen (talk) 21:07, 23 November 2016 (UTC)
- To find the "real" URL, click on the page name, in this example "The Grand Tour", the channel id will then appear, in this case "UCZ1Sc5xjWpUnp_o_lUTkvgQ". The template you want to add is: {{YouTube|channel=UCZ1Sc5xjWpUnp_o_lUTkvgQ|title=''The Grand Tour''}}. 117Avenue (talk) 04:30, 25 November 2016 (UTC)
- 117Avenue, that's great, yes, thank you. ...But not the question here. --Sladen (talk) 05:43, 25 November 2016 (UTC)
- The reason it doesn't work normally is because "channels" are linked by youtube.com/channel/CHANNELID. The page isn't "/channel/thegrandtour" it's just "/thegrandtour". The only way to rectify this issue so that it's compatible with the template is to either add another "if" function (? I think it's called) to the source, or alternatively, to use the channel id and not "thegrandtour". The source would require the following code to be added - or some variant of -;
-
|{{#if:{{{page|{{{pg|}}}}}} |/{{{page|{{{pg|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{{title|{{{1}}}}}}</span>|{{PAGENAME}}}}{{{suffix|'s}}} channel]
- and also;
{{#if:{{{page|}}}|1|0}}+
{{#if:{{{pg|}}}|1|0}}+
- I believe that would render the page in the format that you're asking. That said, I don't see it being implemented for a single case. Is this common for Amazon prime video content on YouTube? if so, then maybe that may justify amending the source code or if not and this is an isolated case, then, you'll just have to live with adding the full channel id, like so The Grand Tour's channel on YouTube Mr rnddude (talk) 19:01, 14 December 2016 (UTC)
- This is called a custom URL on YouTube and is quite common. I think the template should support it with a new parameter Alex Muller 10:35, 6 November 2017 (UTC)
-
- The reason it doesn't work normally is because "channels" are linked by youtube.com/channel/CHANNELID. The page isn't "/channel/thegrandtour" it's just "/thegrandtour". The only way to rectify this issue so that it's compatible with the template is to either add another "if" function (? I think it's called) to the source, or alternatively, to use the channel id and not "thegrandtour". The source would require the following code to be added - or some variant of -;
- 117Avenue, that's great, yes, thank you. ...But not the question here. --Sladen (talk) 05:43, 25 November 2016 (UTC)
Suppressing "'s channel"
I have a similar problem akin to #Suppress "on Youtube" completely above, but instead of trying to suppress "on Youtube" I'm trying to suppress "channel" I'm trying to improve Draft:Allison Raskin (and subsequently Gaby Dunn will need the same form) to be ready to publish it, but the show they run is called "Just Between Us"
Just Between Us' channel on YouTube
Just Between Us on YouTube (this would be ideal, but because the template is trying to add that as the code to a video, it won't parse)
I could of, of course, just do "Allison Raskin's channel on Youtube" but that is much less accurate, and in Dunn's case it would lead to two separate links with the same lead in (because she also has a personal account). So how do I do this? menaechmi (talk) 17:43, 8 September 2017 (UTC)
time_continue
Suggest support for the "time_continue" URL parameter, which allows start at a specific point in the video, in seconds. In this edit I was forced to drop the parameter in order to use this template. As for the template parameter name, |start=
would work for me. -Mandruss ? 19:22, 22 March 2018 (UTC)
- This has been discussed above and in the archive. The desired effect can be achieved with the template by appending
&t=
to the 1st parameter:
{{YouTube|{{YouTube|id=8EB5Uk5l660&t=35|title="#MSDStrong Documentary", a video ...}}
gives- "#MSDStrong Documentary", a video ... on YouTube.
- -- Michael Bednarek (talk) 04:18, 23 March 2018 (UTC)
- Thanks. A parameter would be more user-friendly, both for the editor who needs to use it and for all editors who come along after it's used. And it would be easy to implement given a bit of template coding knowledge (which I lack). Even without that, editors don't read template talk pages for template usage information, so this should be covered in the doc. Most editors would look for the support in the doc and reasonably assume it isn't possible. -Mandruss ? 06:06, 23 March 2018 (UTC)
- Can we please get this time parameter added.
- It's also a bug (if a useful one) that time can be added to the id parameter. The template ought to forbid that - either URL encoding the embedded ampersand (it's no part of an id) (DON'T DO THIS!) or, more properly, removing it and anything after it (make the template do that too, once we've migrated the use of time to a proper parameter).
- It's basic good coding practice to not allow an ampersand through like this. Maybe today it's safe, but what if tomorrow YouTube introduces a
|redirect_to_spam_afterwards=
parameter? Andy Dingley (talk) 11:10, 23 April 2018 (UTC)
Source of the article : Wikipedia