v_video

0.0.5 • Public • Published

v_video

a rtmp player with vue.js and videojs

please allow chrome to run the flash extention!!!

install

npm install v_video --save-dev

usage

import rtmp from 'v_video'

export default{
    components:{
        rtmp
    }
}


in the template

<rtmp :option=option></rtmp>


option:{
    id:'a unique id to draw the rtmp stream',
    width:'',
    height:'',
    src:'your rtmp stream url',
    preload:'see the valid value in video.js',
    poster:'the url of photo which is display during the stream loading period'
} 


Readme

Keywords

Package Sidebar

Install

npm i v_video

Weekly Downloads

1

Version

0.0.5

License

ISC

Last publish

Collaborators

  • xshhs23