Reputation: 11
I am using HTML5 element to play a sample.mp4. It plays fine if using HTTP protocol. If I change the URL to use HTTPS, it will give error "Sorry, this video cannot be played." The SSL certificate is valid. I have tried on both IIS and Apache server.
<video src="sample.mp4" id="myvideo" />
<a href="javascript:void(0)" onclick="document.getElementById('myvideo').play();">Play</a>
Upvotes: 1
Views: 4278
Reputation: 1
Android will support https audio/video playback as per the developer site:
http/https live streaming draft protocol: mpeg-2 ts media files only Android 3 and 4 and above; NOT supported before Android 3.0
Upvotes: 0
Reputation: 2679
It looks like Android does not currently support serving video from a SSL (https) link: http://groups.google.com/group/android-developers/browse_thread/thread/7e7003b845c3fb98
Upvotes: 3