ampproject/amphtml

Request to include channel in <amp-youtube>

Open

#26 304 ouverte le 10 janv. 2020

Voir sur GitHub
 (20 commentaires) (5 réactions) (0 assignés)JavaScript (4 096 forks)batch import
Component: amp-youtubeP3: When PossibleType: DevXType: Feature RequestWG: componentsgood first issue

Métriques du dépôt

Stars
 (14 907 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur