Skip to content
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

Media controls looks quite small for mobile screens #20

Closed
deltasamantha opened this issue Dec 28, 2021 · 4 comments
Closed

Media controls looks quite small for mobile screens #20

deltasamantha opened this issue Dec 28, 2021 · 4 comments

Comments

@deltasamantha
Copy link

deltasamantha commented Dec 28, 2021

Description

When rendering video player, the initial media controls (play button, pause button etc.) looks quite small for mobile screen. I didn't find a configurations or styling workaround for solving this. Is there a way of styling or some how increase sizes of the media controls.

Screenshot

IMG_8222

@douglasrosa0110
Copy link

douglasrosa0110 commented Jan 7, 2022

@GCnomore
Copy link

GCnomore commented Jan 17, 2022

Put this as your injectedjavascript for your webview component

const INJECTEDJAVASCRIPT =
    "const meta = document.createElement('meta'); meta.setAttribute('content', 'width=device-width, initial-scale=1, maximum-scale=0.99, user-scalable=0'); meta.setAttribute('name', 'viewport'); document.getElementsByTagName('head')[0].appendChild(meta);";

@narendrachettri
Copy link

Have you solved this problem @deltasamantha ? if Yes, can you guide me?

@felipe-najson
Copy link
Contributor

Hey, @deltasamantha @narendrachettri @GCnomore we will be publishing the new version (1.1.0) of the library these days that solves this issue.

Regards, Philip

Marcoo09 added a commit that referenced this issue Jun 2, 2022
* merging Douglas Rosa solution

* Issues #17, #20, #21 fixed

* Changing video example

* update readme file

Co-authored-by: Marco Fiorito <marcofiorito1@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants