I have some video features on a HTML web page unsupported by <=iOS12 and <=macOS 10.14.
I know redirecting the visitor isn't an ideal solution but could someone please help me with the javascript to detect OS version and redirect to an alternate page?
Many thanks in advance
Edit: Thank you everyone for your replies, could someone please advise how I can add the OS version to the following script and not just detect the OS?
if (navigator.appVersion.indexOf("Mac")!=-1) window.location="http://xxx.url";
</script>