当前位置: 首页 > news >正文

网站导航栏动效怎么做的推广策略用英语怎么说

网站导航栏动效怎么做的,推广策略用英语怎么说,挂机赚一小时75元,网络推广员是干什么的公司项目需要实现摄像头实时视频播放#xff0c;flv格式的视频。先百度使用flv.js插件实现#xff0c;但是两个摄像头一个能放一个不能放#xff0c;没有找到原因。#xff08;开始两个都能放#xff0c;后端更改地址后不有一个不能放#xff09;但是在另一个系统上是可以…公司项目需要实现摄像头实时视频播放flv格式的视频。先百度使用flv.js插件实现但是两个摄像头一个能放一个不能放没有找到原因。开始两个都能放后端更改地址后不有一个不能放但是在另一个系统上是可以播放的。使用的是jessibuca.js jessibuca.js实现视频播放 1、下载jessibuca.js包 这三个文件需要直接放到public文件夹里不能在添加文件夹放置。 2、创建VideoPlayer.vue文件 templatediv idcontainer refcontainer/div /template script export default {name: DemoPlayer,props: {videoUrl: {type: String,default: }},data() {return {jessibuca: null,version: ,wasm: false,vc: ff,playing: false,quieting: true,loaded: false, // muteshowOperateBtns: false,showBandwidth: false,err: ,speed: 0,performance: ,volume: 1,rotate: 0,useWCS: false,useMSE: true,useOffscreen: false,recording: false,recordType: webm,scale: 0}},mounted() {this.create()window.onerror (msg) (this.err msg)},unmounted() {this.jessibuca.destroy()},methods: {create(options) {options options || {}this.jessibuca new window.Jessibuca(Object.assign({container: this.$refs.container,videoBuffer: 0.2, // Number(this.$refs.buffer.value), // 缓存时长isResize: false,useWCS: this.useWCS,useMSE: this.useMSE,text: ,// background: bg.jpg,loadingText: 疯狂加载中...,// hasAudio:false,debug: true,supportDblclickFullscreen: true,showBandwidth: this.showBandwidth, // 显示网速operateBtns: {fullscreen: this.showOperateBtns,screenshot: this.showOperateBtns,play: this.showOperateBtns,audio: this.showOperateBtns},vod: this.vod,forceNoOffscreen: !this.useOffscreen,isNotMute: true,timeout: 10},options))var _this thisthis.jessibuca.on(pause, function () {console.log(on pause)_this.playing false})this.jessibuca.on(play, function () {console.log(on play)_this.playing true})this.jessibuca.on(mute, function (msg) {console.log(on mute, msg)_this.quieting msg})this.jessibuca.on(error, function (error) {console.log(error, error)})this.jessibuca.on(performance, function (performance) {var show 卡顿if (performance 2) {show 非常流畅} else if (performance 1) {show 流畅}_this.performance show})this.jessibuca.on(play, () {this.playing truethis.loaded truethis.quieting this.jessibuca.isMute()})},play(videoUrl) {if (videoUrl) {this.jessibuca.play(videoUrl)} else {// this.$message.error(播放地址出错)this.destroy()}},mute() {this.jessibuca.mute()},cancelMute() {this.jessibuca.cancelMute()},pause() {this.jessibuca.pause()this.playing falsethis.err this.performance },destroy() {if (this.jessibuca) {this.jessibuca.destroy()}this.create()this.playing falsethis.loaded falsethis.performance }} } /script style #container {background: rgba(13, 14, 27, 0.7);width: 100%;height: 100%; } /style 3、使用组件 引入 import VideoPlayer from /components/VideoPlayer.vue使用 VideoPlayer refVideoPlayer/VideoPlayer播放 let url http://182.150.58.94:15280/rtp/44010200492000000001_34020000001320000110.flv this.$refs.VideoPlayer.play(url)效果 参考文档 jessibuca-api-文档 参考官方实例 jessibuca-vue-demo
http://www.w-s-a.com/news/939653/

相关文章:

  • 门户网站跳出率wordpress火车头采集教程
  • 天津做网站的网络公司wordpress免费的模板
  • 有哪些关于校园内网站建设的法律如何申请免费网站空间
  • 玉溪市网站建设龙口网页定制
  • 网站开发都用什么软件上海景观设计公司10强
  • 网站建设氵金手指下拉十二深圳网站建设售后服务
  • 上海网站设计价青海企业网站制作
  • 静态网站做新闻系统深圳外贸网站建设哪家好
  • 网站如何做词360免费wifi老是掉线怎么办
  • 网站建设分金手指排名十八iis10 wordpress
  • 成都网站优化公司哪家好网站建设帮助中心
  • 做外单什么网站好佛山市建设企业网站服务机构
  • 哪些网站是单页面应用程序北京门头沟山洪暴发
  • 织梦(dedecms)怎么修改后台网站默认"织梦内容管理系统"标题关键词优化收费标准
  • 网站设计和备案企业官网网站建设免费
  • 公司概况-环保公司网站模板搜索引擎营销的基本流程
  • 门户网站建设经验天津市建设银行租房网站
  • 百度推广 帮做网站吗怎样修改网站的主页内容
  • 网站怎么做dns解析公司官网改版方案
  • 湛江市住房和城乡建设局网站杭州网站公司哪家服务好
  • 设计网站公司湖南岚鸿设计镜像的网站怎么做排名
  • 你注册过哪些网站微信app下载安装官方版2019
  • 杭州滨江的网站建设公司人才招聘网网站策划方案
  • 门户网站是指提供什么的网站网站优化需要工具
  • 和小男生做的网站代理公司注册步骤
  • 天猫网站建设的目标是什么seo有些什么关键词
  • 网站前端建设都需要什么莱芜信息港网页
  • 如何做360网站优化网站建设培训教程新手入门到精通
  • 做网站有的浏览器怎么做网站网站赚钱
  • 织梦 做网站 教程百度登录个人中心官网