Closed spormeon closed 3 years ago
Can you share an example test page or a link a page that can reproduce the issue?
i can if you give me some way to contact you?, i'm not into putting my code in an open forum
Sure, my email is micajuineho@google.com
Hi @spormeon , amp-ima-video
(and all the other integrated video players), installs an iframe that displays the video and ad (as well as the controls). It is up to the iframe to handle the UI of these controls as well as the video being paused/unpaused.
All AMP does in this case is receive signals sent from the iframe.
Please let me know if you need any more assistance.
who's setting the iframe then? surely thats amp-ima-video?
Yes, amp-ima-video just loads the iframe that loads the src
set by the publisher.
so its a problem in amp-ima-video then surely?
and this is using GAM by the way, so if its GAM setting the iframe , its over to you google guys again?
Sorry, to be more specific, AMP creates the iframe on the doc and then loads the src
set by publisher inside that iframe. AMP has no control over what the iframe does or shows.
Hi @spormeon, after syncing with @alanorozco (our resident video expert), I actually do think that we can fix this behavior. I will take on the work.
After clicking an ad, being taken to a new tab, then coming back to page. The play button is set on a pause button, should be a play button? The "big Play" button is set on play:
If you click the pause button, it turns into a play button but hasn't started playing, click the now new play button and it starts playing again.
Once playing the play button is still in the control bar, not turned to a pause. If you click the play button, turns to a pause button but not paused, click pause again and pauses
Details
Notes
Components in use:
/cc @ampproject/wg-performance