Coder Social home page Coder Social logo

Mobile is not supported? about ass HOT 6 CLOSED

weizhenye avatar weizhenye commented on August 19, 2024
Mobile is not supported?

from ass.

Comments (6)

weizhenye avatar weizhenye commented on August 19, 2024

Basic features should works fine. Some advanced features like \clip may not work. Not tested with much mobile browsers, but Chrome for mobile is just consistent with Chrome.

from ass.

xwlcn avatar xwlcn commented on August 19, 2024

I use mobile UC browser, it doesn't work with fullscreen.

from ass.

weizhenye avatar weizhenye commented on August 19, 2024

For most browsers, click fullscreen button in <video> element will only maximize video itself, the <div> to show subtitles is not fullscreened.

Generally native controls may not used in production, if you are using some library like video.js, its fullscreen button will maximize the wrapper <div>, which including <video>, the custom controls and some other <div>s. Subtitles can also be put in the wrapper <div>, then being fullscreened together.

from ass.

xwlcn avatar xwlcn commented on August 19, 2024

yes, I used plyr.js, it aways auto resize the video's size when the html page loaded, and I called ass.resize() when the video enter fullscreen and exit fullscreen, it works well on PC, but mobile doesn't work. you can see this page: http://bd-dy.com/play/8909-0.htm on android mobile. Can you write an example with plyr.js?

from ass.

weizhenye avatar weizhenye commented on August 19, 2024

I did some simple tests with UC browser and found that when clicking the fullscreen button, it seems OK, but once played the video, the controls of plyr.js was replaced by UC native controls.

That means plyr.js itself doesn't support UC browser, exactly, UC browser doesn't allow third library to control video when fullscreen.

So, maybe there are no way to support UC browser.

from ass.

xwlcn avatar xwlcn commented on August 19, 2024

Thanks for your anwser.

from ass.

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.