Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video组件播放视频时报错(Uncaught (in promise) NotSupportedError: The element has no supported sources.),视频单独在浏览器打开可以正常播放 #16811

Open
StephenChuan-min opened this issue Nov 5, 2024 · 0 comments
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@StephenChuan-min
Copy link

相关平台

H5

浏览器版本: Chrome130
使用框架: React

复现步骤

h5端Video组件src=https://vod.jxeduyun.com/view/2023/03/30/2023033013322054fg3VfU.mp4,播放视频时报错,在浏览器单独打开该视频链接能正常播放

期望结果

h5播放视频不报错

实际结果

播放视频时报错 Uncaught (in promise) NotSupportedError: The element has no supported sources.

环境信息

Taro CLI 4.0.6 environment info:
    System:
      OS: Windows 10 10.0.19045
    Binaries:
      Node: 20.16.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.22 - C:\Program Files\nodejs\yarn.CMD
      npm: 10.8.1 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.17 => 3.6.17
      @tarojs/components: 3.6.17 => 3.6.17
      @tarojs/helper: 3.6.17 => 3.6.17
      @tarojs/plugin-framework-react: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-alipay: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-h5: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-jd: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-qq: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-swan: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-tt: 3.6.17 => 3.6.17
      @tarojs/plugin-platform-weapp: 3.6.17 => 3.6.17
      @tarojs/react: 3.6.17 => 3.6.17
      @tarojs/runtime: 3.6.17 => 3.6.17
      @tarojs/shared: 3.6.17 => 3.6.17
      @tarojs/taro: 3.6.17 => 3.6.17
      @tarojs/taro-loader: 3.6.17 => 3.6.17
      @tarojs/webpack5-runner: 3.6.17 => 3.6.17
      babel-preset-taro: 3.6.17 => 3.6.17
      eslint-config-taro: 3.6.17 => 3.6.17
      react: ^18.0.0 => 18.2.0
@TheKonka TheKonka added V-3 Version - 3.x F-react Framework - React T-h5 Target - 编译到 H5 labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Status: Padding
Development

No branches or pull requests

2 participants