Giter Site home page Giter Site logo

Comments (10)

toxic-johann avatar toxic-johann commented on September 28, 2024

将 autoload 设置为 false 试试?

提示不够人性化嗷。。

from chimee.

skyline0705 avatar skyline0705 commented on September 28, 2024

一样,这块逻辑看了下跟autoplay无关,是只要初始化传入没有src就会报错。

from chimee.

toxic-johann avatar toxic-johann commented on September 28, 2024

不是 autoplay 是 autoload

from chimee.

toxic-johann avatar toxic-johann commented on September 28, 2024

查看文档的 autoload 部分

相应规则见下图。

from chimee.

skyline0705 avatar skyline0705 commented on September 28, 2024

autoload目前未做设置,仍然报此错误

from chimee.

toxic-johann avatar toxic-johann commented on September 28, 2024

默认是 true,所以如果你没有 src 的话要把它关掉。

from chimee.

skyline0705 avatar skyline0705 commented on September 28, 2024

了解了…
不过这块是否有可能默认根据是否videoConfig上有src来判断呢?

from chimee.

toxic-johann avatar toxic-johann commented on September 28, 2024

可以的。不过记得当时是有点难做。(主要自己的代码问题)。我们内部规划下。

from chimee.

skyline0705 avatar skyline0705 commented on September 28, 2024

感谢感谢~~

from chimee.

toxic-johann avatar toxic-johann commented on September 28, 2024

已在 0.4.2 修复

from chimee.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.