Detect if browser / device can play HTML5 video inline before playing
I know I can check through navigator.userAgent if the device is an iPhone, but there are other devices and some I'm not aware of which will play the video in it's own player. There can be made a list of all browsers/devices which don't play a video inline, but I wonder if there is another solution. Is it possible in JavaScript to detect if a browser, for example Safari on iPhone, plays a video in it's own player instead of inline? So it can be possible to show an alternative, like an image, instead of the video. avaunt I know this is an old question, but it's a big issue for me and there isn't