How to Add Video from Local Hard-Disk or Memory in Web Application ( C# 3.5 & HTML ) And this Video run in Web Application ( Web Page )

How to add video from Local Hard-Disk or Memory in Your web Application and also run in your Web Page.

Following query used in C# (3.5) & HTML platform.

Query is,


This query generate run video from Local Hard-Disk or Memory in your page.

  •  "WinRAR.mp4" name of video clip which is store in Local Hard-disk OR Memory.
  • Parameter "LOOP" value "true" = This Video clip is in LOOP. When finish video then automatically start from staring point.
  • Parameter "QUALITY" value "high" = Define Video QUALITY  
  • Paramerter "AUTOSTART" value "False" = automatically start video playing when page load or refresh page events. Stop that automatically plating video then This parameter define in "object" tag.
  • All parameter call in "embed" tag.
  • Important point : in "embed" tag contain type, am playing "mp4" video that's why I am use type= "application/mp4" when I retrived or playing Youtube video then that time I am use type="application/x-shockwave-flash" respectively , I am wanted to play 3gpp video file in my web page that time I use type="applicaton/3gpp".

Output :

This snapshot shows, before playing video ( This video doesn't play automatically when page load )



This snapshot shows, after playing video



Comments

Popular posts from this blog

Angular 4 + Cordova Boilerplate ::: Hybrid Mobile Application

In MVC 4 Save and Retrieve cookies