Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Bypassing Splash Screen Script Not Working on Mobile

New Here ,
Apr 01, 2021 Apr 01, 2021

Greetings, everyone.

I'm using the following script to bypass the splash screen, which seems to work well on desktops but not on tablet/mobile devices:

$(document).ready(function() {
$("#playImage").click();
});

I would like for the tablet/mobile devices to adopt the seame measure but cannot seem to figure out why it is not working.

 

Thank you.

TOPICS
Editing
207
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 01, 2021 Apr 01, 2021

Could be due to the fact that touchscreen devices don't use click events.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 02, 2021 Apr 02, 2021
LATEST

You need to use the tap event, which means also detecting the used device (cpInfoMobileOS)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources