Code Monkey home page Code Monkey logo

bilibili-html5's People

Contributors

whiteblue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bilibili-html5's Issues

建议加入加速减速功能

另开一贴:

推荐加入加速减速功能。因为浏览器里的原生H5播放器已经支持这个功能。唯一不支持的是弹幕引擎,据我测试,CSS3 的弹幕会随着加速而缩短留存时间,可是缩短得太多了,左侧会出现留白。Canvas 的弹幕没法调整速率,所以一顿一顿的。
另外加速了之后,可能会出现音画不同步的问题,声音快于画面。是因为缺少校验么?还是搜索定位算法的问题?
我测试的加速方法是用 Video Speed Control 插件实现的(用js去找video element实在蛋疼)。
ref: #8

大佬npm run build的时候报这个错误怎么破呢

npm-debug:

0 info it worked if it ends with ok
1 verbose cli [ 'D:\DevTools\nodejs\node.exe',
1 verbose cli 'D:\DevTools\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: build
4 verbose stack at run (D:\DevTools\nodejs\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack at D:\DevTools\nodejs\node_modules\npm\lib\run-script.js:61:5
4 verbose stack at D:\DevTools\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:356:5
4 verbose stack at checkBinReferences_ (D:\DevTools\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:320:45)
4 verbose stack at final (D:\DevTools\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:354:3)
4 verbose stack at then (D:\DevTools\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:124:5)
4 verbose stack at D:\DevTools\nodejs\node_modules\npm\node_modules\read-package-json\read-json.js:311:12
4 verbose stack at D:\DevTools\nodejs\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack at tryToString (fs.js:456:3)
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:443:12)
5 verbose cwd D:\DevTools\phpStudy\WWW\bilibili-html5
6 error Windows_NT 10.0.15063
7 error argv "D:\DevTools\nodejs\node.exe" "D:\DevTools\nodejs\node_modules\npm\bin\npm-cli.js" "run" "build"
8 error node v6.10.2
9 error npm v3.10.10
10 error missing script: build
11 error If you need help, you may report this error at:
11 error https://github.com/npm/npm/issues
12 verbose exit [ 1, true ]

建议加入视频自动重连功能

视频放久了会变质……额不是,是403 Error,解决方案是,切换高清再切回超清,但是这样浪费一次请求,浪费带宽,浪费时间……不能直接catch这个error然后自动重连么?

ref: #8

cnpm install或者npm install安装不了W包

cnpm:
× Install fail! Error: [w@^2.0.13] GET https://registry.npm.taobao.org/w/%3E%3D2.0.13%20%3C3.0.0 response 404 status
Error: [w@^2.0.13] GET https://registry.npm.taobao.org/w/%3E%3D2.0.13%20%3C3.0.0 response 404 status

npm:
npm ERR! Windows_NT 10.0.15063
npm ERR! argv "D:\DevTools\nodejs\node.exe" "D:\DevTools\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.10.2
npm ERR! npm v3.10.10
npm ERR! code ETARGET

npm ERR! notarget No compatible version found: w@^2.0.13
npm ERR! notarget Valid install targets:
npm ERR! notarget 0.0.1
npm ERR! notarget
npm ERR! notarget This is most likely not a problem with npm itself.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget

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.