如何发挥在asp.net mvc的WMV和FLV文件 [英] how to Play wmv and flv files in asp.net mvc
问题描述
我想在我的asp.net MVC应用程序播放WMV一样和FLV视频文件?什么是最好的解决方案或插件,这样做
i want to play video files like wmv and flv in my asp.net mvc application? what is the best solution or plugin to do so
推荐答案
这有一点做与ASP.NET MVC和更多地与HTML。您可以在线如何做到这一点在HTML中发现大量的资源:
This has little to do with ASP.NET MVC and more to do with HTML. You'll find numerous resources online of how to do this in HTML:
- 的http://www.walkernews.net/2008/08/17/windows-media-player-how-to-embed-wmv-file-in-html-$c$c/
- 的http://www.walkernews.net/2008/01/11/how-to-embed-flv-flash-in-word$p$pss-or-html/
这是刚刚从一个快速的bing搜索分别为嵌入HTML的wmv和嵌入FLV HTML。有没有在MVC是专为处理WMV / FLV设计。如果你需要从你的控制器使用数据构建嵌入HTML code,你可以从你的模型输出它像通常那样的链接或其他任何东西(即<%= Model.VideoUrl%>)
That was just from a quick bing search for "embed wmv html" and "embed flv html" respectively. There's nothing in MVC that is specifically designed for handling WMV/FLV. If you need to use data from your controller to build the embed HTML code, you can output it from your Model like you normally would for links or anything else (i.e. <%=Model.VideoUrl %>)
这篇关于如何发挥在asp.net mvc的WMV和FLV文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!