slacrey / vue-aliplayer Goto Github PK
View Code? Open in Web Editor NEWvue aliplayer
License: MIT License
vue aliplayer
License: MIT License
暂停的时候画面是停留在封面。实现:停留在当前那一帧
pause() { // 暂停视频 this.aliPlayer.pause() // 阿里当前播放器时直播,暂停的时候需要把播放按钮显示出来 if (this.live) { const dom = document.getElementById(this.uuid) if (dom) { const btn = dom.getElementsByClassName('prism-big-play-btn ')[0] if (btn) btn.style.display = 'block' } } },
uniapp 怎么使用阿里云SDK播放器???
官方aliplayer好像不支持,但是你文档里面又可以支持flv,是否可以支持flv吗?
就vue-aliplayer.js开头的这段代码
if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(); else if(typeof define === 'function' && define.amd) define([], factory); else if(typeof exports === 'object') exports["VueAliplayer"] = factory(); else root["VueAliplayer"] = factory();
注释掉,我们IE9下面的webSocket就嫩跑通了,这段是干什么用的?能不能换个写法?
我们的webSocket的IE9兼容解决方案是【web-socket-js】,也是依托于一个swf文件。
aliplayer-min.js:3 Uncaught ReferenceError: player is not defined
at c.z._reloadAndPlayForM3u8 (aliplayer-min.js:3)
at c.b.exports.handle (aliplayer-min.js:3)
at HTMLVideoElement. (aliplayer-min.js:3)
at HTMLVideoElement.h.dispatcher.h.dispatcher (aliplayer-min.js:2)
使用直播播放就报这个错,请问怎么解决
Uncaught ReferenceError: _this2 is not defined
at c.eval (vue-aliplayer.js?28bb:350)
at HTMLDivElement.e (aliplayer-min.js:2)
at HTMLDivElement.h.dispatcher.h.dispatcher (aliplayer-min.js:2)
at Object.b.exports.trigger (aliplayer-min.js:2)
at c.l.trigger (aliplayer-min.js:5)
at c.b.exports.handle (aliplayer-min.js:3)
at HTMLVideoElement. (aliplayer-min.js:3)
at HTMLVideoElement.h.dispatcher.h.dispatcher (aliplayer-min.js:2)
話說開發者沒在維護了?
我通过接口获取视频播放凭证,然后就播放不了,因为在初始化的时候,凭证是空的,接口拿到凭证之后,播放器已经初始化完成了,然后就播放不了了。
npm install vue-aliplayer -S
后,vue-aliplayer目录中,只有license、package.json、readme.md这三个文件
hello ,thank you for your aliplayer vue project , i tested it and it works, I have a question that if i can get texture when every frame decode finished? i need the texture information, looking forward for your reply...
Vue3.0 类似 livestreamstop m3u8retry 的监听
把名字中的大写修改成小写字母就可以继续用拉~~:)
vid + playauth播放无法执行
将组建中的aliplayer.min.js的版本从2.6.0换成2.7.4后报脚本错误:net::ERR_ABORTED 403 (Forbidden)
怎么将清晰度、播放倍速这类选项单独显示出来
前后端分离,视频文件需要鉴权,怎么带cookie
请问source路径更改后,是要重新调什么方法才能播放更改后的文件吗? 还有如果视频是在弹框里播放的,叉掉弹框后怎么才能让当前正在播放的文件停止播放。。望回复,谢谢!
怎么设置一套默认的播放器图标控件呢
nuxt项目 npm install vue-aliplayer后 只有一个vue-aliplayer文件夹 里面没内容
rtmp 怎么不播放, 卡在一帧上面?
需要动态改变直播的url,所以用v-if进行重新渲染,否者url不会改变,但是在第二次创建时会报以下错误:
[Vue warn]: Error in created hook: "TypeError: Cannot set property 'innerHTML' of null" found in ---> <Aliplayer> at D:\02-space\vue-aliplayer\src\VueAliplayer.vue <LiveVideo> at src\components\utils\video-player.vue
但是并不影响直播,可能是我使用方式有问题。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.