gilesvangruisen / Swift-YouTube-Player

Swift library for embedding and controlling YouTube videos in your iOS applications via WKWebView!
MIT License
874 stars 282 forks source link

Handle auto rotation of device #191

Closed sharadchauhan0504 closed 4 years ago

sharadchauhan0504 commented 4 years ago

Hi, thanks for making this beautiful library.

Issue: Initially video is played in portrait mode (inside tableView), but after rotating the device, frames are not getting updated.

How to solve this issue ?

gilesvangruisen commented 4 years ago

Hi @skdevil sorry for the delay. This is likely not an issue with this library, as web views behave just like any other view on rotation, and so it is the responsibility of the app developers to ensure their desired behavior in-app. Closing this for now, thank you for understanding.