nativescript-videoplayer icon indicating copy to clipboard operation
nativescript-videoplayer copied to clipboard

Video plays in background

Open yogesh5689 opened this issue 5 years ago • 4 comments

If move to another component the video keeps on playing in background .This probelm only occurs only in ios ,not in android

yogesh5689 avatar Jun 18 '19 14:06 yogesh5689

Same issue here.

kdmakwana43 avatar Jul 20 '19 07:07 kdmakwana43

Same issue here. issue resolved https://stackoverflow.com/questions/56684341/how-to-stop-video-playing-in-background-nativescript-angular

yogesh5689 avatar Jul 24 '19 12:07 yogesh5689

@bradmartin +1

delanick avatar Sep 26 '19 16:09 delanick

Same issue here. issue resolved https://stackoverflow.com/questions/56684341/how-to-stop-video-playing-in-background-nativescript-angular

That resolution only works if the page component is aware of the video player component. If the video player is added dynamically from another component, the solution doesn't work.

I use nativescript-vue, is there a way to detect a page navigation from the component displaying the video-player? This probably isn't the right forum to ask that question, but perhaps someone has another solution that would also work.

mreall avatar Jan 09 '21 20:01 mreall