i have a task to Upload video and play in different browser. i have tried playing a .Mp4 video on different browseri have tried implementing the iframe like\[code\] <iframe id="frame1" runat="server" visible="false" style="height: 222px; width: 482px;"> </iframe>\[/code\]and tried implementing it src at runtime as:\[code\] frame1.Visible = true; frame1.Attributes.Add("src", objLessionsInfo.VideoPath.ToString());\[/code\]It works at \[code\]chrome\[/code\]. but not in \[code\]firefox\[/code\] and \[code\]IE\[/code\] I also tried implemeting the video tag of HTML5 as\[code\]<video controls="controls" tabindex="5" class="Video"> <source src="http://stackoverflow.com/questions/12795597/Videos/2.webm" type='"video/webm" codecs="vp8, vorbis"' > <source src="http://stackoverflow.com/questions/12795597/Videos/2.ogv" type='"video/ogv" codecs="theora, speex"'> <source src="http://stackoverflow.com/questions/12795597/Videos/2.mp4" type="video/mp4"> Your browser does not support the <code>video</code> element. </video>\[/code\]the same works at \[code\]Chrome\[/code\] but not in \[code\]Firefox\[/code\] and \[code\]IE\[/code\] as \[code\].mp4\[/code\] works on \[code\]chrome\[/code\] but \[code\]firefox\[/code\] doesn't support. i have tried with \[code\].webm\[/code\] format it plays at firefox.i am confuse with the concept of how to make a video support to a different browser or how to structure this task.whether should i check browser and play a video for that particular browser ( in this case i have to upload a video in different browser)or is there any universal plugin that can play a video in all browser
need help on it. Thanks for any assistance.
need help on it. Thanks for any assistance.