can JavaScript determine the connection mode of the mobile terminal? Just like the uc browser, the video plays automatically in the wifi environment and manually clicks in the non-wifi environment. Can such a function be achieved? How is the UC browser implemented?