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

🐛 [Story Preview] Remove Android poster image from playing videos in preview mode #38291

Merged
merged 9 commits into from
Jul 26, 2022
2 changes: 1 addition & 1 deletion extensions/amp-video/0.1/amp-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ export class AmpVideo extends AMP.BaseElement {
/** @private */
onVideoLoaded_() {
dispatchCustomEvent(this.element, VideoEvents_Enum.LOAD);
this.removePosterForAndroidBug_();
}

/** @override */
Expand Down Expand Up @@ -983,7 +984,6 @@ export class AmpVideo extends AMP.BaseElement {
if (!this.hideBlurryPlaceholder_()) {
this.togglePlaceholder(false);
}
this.removePosterForAndroidBug_();
}

/**
Expand Down