alexrainman / CarouselView

CarouselView control for Xamarin Forms
MIT License
436 stars 176 forks source link

Issue using WebView to view videos inside carousel (iOS) #544

Open zacharyk-suzy opened 5 years ago

zacharyk-suzy commented 5 years ago

I'm having an issue viewing youtube videos in a webview control inside the carousel view. I've tested a webview control on another page in my app to view videos from youtube and it works as expected. I can go from normal screen at load to full screen and back. However on iOS, when the same webview is placed in a CarouselView and the video is tapped it will open full screen, start to play, and then will go black.

I've used both an array of views and a data template selector to load the webview with the same results.

On inspection of the data template selector, when the video goes to full screen and starts to play the selector fires again and returns the web view template even though it is already loaded. After it returns the screen goes black. However, if I go to normal screen then back it will play fine and does not hit the data template selector. The height and Y properties change when trying to play the video as well.

alexrainman commented 5 years ago

Can you provide a demo?