Comments (5)
Hi,
You can't. For security reasons, it has to be triggered by a user action.
from robnyman.github.com.
So how does it work in your project? Because it is full screen on landscape with no button triggered.
And how are they doing for example in Youtube website?
from robnyman.github.com.
Depending on mobile OS, videos in landscape - once they have started playing - will be in fullscreen mode. But that still takes the user trigger of starting the video/pressing fullscreen or similar.
from robnyman.github.com.
Yes, first the video needs to be played.
But anyway, I'm using android 7 in my site and yours, and yours when I switch to landscape, it starts full screen. That's why I don't get it.
Could it be the player? I'm using a custom HTML5 player from Unreal Media Server developers. In the end, it is HTML5.
i thought about simulate a click or keydown but it doesnt work neither.
That's why I'm quite interested in your solution :)
from robnyman.github.com.
I think it's rather the default operating system, and since my code just use the basic APIs to do it. It could rather be that, as a side effect, some of the more complex players' implementation then block that native behavior.
from robnyman.github.com.
Related Issues (12)
- Compatability & testing for that? HOT 3
- Automatic Fullscreen Start HOT 5
- Camera API demo doesn't work on Chrome Android HOT 1
- Android Orientation Problem HOT 3
- "Unable to complete previous operation due to low memory"
- fullscreen IE11 HOT 1
- Saving Audio files on Local Storage/Session Storage HOT 4
- Does not work on Safari IOS HOT 1
- Saving HTML data into localstorage?
- Error on trying to store Image to IndexedDB in Chrome. HOT 1
- Localstorage demo fails with undefined blobBuilder 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 robnyman.github.com.