Comments (28)
我是vue1的,我换了v2.5.0的版本,现在可以了,谢谢,祝你找到好工作!@surmon-china
from videojs-player.
Vue1
需要使用v3.0.0
版本之前的组件,且api
需要按照旧版的API使用。
from videojs-player.
@surmon-china 旧版本的文档没有吗
from videojs-player.
将tag
切换到对应的旧版本,一切文件都是旧版本的,包括REAMDE.md。
from videojs-player.
vue2 微信里的页面 也有这样的问题
from videojs-player.
@HuMonkey 能否贴一下实际生产代码
from videojs-player.
<template>
<div class="weui-gallery">
<video-player :options="videoOptions"></video-player>
</div>
</template>
<script>
export default {
name: 'error',
data() {
return {
videoOptions: {
start: 0,
playsinline: false,
preload: 'none',
language: 'zh-CN',
languages: {
'zh-CN': {
'No compatible source was found for this media.': '请稍等 直播暂停中~',
}
},
sources: [{
type: "video/mp4",
src: 'https://xcycdn-video.zhongguowangshi.com/record/zbcb/14933451863408_3.mp4',
}],
}
}
}
}
</script>
<style scoped>
</style>
from videojs-player.
@HuMonkey 我稍后测试,微信问题重现环境在:IOS Android都存在吗?
from videojs-player.
我们只试了ios的 android的不清楚哦~
from videojs-player.
OK,我今晚会进行测试
from videojs-player.
好的,麻烦您了
from videojs-player.
@HuMonkey 我的就是安卓的
from videojs-player.
@arronf2e 那你的问题是怎么修复的?换成vue2就好了嘛?
from videojs-player.
@HuMonkey 还没有,等作者测一下吧
from videojs-player.
@arronf2e 好的,我们这边看了好久,也不知道是什么问题,其他浏览器应该都没有做这样的问题;而且微信里进去是一直loading,但是稍微拖一下进度条就能播放了
from videojs-player.
@HuMonkey 是的,loading的时候也可以点击播放的
from videojs-player.
实测Android未复现,IOS复现,正在找问题。
from videojs-player.
实测playsinline: true
手动控制全屏应该能解决这个问题,能满足你们的需求吗?
from videojs-player.
@surmon-china 你说的方法我们试了下好像也不行。
而且我们这边可能会有视频不全屏播放的需求,我们尝试在组件的@play函数中加了一段这样的代码,问题好像就解决了:
setTimeout(() => {
player.play();
}, 0)
from videojs-player.
@arronf2e 谢谢😆。
@HuMonkey 我再测试,找找原因。
from videojs-player.
@surmon-china 作者是在找工作吗,要不要试试杭州这边,哈哈哈
from videojs-player.
@HuMonkey 在找呀,北上深杭都在投,这几天在电面
from videojs-player.
@surmon-china 给你发了封邮件 哈哈
from videojs-player.
@surmon-china ios下无法全屏,点击全屏的直接直接闪了一下就关了,有碰到过吗
from videojs-player.
playsinline: false
能行吗
from videojs-player.
不行,我再找找原因
from videojs-player.
视频上下都有一段黑色的空间,怎么不显示这些黑色区域?
from videojs-player.
年久失修,关闭。
from videojs-player.
Related Issues (20)
- Playing multiple videos on the same page at the same time will cause the video to flicker. HOT 2
- Does not support the download function ???
- The video can only be played once ??? HOT 1
- 用了这个一直报错这个"class" is a reserved attribute and cannot be used as component prop.想问问是什么原因呢 HOT 2
- 在pc端使用时,会自动聚焦到当前播发器
- please add an example how to setup it with Vue3 + TypeScript
- 请问怎么禁用右键的下载等功能
- The userAtions.click does not work
- vite 打包失败报错
- 视频播放完后,再重新播放,视频卡顿
- Vue2中使用 this.$refs.videoPlayer.player设置倍速失败
- 怎么实现分屏同时播放?9个视频在同一个页面同时播放 HOT 1
- Nuxt 3 support HOT 1
- Provide compatibility with Video.js version 8 HOT 1
- error: No matching export in "node_modules/vue/dist/vue.runtime.esm-bundler.js" for import "normalizeClass"
- Does vue3 support custom buttons to play pause video? HOT 1
- Can't hide control buttons HOT 2
- Nuxt: After updating video.js to latest, videojsPlayer redirect to not found page when i reload the page in nuxt
- How to insert ads in the player?
- npm install twice error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from videojs-player.