ampproject/amphtml

Request to include channel in <amp-youtube>

Open

#26.304 aberto em 10 de jan. de 2020

Ver no GitHub
 (20 comments) (5 reactions) (0 assignees)JavaScript (4.096 forks)batch import
Component: amp-youtubeP3: When PossibleType: DevXType: Feature RequestWG: componentsgood first issue

Métricas do repositório

Stars
 (14.907 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

This probably won't be on the top of anyone's list of things to fix... but I imagine it wouldn't be hard to implement!

I wanted to implement a YouTube embed that linked to a YouTube channel. AFAIK you can't do this with a param, but you can do it with the method described on the support forum:

<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&amp;up_channel=YourChannelName&amp;synd=open&amp;w=320&amp;h=390&amp;title=&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>

Whaddya think?

Guia do colaborador