Link to home
Start Free TrialLog in
Avatar of ctme2000
ctme2000

asked on

Need to disable all instances of touchscreen capability on laptop

Hi,

I have this as part of a different issue I posted here on EE, but that's gone quiet, and wanted to repost this as a new issue.

We have an online video having issues with the audio not being on by default.  This only occurs in IEv11.  I spoke with an MS Premier engineer and he mentioned it seems the code for the video is set to be disabled for tablets and enabled for desktops.  The newer laptops do have touchscreens available, and we were wondering if this then considers a touch-screen enabled laptop as a 'tablet' and so disables the sound toggle by default.  I tested several different laptops, and all of the touch-screen ones had the setting disabled, whereas the non-touch screen laptops had the audio toggle enabled by default.

I went through Device Manager and disabled/uninstalled the 'HID compliant touch screen'; no change.  I also went through and disabled several different 'touch' related registry entries (hkcu and hklm\wisp\touch), by setting them to 0; no change.

I checked the BIOS as well, and do not see any touch-screen related settings there.

Are there any other touch-related settings I should be aware of that can be disabled?

Thanks,
Avatar of Rob
Rob
Flag of Australia image

I'm not sure that would ultimately solve your problem as the screen will still be identified as a touchscreen whether or not it is enabled...

First place I would start is with the website, rather than the device.   Sites like youtube will display videos with sound enabled so to me it seems that it's a website setting, not a hardware configuration issue.

Is there any way you can contact the website for more info?
This applies to all major browsers which auto disable all auto play of audios + videos, ignoring auto play attributes on HTML tags.

The fix is usually to embed a small snippet of Javascript which fires an event, after page load, to manually start playback.

You can search GitHub for libraries you can use.

Search for - site:github.com autoplay audio OR video

These libraries are fairly smart, they walk the DOM + find all the autoplay media defined in tags + start them all playing.

There are also similar libraries to change sound volume, which may also be set to null/zero.

So likely you'd use two libraries, one to enable sound + one to start autoplay, on media with the autoplay attribute set.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.