youtube / youtube-ios-player-helper

Lightweight helper library that allows iOS developers to add inline playback of YouTube videos through a WebView
Other
1.65k stars 683 forks source link

Scrubber bar offscreen on iPhone X #314

Open JoshKimmelman opened 6 years ago

JoshKimmelman commented 6 years ago

I set the player frame to CGRect(x: 0.0, y: 0.0, width: view.bounds.size.width, height: view.bounds.size.height);. However, the bottom scrubber bar hangs down but only under these conditions:

iPhone X Landscape Inline, not full screen

I use the exact same code for all devices and this is the only one where this problem occurs. Making the frame vertically smaller only clips the scrubber, not move it.

screen shot 2018-07-19 at 1 46 48 pm
atologistkaushik commented 5 years ago

Same issue, any solution?