开发者

How could i paly a video & audio file on an asp.net page?

开发者 https://www.devze.com 2023-01-15 15:08 出处:网络
How could i paly a video & audio file on 开发者_高级运维an asp.net page so that the file is determined on the run time ASP.NET itself has no capabilities to do this as it\'s a server side technolo

How could i paly a video & audio file on 开发者_高级运维an asp.net page so that the file is determined on the run time


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>.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消