Audio tag works on Android, but not on IOS - html5-audio

I'm having a problem with the audio tag when I want to autoplay audio on my website. It works on PC, Android but not on iOS. Can someone help me explain?

Related

Internet explorer runs a file .mp4 video incorrectly

I have a video that was recorded on a cellphone with the format MP4 and on Portrait screen orientation. Then I put it in this tag:
<video>
<source src="http://myserver/myvideo.mp4" type="video/mp4;">
</video>
and I also tried:
<video>
<source src="http://myserver/myvideo.mp4" type="video/mp4;codecs=avc1.42E01E,mp4a.40.2">
</video>
On Chrome and Firefox, both work perfectly.
OS: Windows 7
The problem: On Internet Explorer (9,10,11 and Edge), even the orientation of the video being the portrait, I can see it only in the landscape orientation. (With a rotation of 90 degrees)
I've installed Windows Media Player Classic and K-Lite Codec Pack and after that, I can see the video in the correct orientation only on the Windows Media Player Classic.
I mean, until now, I can see the video properly neither on Internet Explorer nor on Windows Media Player.
At first, I thought the problem could be something related to the tag <video> that couldn't work properly on Internet Explorer. But now I'm almost sure that the problem is related to some Codec or some updating related to the Windows that it is missing, but I searched a lot and I didn't find anything that could help me.

<audio> tag used in webpage doesn't autoplay the music in mobile browzers

I have added this <audio> tag in my html page,
<audio id="music" autoplay="autoplay" loop="true"><source src="~/Content/songs/music.mp3" type="audio/mpeg" /></audio>
if I run the web page with this <audio> tag into any PC browser it works fine, the music gets started on page load, but the same web page doesn't play any music in mobile browsers.
Tested it on android(chrome), windows(edge).
Please can anyone suggest something for it, is there something I missed here.
Any help is appreciated.
There are some other posts for this type of question, but they are specifically for apple devices. I need to know if there are any workarounds for android or windows mobiles.

MKV Web Player (Not npapi)

Is there any way to play a MKV video on browser (Chrome and Mozilla Firefox) ? Native HTML5 Video Player plays back the video but no audio and Divx Web Player became obsolete since Chrome 45.
Any and all help appreciated :)

html5 <audio> tag don't work in IE11

Why doesn't my audio tag play in Internet Explorer 11?
It works just fine in Google Chrome.
Here is my HTML:
<audio autoplay src="fail.mp3" type="audio/mpeg"></audio>
According to html5test for IE 11 the audio element should be fully supported, though the Web Audio API is not, which might be the problem in your case.

RTSP Embedded Video Player with IE, Firefox and Chrome Activex

I'm looking for a video player that supports RTSP that has working activex controls for IE, Firefox and Chrome.
VLC Player works, however, I cannot get Chrome or IE to detect the activex and have a visitor download the controller if they do not have it.
I was able to get Firefox and IE to work with Quicktime, but not Chrome. WMP doesn't seem to like RTSP, or I'm doing it wrong.
Any advice would greatly be appreciated.
Sample of my VLC code:
<object classid='clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921' codebase='http://download.videolan.org/pub/videolan/vlc/last/win32/axvlc.cab' width='440' height='260'>
<param name='movie' value='rtsp://xxx/mpeg4/ch1/main/av_stream'>
<embed type='application/x-vlc-plugin' pluginspage='http://www.videolan.org' width='440' height='260' target='rtsp://xxx/mpeg4/ch1/main/av_stream'>
</object>