Screensaver or something similar on the webpage [HELP]

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1541
    areabmian
    Participant

    **Screensaver or something similar on the webpage** Hello Community I have a small query, I am looking to display a video on a webpage where it starts running if no one is interacting with the site/page and it goes away if someone clicks or touches the screen. Just like a screensaver.

    #1542
    psd-dude
    Guest

    what have you tried so far?

    You can do this pretty easy with a small JavaScript snippet: simply set an interval checking whether there was any interaction with the page and if not start the video.

    also, set a JS listener so that when there is interaction to stop or hide the video

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.