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

♻️ amp-viqeo-player: placeholder and refactoring #19885

Merged
merged 11 commits into from Dec 18, 2018

Conversation

kinoshnik2070
Copy link
Contributor

@kinoshnik2070 kinoshnik2070 commented Dec 14, 2018

  • create placeholder
  • refactoring

- create placeholder
- remove autoplay attribute and add noautoplay
- refactoring
@honeybadgerdontcare
Copy link
Contributor

This is considered a breaking change due to Changes to AMP validation rules that are not backward compatible. In this case it's the removal of the attribute autoplay. There is a way forward for rare cases but it must follow a process. Please see AMP versioning and deprecations policy

@aghassemi aghassemi self-requested a review December 14, 2018 23:01
@aghassemi
Copy link
Contributor

@kimhogeling per @honeybadgerdontcare comment and per AMP's autoplay policy, your video player should use AMP's builtin autoplay feature which is based on the opt-in autoplay attribute.

Copy link
Contributor

@aghassemi aghassemi left a comment

Choose a reason for hiding this comment

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

@kinoshnik2070 Couple of small requests, we can merge after addressing them. Thank you

extensions/amp-viqeo-player/0.1/amp-viqeo-player.js Outdated Show resolved Hide resolved
placeholder.setAttribute('layout', 'fill');
placeholder.setAttribute('placeholder', '');
placeholder.setAttribute('referrerpolicy', 'origin');
placeholder.setAttribute('alt', 'Loading video');
Copy link
Contributor

Choose a reason for hiding this comment

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

this is overriding alt again, I will fix it and merge, no action needed from you.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks

@aghassemi aghassemi merged commit cb9e91d into ampproject:master Dec 18, 2018
@aghassemi
Copy link
Contributor

@kinoshnik2070 merged. Thanks!

bramanudom pushed a commit to bramanudom/amphtml that referenced this pull request Dec 19, 2018
@kinoshnik2070 kinoshnik2070 deleted the vqPlayer-refactoring branch December 21, 2018 11:02
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants