question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: App close on hardware back button press when video is open in full screen.

See original GitHub issue

Bug Report

Ionic version:

[x] 4.x

Current behavior: I have an HTML video player in my app, <video controls> <source [src]="videoUrl" type="video/mp4"> </video>

Which loads video from device gallery and show in screen. Video controls have option to open video in full screen. when the video is in full screen, the app closes instead of go back on click on device hardware back button.

Expected behavior: It should close the video full screen and go back to the previous screen.

Ionic info:

Ionic:

   Ionic CLI                     : 5.0.3
   Ionic Framework               : @ionic/angular 4.6.0
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   Cordova CLI       : 8.0.0
   Cordova Platforms : android 7.0.0
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 18 other plugins)

Utility:

   cordova-res : 0.4.0
   native-run  : 0.2.6

System:

   Android SDK Tools : 26.1.1 (/Users/divyesh/Library/Android/sdk)
   ios-deploy        : 1.9.2
   NodeJS            : v11.4.0 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.2.1 Build version 10E1001

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
clemishowcommented, Oct 24, 2019

Same here !

1reaction
r0b1337commented, Oct 24, 2019

I’m facing the same problem !

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: App close on hardware back button press when video is ...
1 - Open page · 2 - Open modal with the video · 3 - Play Video · 4 - Go fullscreen ·...
Read more >
How to Fix App Not Close When Press Back Button in Android
Some app will not close properly when you press back button in android devices, it will run in background and slow down your...
Read more >
App closes when using back button on fullscreen video
To reproduce on Android: Open the app and go to the demo site > Celebrating cultures. Play "I have a dream" video and...
Read more >
How To Fix Back Button Not Working on iPhone and Android
The Messages Back Button Bug​​ It's not entirely clear why this bug happens, but there are only three reliable solutions: Kill the app...
Read more >
In the YouTube app, when I press the back button ... - Quora
In the YouTube app, when I press the back button, instead of going to the previous video, it takes me to the home...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found