Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 97529

Video heavy web content folio app breaks when sent to background

$
0
0

Hi all,

 

I was pointed to here after asking a question on the Facebook page.
Basically, the DPS App we have created seems to not have been done before - we had gone down the native app route prior to this, but due to costs and compliance issues we could not go down that route, so we are trying to achieve getting the same project to work in DPS.

 

The main aim of the project was to have seamless transition from still image with hotspots, to short video, back to still image, thus creating a nice user journey. The quickest way to achieve this was using HTML and Javascript 'loops'. If this was done in InDesign, we were told it could've taken weeks!
Basically though, the videos are embedded and constantly updated with new video info and then played again using HTML/JS/jQuery - this works well and looks great, until the application is minimised. The video then breaks (This error occurred in the native app too, for whatever reason sending the app to background and back to foreground causes the video element to break) and only brings back a black screen with a Q. All I need to do is clean the video code or return the user to the splash screen when they press the home button.

 

I was wondering, does anyone here have any tips to getting HTML/Javascript to know that the app is no longer being viewed and is in the background? Or is there a way of returning the user to the splash screen on home button press - native apps have the ability to integrate & communicate with the hardware, will this functionality be released? Or could there be another way?

 

Any help appreciated!


Viewing all articles
Browse latest Browse all 97529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>