amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Click to play broken on IE11 Win 7/8.1

Open p2er opened this issue 9 years ago • 1 comments

What's the issue?

Click to play does not hide poster image and play button on IE11 Win 7/8.1. Video does not start and does not become visible. Play button and poster image remain visible. Error occurs:

SCRIPT438: Object doesn't support property or method 'includes' File: v0.js, Line: 218, Column: 154

How do we reproduce the issue?

  1. Open https://ampbyexample.com/advanced/click-to-play_overlay_for_amp-video/ with IE11
  2. Click play button
  3. Poster and play button still visible
  4. Video not started

What browsers are affected?

IE11 on Windows 7/8.1 (possibly also windows 10)

Which AMP version is affected?

Powered by AMP ⚡ HTML – Version 1496877433269 https://ampbyexample.com/advanced/click-to-play_overlay_for_amp-video/

error

p2er avatar Jun 19 '17 15:06 p2er

@aghassemi Could you take a look? We might need to polyfill https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes?v=control

cramforce avatar Jun 19 '17 16:06 cramforce