videojs / video.js

Video.js - open source HTML5 video player
https://videojs.com
Other
38.18k stars 7.47k forks source link

Player is throwing "ODE:3 MEDIA_ERR_DECODE)" while playing google ads on Vizio TV #8238

Open rajat-maz opened 1 year ago

rajat-maz commented 1 year ago

Description

Issue - While playing Google ads. Ad will play for some time and then the player throws an error ["ODE:3 MEDIA_ERR_DECODE)"].

Setup "video.js": "^7.21.0", "videojs-ima": "^1.8.1", Video URL - "https://cdn.jwplayer.com/manifests/Fd9R6Ol8.m3u8" Ad URL - 'https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator='

Reduced test case

https://ad-sample.netlify.app/

Steps to reproduce

  1. Open the link https://ad-sample.netlify.app/ For the browser, it will work fine. To reproduce the issue you need to check on real Vizio TV OR can simulate Vizio TV via Chrome browser by the steps mentioned below
    • change the user agent of the browser
    • Open inspect element > Click on the setting icon
    • Go to devices > Add custom device
    • User Agent of the new device Mozilla/5.0 (X11; Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36 CrKey/1.0.999999 VIZIO SmartCast(Conjure/MTKA-5.1.531.1 FW/4.70.27-3 Model/D32h-G9) Now,
  2. click on the play button
  3. Ad will play for some time and then an error will be thrown. Screenshot 2023-04-14 at 8 10 55 PM Screenshot 2023-04-14 at 8 12 13 PM

Errors

deo.es.js:229 VIDEOJS: ERROR: (CODE:4 MEDIA_ERR_SRC_NOT_SUPPORTED) The media could not be loaded, either because the server or network failed or because the format is not supported.

Screenshot 2023-04-14 at 8 11 24 PM

What version of Video.js are you using?

7.21.0

Video.js plugins used.

No response

What browser(s) including version(s) does this occur with?

Chrome 72

What OS(es) and version(s) does this occur with?

Vizio TV, Mac OS

video-archivist-bot commented 1 year ago

Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:

welcome[bot] commented 1 year ago

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines.

mister-ben commented 1 year ago

This seems to be this issue on the videojs-ima repo, with some suggestions in the comments