amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

amp-youtube autoplay does not start video IE11 Win8.1

Open p2er opened this issue 9 years ago • 6 comments

What's the issue?

amp-youtube component does not start playback when scrolled into view, if property autoplay is set. Throws error once clicked to start the video manally: SCRIPT438: Object doesn't support property or method 'remove'

ie11_youtube_win81_1 ie11_youtube_win81_2

How do we reproduce the issue?

  1. Open https://ampbyexample.com/components/amp-youtube/
  2. Scroll down to video with autoplay setting enabled
  3. Video does not start

What browsers are affected?

IE11 Win7 and IE11 Win 8.1

Which AMP version is affected?

Powered by AMP ⚡ HTML – Version 1498157073711 https://ampbyexample.com/components/amp-youtube/

p2er avatar Jun 23 '17 11:06 p2er

/to @aghassemi

jridgewell avatar Jun 23 '17 18:06 jridgewell

https://github.com/ampproject/amphtml/pull/10129 should partially fix this (manual play should work now without throwing error).

amp-youtube with autoplay still does not autoplay on IE11 (all windows versions) but Edge is file. Also amp-video autoplay works in IE11 in all windows versions, so lowering the priority a bit (autoplay is not guaranteed anyway, older versions of browsers or when user has data-saver mode on disables autoplay too)

aghassemi avatar Jun 24 '17 00:06 aghassemi

Are these changes present in the current AMP version? I still encounter the same problem on https://ampbyexample.com/components/amp-youtube/ with IE11 Win8.1

p2er avatar Jun 30 '17 16:06 p2er

Hi @p2er, the fix is not in prod yet (fixes take between 7-14 days before they are shipped to production)

aghassemi avatar Jun 30 '17 17:06 aghassemi

This issue hasn't been updated in awhile. @aghassemi Do you have any updates?

ampprojectbot avatar Oct 19 '17 21:10 ampprojectbot

closing per #10129 fix

aghassemi avatar Oct 19 '17 22:10 aghassemi