Need to loop back from video after inactivity - javascript
- or -
Post a project like this2133
£20(approx. $25)
- Posted:
- Proposals: 2
- Remote
- #2015604
- Awarded
Description
Experience Level: Intermediate
I have created a test website which can be navigated, and after a period of inactivity, loops a video replacing the web content. When a user is to move the mouse or click etc, I need the user to then be able to renavigate the website again.
I have the website test running OK, running from a single page using a function to switch display style of 'home' and 'smartfm' based on the click of the smart_fm_btn(). So between two divs, the website is running fine.
Because this runs from the same page, the inactivity also works really well, and launches the video after 5 seconds of nothing happening.
The issue I have is that I have issues getting back to the website from the video.
You can see an example of this at https://stackoverflow.com/questions/50396010/javascript-error-looping-back-from-video-after-inactivity where you 'run code snippet'. You can click Smart FM button to navigate to 2nd page, then wait 5 seconds and you will see screen replace which will show a local video. It's just the getting back to page I need assistance with.
I can get back to page using innerHTML replace but then I get stuck in goActive function loop and cannot navigate through pages.
Please give me a shout if you can help.
Thanks,
Jamie
I have the website test running OK, running from a single page using a function to switch display style of 'home' and 'smartfm' based on the click of the smart_fm_btn(). So between two divs, the website is running fine.
Because this runs from the same page, the inactivity also works really well, and launches the video after 5 seconds of nothing happening.
The issue I have is that I have issues getting back to the website from the video.
You can see an example of this at https://stackoverflow.com/questions/50396010/javascript-error-looping-back-from-video-after-inactivity where you 'run code snippet'. You can click Smart FM button to navigate to 2nd page, then wait 5 seconds and you will see screen replace which will show a local video. It's just the getting back to page I need assistance with.
I can get back to page using innerHTML replace but then I get stuck in goActive function loop and cannot navigate through pages.
Please give me a shout if you can help.
Thanks,
Jamie
Jamie S.
99% (32)Projects Completed
33
Freelancers worked with
28
Projects awarded
27%
Last project
25 May 2018
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
can you please share the site / video link, so it will be easy to debug the code.
644688
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies