-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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-nexxtv-player updates #32617
amp-nexxtv-player updates #32617
Conversation
- added consent data for plugin - added playerReady State - reworked func layoutCallback
- optimized iframe creation function
- reworked param origin - removed delay - reworked client - edit docs
- updated protoascii
Hey @alanorozco! These files were changed:
Hey @ampproject/wg-caching! These files were changed:
|
@twifkak for validator review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @neko-fire
extensions/amp-nexxtv-player/validator-amp-nexxtv-player.protoascii
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good for validator changes; left a couple of small requests.
extensions/amp-nexxtv-player/validator-amp-nexxtv-player.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-nexxtv-player/validator-amp-nexxtv-player.protoascii
Outdated
Show resolved
Hide resolved
Anything else that needs to be changed? @alanorozco |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @neko-fire, I failed to clicked submit
on this review previously 😳
'disableAds': disableAds, | ||
'streamingFilter': streamingFilter, | ||
'exitMode': exitMode, | ||
'consentString': this.consentString_, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take consentString
as parameter.
'consentString': this.consentString_, | |
'consentString': consentString, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alanorozco I've changed all your requests regarding consentString. But unit test keeps now failing due to timeout, I don't know how to fix this.
Any news on this topic @alanorozco |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you.
@neko-fire Please ensure that the previous tests pass. I can't merge this otherwise. These are probably timing out since we're now waiting for a consent response before resolving
|
Hi @alanorozco , I've fixed the issue with the test. |
@neko-fire: Since we removed |
Yes I do during my frontend test, since the player also checks the connection to play out the right quality. Also our player does not support autoplay in iframe context. I did not run into any issues here. |
Hi @alanorozco , do you want me to change something before merge? |
Ok, if it doesn't do autoplay then we're probably fine. Thanks for the update. |
♻️ - optimized iframe creation - added paramter data-exit-mode - renamed album -> audioalbum - data-domain can be used now as data-client - added consent parameter from amp-consent - added load event 🚮 removed optional parameters: data-origin, data-seek-to, playlist-mask, delay 📖 updated readme and code sample
* cl/369469304 Revision bump for ampproject#33848 * cl/369546330 Revision bump for ampproject#33926 * cl/369928825 Revision bump for ampproject#32617 * cl/369967220 Require amp-video extension if amp-video is used on the page. Change from a warning. Co-authored-by: Greg Grothaus <greggrothaus@google.com>
amp-nexxtv-player updates & maintenance
♻️
🚮 removed optional parameters: data-origin, data-seek-to, playlist-mask, delay
📖 updated readme and code sample