Video does not play in full screen mode in the inappbrowser on android

  • 1
  • Question
  • Updated 2 years ago
I built an app that gathers links and opens them in the inappbrowser. The links open in the inappbrowser. Some of the links contain videos. However they do not play fullscreen on android. They do play fullscreen when I press the enlarge option on the video on ios though. I have been trying everything but in vain.

The other question that I have is that when I open the app on android, a blank screen with the app icon and title appears on the top left, then the splash screen appears and the app starts. Is there anyway to fix this?

Everything works well on ios but not android. My app id is 1485220.

Please let me know if you need any more details.

Any help will be greatly appreciated. Thank you.
Photo of abhiram

abhiram

  • 16 Posts
  • 0 Reply Likes
  • frustrated

Posted 5 years ago

  • 1
Photo of Yi Ming Kuan

Yi Ming Kuan

  • 1840 Posts
  • 78 Reply Likes
Just checked, the videos in the articles opened via the InAppBrowser could not be made fullscreen when opened on Chrome either. Sounds more like it's an issue with the article pages blocking fullscreen than anything else.

-yiming
Photo of abhiram

abhiram

  • 16 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled video not playing in full screen on inappbrowser.

I have an app that opens links in inappbrowser. Some of those links have videos in them. However the inappbrowser do not open them in fullscreen no matter how many times I press on the fullscreen option on the video. This issue is only limited to android as everything in ios is working well.

My app id is 1485220.

Any help is truly appreciated.
Photo of abhiram

abhiram

  • 16 Posts
  • 0 Reply Likes
That is weird because all those links do not open the videos as fullscreen on inappbrowser. Not just one or two links. Is there any setting I have to change in my config.xml file? When I open those links using _self instead of _blank, I can play those videos on fullscreen on android but not when I open them in the inappbrowser. Any ideas? Thank you.
Photo of Yi Ming Kuan

Yi Ming Kuan

  • 1840 Posts
  • 78 Reply Likes
One of the inappbrowser links opens this page: http://m.ndtv.com/india-news/navy-alert-to-chinese-nuclear-submarine-threat-in-indian-ocean-767781

The video on that page can't be made fullscreen on Chrome for Android either, which means it's most likely not an app setting issue.

-yiming
Photo of abhiram

abhiram

  • 16 Posts
  • 0 Reply Likes
Can you also check article number 5 on that list? That link has a youtube video. But on the other hand, they are all playing in fullscreen on ios. The app id for ios is 1483044. You can take a look at that. However when I instead changed from _blank to _system so that android opens it on chrome, they were playing fullscreen on chrome when I press the fullscreen option on the video. Just not on the inappbrowser. Do you think any options in the config.xml file or the way of opening the link in the inappbrowser using window.open is causing those issues? I put the minsdk as 15 and targetsdk as 22. Thank you for your help.
Photo of abhiram

abhiram

  • 16 Posts
  • 0 Reply Likes
Hi,
I just changed the minsdk to 15 and removed the targetsdk. I put the location=yes so that there will be a toolbar on the top. Now when I play a youtube video embedded on the link and when I press the fullscreen, the audio keeps playing and video plays below the screen so it is not visible. When I press the youtube button on that video so that it takes to the youtube site, when I play that video, it just aligns the video to the bottom of the screen and does not center it.

Thank you
Photo of Gary Metis

Gary Metis

  • 2 Posts
  • 0 Reply Likes
any update here?