Jump to content

Search the Community

Showing results for tags 'page visibility'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hi folks, I've been trying to detect when a page in mobile Safari (iOS 6) on an iPad is not visible. My intention is that I can then pause a game and any audio that's playing. The Page Visibility API doesn't seem to work so I then tried adding event listeners for pageshow, pagehide but unfortunately I had no luck with that either. Has anyone dealt with this problem before and come up with a hack/solution? A half arsed idea I had as I was typing this is to monitor the elapsed time since the player last interacted with the page and if it's X seconds then pause. I don't know how reliable that would be and it's quite game specific. Thanks, Anthony
×
×
  • Create New...