Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had used these methods which are working fine in all other browser except IE. I had upgraded IE 9 to IE 11. I am giving the codes below which I had tried.

//First Method I am trying to implement which working in all other browser except IE11
XML
String htmlStr ="<source src=\""+s+"mp4\" type=\"video/mp4\">" +
                       "<source src=\""+s+"webm\" type=\"video/webm\">" +
                       "<source src=\""+s+"ogv\" type=\"video/ogg\">";
       return htmlStr;


//Second Method I am trying to implement which working in all other browser except IE11

C#
 String htmlStr = "<source src=\"" + s + "mp4\" type=\"video/mp4; codecs=avc1.42E01E,mp4a.40.2\" />http://localhost:1242/BollyBlooper/index.aspx <source src=\"" + s + "webm\" type=\"video/webm; codecs=vp8,vorbis\" /> <source src=\"" + s + "ogv\" type=\"video/ogg; codecs=theora,vorbis\" />" +
     "<object width=\"620px\" height=\"auto\" type=\"application/x-shockwave-flash\"" +
     "data=\"flowplayer-3.2.1.swf\">" +
     "<param name=\"movie\" value=\"flowplayer-3.2.1.swf\" />" +
     "<param name=\"allowfullscreen\" value=\"true\" />" +
     "<param name=\"flashvars\" value=\"config={'clip': {'url': 'http://localhost:1242/BollyBlooper/Video/Video/" + s + "mp4', 'autoPlay':false, 'autoBuffering':true}}\" />" +
     "<p>Download video as <a href=\"~/Video/Video/" + s + "mp4\">MP4</a>, <a href=\"~/Video/Video/" + s + "webm\">WebM</a>, or <a href=\"~/Video/Video/" + s + "ogv\">Ogg</a>.</p></object>";
return htmlStr;


If I am directly using it in HTML format in other file It is playing it well. HTML5 videos.
HTML
<source src="Video/Video/BallEmpire.mp4" type="video/mp4">
<source src="Video/Video/BallEmpire.webm" type="video/webm">
<source src="Video/Video/BallEmpire.ogv" type="video/ogg">


How to make above any of the method to run on IE11. Please Help.
Posted
Updated 11-Apr-14 0:49am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900