ampproject/amphtml

Request to include channel in <amp-youtube>

Open

#26,304 opened on 2020年1月10日

GitHub で見る
 (20 comments) (5 reactions) (0 assignees)JavaScript (14,907 stars) (4,096 forks)batch import
Component: amp-youtubeP3: When PossibleType: DevXType: Feature RequestWG: componentsgood first issue

説明

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?

コントリビューターガイド