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-ima-video: Adding additional video analytics. #11703

Merged
merged 3 commits into from Oct 18, 2017
Merged

amp-ima-video: Adding additional video analytics. #11703

merged 3 commits into from Oct 18, 2017

Conversation

shawnbuso
Copy link
Contributor

This adds currentTime, duration, and playedRanges.

I could use some quick help organizing/compiling this. Specifically imaVideo.js is not allowed to depend on ima-player-data because it's in the extensions/ folder, so I'd like to know how to handle that (move the file, move the code into an existing file, whatever works).

Resolves #11356

/to @aghassemi

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 good. just need to revert the package.josn

package.json Outdated
@@ -30,7 +30,8 @@
"babel-polyfill": "6.26.0",
"document-register-element": "1.5.0",
"promise-pjs": "1.1.3",
"web-animations-js": "2.3.1"
"web-animations-js": "2.3.1",
"yarn": "^1.2.1"
Copy link
Contributor

Choose a reason for hiding this comment

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

please revert this file.

@ampprojectbot ampprojectbot added this to the Pending Triage milestone Oct 16, 2017
@shawnbuso
Copy link
Contributor Author

Done. I could use help with the build though - I'm not sure how to handle my new ima-player-data.js file. imaVideo.js can't depend on it where it is now.

@aghassemi
Copy link
Contributor

I see. maybe /google/ads/ima/(imaVideo.js, ima-player-data.js) ? extension should be able to import from it there.

@shawnbuso
Copy link
Contributor Author

Easy enough :) Presubmits are running now.

@aghassemi aghassemi merged commit 145067e into ampproject:master Oct 18, 2017
neko-fire pushed a commit to 3qnexx/amphtml that referenced this pull request Nov 17, 2017
* Adding additional video analytics for amp-ima-video.

Remove console.log

* Revert package.json.

* Fix presubmit errors.
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