rinov/YoutubeKit

Details are too small

mrugeshtank opened this issue · 3 comments

Can you please help me to solve this issue?
"Watch later", "Share" and uploader account info is too much small, also Play button of Youtube is also small.

Attaching screenshot if iPhone X simulator iOS 12.1

Simulator Screen Shot - iPhone X - 2019-06-03 at 19 32 44

It may due to the viewport meta not set in the html template, please try adding

<meta name="viewport" content="initial-scale = <some value>, user-scalable = no">

to the html template and set the initial scale to your desired scale

Hi H,
Can you please tell me what html template are you referring to? The location to put the meta tag? Thank you so much.

The framework does not provide a way to configure the viewport, thus you need to fork and modify it. There is a file named player.html in this pod which is the place the IFrame youtube player lies in. Insert a meta for viewport in the head of that html and the player will reflect the changes