-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios无法点击播放 #48
Comments
|
|
您说的设定是指自动播放(autoplay)吗?打开或者关掉都是一样的错误。 |
1.上图就是在未点击右下角全屏的时候,将手机横屏观看就出现这样的情况,所有的机型都一样 |
不是 autoplay,是你那个播放器不允许你播放。 |
mobile-player 没有横屏逻辑的。是不是你的代码里面有添加其他横屏逻辑? |
要不我加您微信沟通下? |
大哥 你这图一看就是安卓 |
|
个人想法,在手机横屏的时候,无论之前有没有点击最大化,都应该显示正常的。 |
ios12以上的版本,低电量模式下不允许播放,看一下手机是不是低电量模式 |
不是低电量模式,但是打开手机的自动播放限制就可以了。 |
@Cpaul3 你移动端的插件可以控制倍速吗? |
playbackrate 今天有人反映有问题。我需要查一下。你可以先使用 settimeout 延迟一下然后设置就好。例如
|
pc端用的playbackrate挺好用的,移动端跟这个是一样的吗? |
是的。 |
// import ChimeeMobilePlayer from "chimee-mobile-player";
ChimeeMobilePlayer.install(chimeePluginControlBar);
window.player = new ChimeeMobilePlayer({}) 源代码是这么暴露的 /** chimeeMobilePlayer
* chimee-mobile-player v0.2.8
* (c) 2017-2018 yandeqiang
* Released under MIT
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.ChimeeMobilePlayer = factory());
}(this, (function () { 'use strict'; |
chimeePluginControlBar 未定义 使用前需要定义 或者 作用域外需要暴露到window上 建议您从js作用域复习一下一个变量需要如何定义使用 |
现在我有个这样的问题,使用Chimee插件,安卓可以正常播放,ios一直白屏加载中。
|
Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
导致无法正常播放
请作者帮忙解决下!十分感谢
The text was updated successfully, but these errors were encountered: