Browse and upload audio/video in C# web form

Posted by Bhatta under C# on 5/25/2012 | Points: 10 | Views : 1888 | Status : [Member] | Replies : 1
I am using the following code to play audio and video in the browser.

<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="Player1" width="424" height="379">

<param name="URL" value="E:/share Date/hello.wma"></param>

<param name="http://path_to_the_video"></param>

<param name="AutoStart" value="1"></param>

<param name="ShowControls" value="1"></param>

<param name="ShowStatusBar" value="1"></param>

<param name="ShowDisplay" value="1"></param>

<param name="stretchToFit" value="1"></param>

<embed type="application/x-mplayer2"


width="424" height="379" src="E:/share Date/hello.wma"

filename="E:/share Date/hello.wma" autostart="1" showcontrols="1" showstatusbar="1" showdisplay="1">



In the above code written for playing audio/video files using html, can you tell me how to change the source path dynamically instead of stating 1 path in the code? We have developed a website in which saves audio/video recordings on the local host. These recordings need to be browsed and played on the website.

Please help at the earliest!!

Thank you!!


Posted by: Vuyiswamb on: 5/25/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Look at this

Thank you for posting at Dotnetfunda

Bhatta, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response