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



Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

video implimentation

Posted By: Aamrapali Tamgadge     Posted Date: July 01, 2011    Points:5   Category :ASP.Net
Hi,Friends
I am having the database path stored on my database.
The path is not a fixed.
video is stored on my website folder to show but how can i show it on web page.

Responses
Author: Gowthammanju             
Posted Date: July 05, 2011     Points: 20   

Hey use these coding for embeding video player as


protected string  videoplay(string links )
{
string val;
val = "<embed type='application/x-mplayer2'pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'id='EMBED1' name='mediaPlayer' displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width='800' height='285' src='" + links + "' autostart='true' designtimesp='5311' loop='true'>";
val=val+"</embed>";
return val;
}





and pass the url using query string as

video.Text = videoplay("Videos/video20.avi");

thats it



Thanks & Regards,
GowthamManju
Chennai



Mark if the answer is true


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