Youtube video, fullscreen and portrait mode


#1

Hello,
I’m currently going through a tough problem while using the youtube api.
To put the context on, I’m working on a portrait app. I place some iframe in order to load video I want to show.

<iframe id="player" type="text/html" width="640" height="390"
  src="http://www.youtube.com/embed/M7lc1UVf-VE"
  frameborder="0" allowfullscreen></iframe>

This is working correctly, but the problem comes when I ask for fullscreen. The controls are correctly placed at the bottom of the screen and the video take the full width and it is at the middle of the screen. but the rest of the screen is not a black like it used to be. I always have the precedent view. Even when I put the number of views cached to 0 ($ionicConfigProvider.views.maxCache(0)), it’s still present.

does anyone run into this as well ? Does anyone have some leads ?


#2

I added crosswalk and I don’t have this problem. But I cannot add this plugin to my application, it makes the package too big. I only get this in android.