Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add amp-vimeo element to load vimeo videos. #1731

Merged
merged 2 commits into from
Feb 2, 2016

Conversation

mkhatib
Copy link
Contributor

@mkhatib mkhatib commented Feb 2, 2016

Closes #1471

// The video-id is supported only for backward compatibility.
const videoid = AMP.assert(
(this.element.getAttribute('data-videoid') ||
this.element.getAttribute('video-id')),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No support for video-id. We changed our mind about that (YT was like the 1st component we ever created and it had that).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@cramforce
Copy link
Member

LGTM

cramforce added a commit that referenced this pull request Feb 2, 2016
Add amp-vimeo element to load vimeo videos.
@cramforce cramforce merged commit fc275cd into ampproject:master Feb 2, 2016
@mkhatib mkhatib deleted the amp-vimeo branch February 2, 2016 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants