views:

24

answers:

2

How could i paly a video & audio file on an asp.net page so that the file is determined on the run time

A: 

I wouldn't do this in ASP.NET myself, I'd use one of the jQuery plug-ins that make this easy. Check out the jQuery Media Plugin as an example.

Dan Diplo
A: 

ASP.NET itself has no capabilities to do this as it's a server side technology. What you can do however is put html, just like like you would do in a standard html file, to display these.

If you can already make use of html5 then you're in luck as it provides dedicated tags like <video> and <audio>.

XIII