Giter Site home page Giter Site logo

vue-aliplayer's People

Contributors

leeoric avatar slacrey 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

vue-aliplayer's Issues

直播的时候怎样点击暂停

暂停的时候画面是停留在封面。实现:停留在当前那一帧
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

uniapp 怎么使用阿里云SDK播放器???

请教:这个组件跟我们的webSocket的IE9兼容解决方案冲突

就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文件。

player is not defined 這個是因爲什麽原因

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这三个文件

frame ready callback function ?

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

Vue3.0 类似 livestreamstop m3u8retry 的监听
把名字中的大写修改成小写字母就可以继续用拉~~:)

TypeError: Cannot set property 'innerHTML' of null

需要动态改变直播的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
但是并不影响直播,可能是我使用方式有问题。

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.