Turn on / off mobile flashlight from a web browser

10,370

I have found out why the solution suggested by @Angel Politis was not working for me and it has to do with SSL protected page. In essence I have visited the other link as suggested and copied the script but it did not work when I had upload it to my server which is not using the HTTPS protocol. Howwever, I have tried on a different server, (HTTPS), and it works flawlessly.

Many thanks all.

Share:
10,370
Daniele Pais
Author by

Daniele Pais

I am a tech enthusiast, I love technology and i am a big fan of the digital revolution. In the past 15 years I have accumulated a great load of work experience in an ample variety of fields. I have started a few business from scratch for myself and I have helped to set up new start ups for others. Today I live in Thailand, after many years spent around the globe, I do what I like the most, I offer my services as a freelance web designer. I can be a good source of precious information for those who are thinking to start a business. This is why I also offer my services as a Consultant.

Updated on June 12, 2022

Comments

  • Daniele Pais
    Daniele Pais almost 2 years

    I know there is a way to turn on front / rear camera but in my case I was wondering if there was a way to toggle on and off the camera flashlight from a web browser.