Comments (3)
from xgplayer.
config: {
id: "mse",
url: "",
fluid: true,
defaultPlaybackRate: 1,
definitionActive: "click",
poster: "",
volume: 1,
autoplay: false, // 手动点击播放,节省用户流量
playsinline: true,
lastPlayTime: 0, //视频起播时间(单位:秒)
lastPlayTimeHideDelay: 3,
enableVideoDbltouch: true,
rotateFullscreen: true,
// closeInactive: true, // 使播放器控制栏常驻不隐藏
rotate: { //视频旋转按钮配置项
innerRotate: true, //只旋转内部video
clockwise: true // 旋转方向是否为顺时针
},
fitVideoSize: "auto",
}, 这个是我的视频的配置,我手动点击旋转按钮并不会出现占不满的情况
from xgplayer.
from xgplayer.
Related Issues (20)
- edge浏览器不能播放hls格式的视频,chrome可以 HOT 1
- Mp4Plugin播放没有音频轨的视频报错 HOT 1
- 苹果手机在微信内置浏览器打开h5后播放器音量设置未生效 HOT 4
- 移动端第一次单击进入一定要先进入聚焦状态,然后单击暂停单击播放才能生效果吗 HOT 1
- mobile插件 开启长按倍速调整 手指轻微移动该事件就结束了 怎么解决 HOT 1
- 播放flv视频,一直在加载中;时长显示正常,就是画面不出来,转圈圈。
- 请问有没有参数是可以将音频关闭的
- 有没有配置能把hasAudio传进去 HOT 1
- 播放控件 UI 优化建议
- 华为和小米手机浏览器画中画不生效
- 切换链接(switchURL/URLsetter)不生效
- 手机端在个别手机自带浏览器 出现配置失效 video标签顶级显示 出现下载按钮问题 HOT 1
- ios 微信打开显示不支持格式 HOT 3
- 视频加载失败出现“请刷新试试”
- flv loadTimeout配置在chorme中无法生效,firefox中正常
- QQ 浏览器会将播放器给重置成qq浏览器内置的样子,包括操作限制 HOT 1
- 如何在播放m3u8的时候关闭视频轨道仅仅播放音频
- xgplayer-flv插件总时长显示为00:00
- 播放flv直播流时setEventsMiddleware添加play事件中间件的问题
- 如何异步加载弹幕
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 xgplayer.