surmon-china / videojs-player

@videojs player component for @vuejs(3) and React.
https://github.surmon.me/videojs-player
MIT License
5.27k stars 1.13k forks source link

当我播放视频的时候 播放到最后一秒就出现这个报错 #436

Open hkllin opened 2 years ago

hkllin commented 2 years ago

Describe the bug

course~home.js:229 VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The media playback was aborted due to a corruption problem or because the media used features your browser did not support

Reproduction

course~home.js:229 VIDEOJS: ERROR: (CODE:3 MEDIA_ERR_DECODE) The media playback was aborted due to a corruption problem or because the media used features your browser did not support

System Info

OS: macOS 12.0.1
    CPU: (8) x64 Apple M1
    Memory: 52.09 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 12.8.0 - /usr/local/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 6.10.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 102.0.5005.115
    Firefox: 99.0.1
    Safari: 15.1
  npmPackages:
    @babel/core: ^7.13.16 => 7.17.9 
    @babel/plugin-transform-runtime: ^7.13.15 => 7.17.0 
    @babel/polyfill: ^7.12.1 => 7.12.1 
    @babel/preset-env: ^7.13.15 => 7.16.11 
    @intlify/vue-i18n-loader: ^1.0.0 => 1.1.0 
    @videojs/http-streaming: ^2.9.1 => 2.14.1 
    @vue/cli-plugin-babel: ~4.4.0 => 4.4.6 
    @vue/cli-plugin-eslint: ~4.4.0 => 4.4.6 
    @vue/cli-plugin-router: ~4.4.0 => 4.4.6 
    @vue/cli-plugin-vuex: ~4.4.0 => 4.4.6 
    @vue/cli-service: ~4.4.0 => 4.4.6 
    @vue/eslint-config-prettier: ^6.0.0 => 6.0.0 
    axios: ^0.19.2 => 0.19.2 
    babel-eslint: ^10.1.0 => 10.1.0 
    babel-plugin-dynamic-import-node: ^2.3.3 => 2.3.3 
    babel-plugin-transform-remove-console: ^6.9.4 => 6.9.4 
    babel-polyfill: ^6.26.0 => 6.26.0 
    babel-preset-env: ^1.7.0 => 1.7.0 
    codemirror: ^5.58.3 => 5.65.2 
    compression-webpack-plugin: ^1.1.12 => 1.1.12 
    core-js: ^3.6.5 => 3.21.1 
    default-passive-events: ^2.0.0 => 2.0.0 
    echarts: ^4.9.0 => 4.9.0 
    element-ui: ^2.13.2 => 2.15.6 
    es6-promise: ^4.2.8 => 4.2.8 
    eslint: ^6.7.2 => 6.8.0 
    eslint-plugin-prettier: ^3.1.3 => 3.4.1 
    eslint-plugin-vue: ^6.2.2 => 6.2.2 
    hotbox-ui: ^1.0.0 => 1.0.0 
    html-webpack-plugin: ^4.0.0 => 4.5.2 
    js-audio-recorder: ^1.0.7 => 1.0.7 
    js-base64: 2.6.2 => 2.6.2 
    js-cookie: ^2.2.0 => 2.2.1 
    kity: ^2.0.4 => 2.0.4 
    kityminder-core: ^1.4.50 => 1.4.50 
    lamejs: 1.2.0 => 1.2.0 
    less: ^3.0.4 => 3.13.1 
    less-loader: ^5.0.0 => 5.0.0 
    lint-staged: ^9.5.0 => 9.5.0 
    lodash: ^4.17.19 => 4.17.21 
    marked: ^1.2.6 => 1.2.9 
    mockjs: ^1.1.0 => 1.1.0 
    moment: ^2.29.1 => 2.29.2 
    normalize.css: ^8.0.1 => 8.0.1 
    nprogress: ^0.2.0 => 0.2.0 
    optimize-css-assets-webpack-plugin: ^6.0.1 => 6.0.1 
    prettier: ^1.19.1 => 1.19.1 
    screenfull: ^4.2.0 => 4.2.1 
    standard: ^14.3.4 => 14.3.4 
    style-resources-loader: ^1.3.3 => 1.5.0 
    swiper: ^4.5.1 => 4.5.1 
    terser-webpack-plugin: ^5.0.3 => 5.3.1 
    tributejs: ^5.1.3 => 5.1.3 
    turndown: ^7.0.0 => 7.1.1 
    uglifyjs-webpack-plugin: ^2.2.0 => 2.2.0 
    v-viewer: ^1.5.1 => 1.6.4 
    vditor: 3.6.6 => 3.6.6 
    videojs-contrib-hls: ^5.15.0 => 5.15.0 
    vue: ^2.6.10 => 2.6.14 
    vue-awesome-swiper: ^3.1.3 => 3.1.3 
    vue-cli-plugin-i18n: ~1.0.1 => 1.0.1 
    vue-cli-plugin-style-resources-loader: ^0.1.4 => 0.1.5 
    vue-i18n: ^8.17.3 => 8.27.1 
    vue-quill-editor: ^3.0.6 => 3.0.6 
    vue-router: ^3.2.0 => 3.5.3 
    vue-template-compiler: ^2.6.11 => 2.6.14 
    vue-tribute: ^1.0.6 => 1.0.7 
    vue-video-player: ^5.0.2 => 5.0.2 
    vuex: ^3.4.0 => 3.6.2 
    webpack-bundle-analyzer: ^4.5.0 => 4.5.0

Used Package Manager

npm

Validations

coderLanlan commented 2 years ago

你解决了吗?我也遇到同样的问题