Video.js: The media playback was aborted due to a corruption problem or because the media used features your browser did not support.

Created on 19 Oct 2019  ยท  5Comments  ยท  Source: videojs/video.js

1.chrome version 77.0.3865.75 64bit
2.in Vue
3.It can be playing a little while then stoped by โ€œ The media playback was aborted due to a corruption problem or because the media used features your browser did not support.โ€œ
4.it works well in IE.

answered

Most helpful comment

I had the same issue
I used the constructor like this to override native

      var player = window.player = videojs('video', {
      html5: {
      hls: {
      overrideNative: true
      },
      nativeAudioTracks: false,
      nativeVideoTracks: false
     }
      });

and also you should use source like the example below if you use "" inside video tag chrome native player may take the control (I think) so it didn't work with just "overrideNative: true" you should use the method below to add source.

player.src({
       type: 'application/x-mpegURL',
        src: '$moviesHls'
           });

At least it Solved my Error So i decided to share it.

All 5 comments

๐Ÿ‘‹ 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.

Unfortunately, there is not enough information for us to answer. Preferably, please include a test stream in a live example.

the same issue

same issue on chromecast. that happens when change html5 to youtube tech

I had the same issue
I used the constructor like this to override native

      var player = window.player = videojs('video', {
      html5: {
      hls: {
      overrideNative: true
      },
      nativeAudioTracks: false,
      nativeVideoTracks: false
     }
      });

and also you should use source like the example below if you use "" inside video tag chrome native player may take the control (I think) so it didn't work with just "overrideNative: true" you should use the method below to add source.

player.src({
       type: 'application/x-mpegURL',
        src: '$moviesHls'
           });

At least it Solved my Error So i decided to share it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0xsven picture 0xsven  ยท  3Comments

kitsunde picture kitsunde  ยท  4Comments

stephanedemotte picture stephanedemotte  ยท  4Comments

borm picture borm  ยท  3Comments

jeonghwaYoo picture jeonghwaYoo  ยท  3Comments