Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Could be due to the fact that touchscreen devices don't use click events.
Copy link to clipboard
Copied
You need to use the tap event, which means also detecting the used device (cpInfoMobileOS)