.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Multimedia files

Posted By: softraj     Posted Date: March 25, 2009    Points:2   Category :.NET Framework
How to play the audio and video files in .net application?

Responses
Author: Rahul             
Posted Date: March 25, 2009     Points: 5   

Is your application is ASP.Net application or windows application?

Author: softraj             
Posted Date: March 26, 2009     Points: 5   

How to play audio and video files in web application?

Author: Rahul             
Posted Date: March 27, 2009     Points: 5   

You can embed windows media player in you .aspx page and give the media file path

eg

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1">
<param name="AudioStream" value="true">
<param name="AutoSize" value="true">
<param name="AutoStart" value="false">
<param name="ClickToPlay" value="true">
<param name="Enabled" value="true">
<param name="Filename" value="youfile.mp3"> <%--The URL of the file name you want to play--%>
<param name="AnimationAtStart" value="true">
<param name="ShowDisplay" value="true">
<param name="ShowAudioControls" value="true">
<param name="ShowDisplay" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowGotoBar" value="true">
</object>





Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend