ampproject / error-reporting

Contains production error tracking issues.
Apache License 2.0
2 stars 5 forks source link

🚨 Error: fullscreen error #122

Open ampprojectbot opened 2 years ago

ampprojectbot commented 2 years ago

Details

Error report: link First seen: Sep 29, 2021 Frequency: ~ 1,007/day

Stacktrace

Error: fullscreen error
    at call (core/dom/fullscreen.js:15:14)
    at this (amp-jwplayer/0.1/amp-jwplayer.js:223:42)
    at fullscreenEnter (amp-jwplayer/0.1/amp-jwplayer.js:507:30)
    at localListener (core/dom/event-helper-listen.js:48:13)

/cc @ampproject/release-on-duty

rcebulko commented 2 years ago

@ampproject/wg-performance any of y'all know why this would be happening?

export function fullscreenEnter(element) {
  const requestFs =
    element.requestFullscreen ||
    element.requestFullScreen ||
    element.webkitRequestFullscreen ||
    element.webkitEnterFullscreen ||
    element.msRequestFullscreen ||
    element.mozRequestFullScreen;
  if (requestFs) {
    requestFs.call(element); // This is the line that throws the error
  }
}