npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vue-video-group-component

v1.0.15

Published

[![version](https://badgen.net/badge/version/v1.0.13/green)](https://npmjs.com/package/vue-video-group-component) [![license](https://badgen.net/badge/license/MIT/orange)](https://gitee.com/qiuhuiya/vue-video-group-component/blob/master/LICENSE) ## 安装

Downloads

17

Readme

vue-video-group-component

version license

安装

npm install vue-video-group-component

启动

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

vue-video-group-component 简介

一个基于(vue2) element-ui 与 LivePlayer H5 播放器二次封装的视频组组件

属性

cameraList

cameraList 摄像头数据 Array 默认值:[] 数组格式参考 element-ui 树形控件数据格式,目前只支持默认格式不支持自配字段

videoclass

videoclass 栅格样式 String 默认值:"padding-bottom: 46%;position: relative; margin: 0px auto;"

videoTitle

videoTitle 左侧树上方标题 String 默认值:"树标题"

isRadio

isRadio 是否展示分屏 Boolean 默认值:true

videoTitle

videoTitle 视频右上角显示的标题 String 默认值:""

autoplay

autoplay 自动播放 Boolean 默认值:true

controls

controls 显示播放器控制栏 Boolean 默认值:true

loop

loop 是否循环播放 Boolean 默认值:true

live

live 视频右上角显示的标题 Boolean 默认值:true

fluent

fluent 流畅模式 默认值:true

stretch

stretch 是否拉伸 默认值:true

方法

onStateFilterate

@onStateFilterate 状态值变更方法 回调参数:cameraStateList 值:['online','offline'],[]

getCameraNode

@getCameraNode 树节点点击回调 回调参数:data 值:当前点击节点的值

setVideoProperties

setVideoProperties 设置选中视频属性并播放 参数:data 属性数据
_ @param {Boolean} data.PTZStatus 是否为云台设备
_ @param {String} data.URL 播放地址

controlPtz

controlPtz 云台按钮点击事件回调函数
@param {*} 回调参数:type 类型:up,down,left,right

注意

目前vue-video-group-component只适用于vue2的项目,后续会搞vue3的

vue-video-group-component组件基于element-ui 与 LivePlayer H5 播放器进行的二次封装,在使用前请确保项目中已安装element-iu以及LivePlayer H5极其相关配置

[element-ui]https://element.eleme.cn/#/zh-CN [LivePlayerH5]https://www.liveqing.com/docs/manuals/LivePlayer.html#%E5%AE%89%E8%A3%85