Giter VIP home page Giter VIP logo

Comments (6)

cucygh avatar cucygh commented on August 22, 2024

白名单不是这样用的哈,在移动端自定义UI很多设备兼容性不好处理,为了保证功能可用,只要自己测试过没问题的可以开启白名单,后续我们也会给大家提供一套白名单供参考

from xgplayer.

yanghuiqi avatar yanghuiqi commented on August 22, 2024

恩 有参考就好多了。目前测试在微信 IOS 11.3版本, 还不知道其他版本兼容如何。感谢大佬

from xgplayer.

cucygh avatar cucygh commented on August 22, 2024

安卓设备众多,在video事件上兼容性迥异,所以自定义UI很难做到100%完美,通过白名单机制可以保证我们测试过设备用白名单,没测试过的使用原生的video,这样在功能上是完备的,我们逐渐丰富白名单列表就好了,我们一起来维护,棒棒哒

from xgplayer.

liyang007700 avatar liyang007700 commented on August 22, 2024

大部分安卓播放器video被托管,播控面板无法控制。在IOS以及android chrome上,可以参考爱奇艺m.iqiyi.com的做法
.hideControls::-webkit-media-controls-panel {
display: none !important;
-webkit-appearance: none
}

.hideControls::--webkit-media-controls-play-button {
display: none !important;
-webkit-appearance: none
}

.hideControls::-webkit-media-controls-start-playback-button {
display: none !important;
-webkit-appearance: none
},先隐藏webkit原生controls,再定制自己的controls。

from xgplayer.

cucygh avatar cucygh commented on August 22, 2024

对的,移动端劫持的问题暂时没有好的方法,问题同 #28

from xgplayer.

Lemonwck avatar Lemonwck commented on August 22, 2024

问题同上,安卓手机显示的是原生的控制器! ios 的可以用!!!
http://wangchaoke.cn/

from xgplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.