Skip to content

Conversation

@chen-anders
Copy link
Contributor

@chen-anders chen-anders commented Jan 3, 2018

Closes #12644 .

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


  • If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.
  • If your company signed a CLA, they designated a Point of Contact who decides which employees are authorized to participate. You may need to contact the Point of Contact for your company and ask to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the project maintainer to go/cla#troubleshoot. The email used to register you as an authorized contributor must be the email used for the Git commit.
  • In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again. If the bot doesn't comment, it means it doesn't think anything has changed.

@@ -0,0 +1,44 @@
#
# Copyright 2017 The AMP HTML Authors. All Rights Reserved.
Copy link
Contributor

Choose a reason for hiding this comment

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

replace 2017 with 2018

@honeybadgerdontcare
Copy link
Contributor

validation changes look good.

@chen-anders
Copy link
Contributor Author

Signed the CLA.

@googlebot
Copy link

CLAs look good, thanks!

this.element.dispatchCustomEvent(VideoEvents.ENDED);
}
} else if (data['method'] == 'mutechange') {
isMuted = (data['args'] ? data['args']['_isMuted'] : undefined)
Copy link
Contributor

Choose a reason for hiding this comment

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

const isMuted = ?

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.

Looks very good, just couple of small requests. Thanks for the PR!

<script async src="https://cdn.ampproject.org/v0.js"></script>
</head>
<body>
<amp-wistia-player
Copy link
Contributor

Choose a reason for hiding this comment

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

needs a layout

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added here: 5838fe1

'for <amp-wistia-player> %s',
this.element);
const iframe = this.element.ownerDocument.createElement('iframe');
iframe.setAttribute('title', 'Wistia Video Player');
Copy link
Contributor

Choose a reason for hiding this comment

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

page author should control this. Maybe

iframe.setAttribute('title', this.element.getAttribute('title') || 'Wistia Video Player');

iframe.setAttribute('scrolling', 'no');
iframe.setAttribute('allowtransparency', '');
iframe.setAttribute('allowfullscreen', 'true');
iframe.src = '//fast.wistia.net/embed/iframe/' + encodeURIComponent(
Copy link
Contributor

Choose a reason for hiding this comment

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

no relative protocol, must be https://

@aghassemi
Copy link
Contributor

@chen-anders
Copy link
Contributor Author

CI failures have been resolved.

@aghassemi aghassemi merged commit 8b701cf into ampproject:master Jan 23, 2018
@chen-anders
Copy link
Contributor Author

Is there some additional work that needs to be done in order to be listed on the following page: https://www.ampproject.org/docs/reference/components#media ?

@aghassemi
Copy link
Contributor

Gregable pushed a commit that referenced this pull request Jan 24, 2018
Gregable added a commit that referenced this pull request Jan 24, 2018
* Add an amp-video test that shows which tagspec is picked for errors.

* Revision bump for #12654

* Revision bump for #12836

* Make sure the light validator doesn't run amp4ads tests.
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
* Add an amp-video test that shows which tagspec is picked for errors.

* Revision bump for ampproject#12654

* Revision bump for ampproject#12836

* Make sure the light validator doesn't run amp4ads tests.
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
* Add an amp-video test that shows which tagspec is picked for errors.

* Revision bump for ampproject#12654

* Revision bump for ampproject#12836

* Make sure the light validator doesn't run amp4ads tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants