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 o2player extension #3305

Merged
merged 8 commits into from
Jul 6, 2016
Merged

Conversation

yevheniiminin
Copy link
Contributor

No description provided.

@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. Check your existing CLA data and verify that your email is set on your git commits.
  • If you signed the CLA as a corporation, please let us know the company's name.

<h2>O2Player</h2>

<amp-o2player
data-pid="573d9bf1e4b02a3388f42c36"
Copy link
Member

Choose a reason for hiding this comment

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

Nit: 2 space indent, please.

@cramforce
Copy link
Member

Thanks for the extensive docs! A few comments above.

@rudygalfi
Copy link
Contributor

@yevheniiminin Is this ready for another round of review?

@yevheniiminin
Copy link
Contributor Author

@rudygalfi Yes, we fixed comments and travis build

const macros = this.element.getAttribute('data-macros');
const env = this.element.getAttribute('data-env');
user.assert(
(pid && bcid) || vid,
Copy link
Member

Choose a reason for hiding this comment

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

nit: indent +2

@@ -0,0 +1,103 @@
<!---
Copy link
Member

Choose a reason for hiding this comment

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

Please link in README.md one level up.

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 with one comment.

@Gregable Would you mind taking a look at the validator changes? Thanks!

@cramforce
Copy link
Member

Quick ping @Gregable

@rudygalfi
Copy link
Contributor

ping @Gregable -- did you get a chance to look at the validator changes @cramforce mentioned?

#

tags: { # amp-o2-player
tag_name: "script"
Copy link
Member

@Gregable Gregable Jun 29, 2016

Choose a reason for hiding this comment

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

Due to changes since you started this PR, tag_name fields are now upper case. Can you please change this to:
tag_name: "SCRIPT"

@Gregable
Copy link
Member

Apologies for missing this thread somehow. I've added a few comments to the validator changes. Thanks for making these!

@Gregable
Copy link
Member

Thanks for the changes. Validation looks good to me.

@cramforce
Copy link
Member

LGTM
Should the CLA be good?

@cramforce cramforce merged commit 2596ea0 into ampproject:master Jul 6, 2016
ariangibson pushed a commit to Mixpo/amphtml that referenced this pull request Sep 7, 2016
@Gregable
Copy link
Member

Gregable commented Sep 9, 2016

FYI, the validations changes for this are now live everywhere.

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

5 participants