如何上传视频和在asp.net c#中显示它? [英] how to upload a video & display it in asp.net c#?

查看:101
本文介绍了如何上传视频和在asp.net c#中显示它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何上传视频并在asp.net中显示c#?

请帮帮我

how to upload a video & display it in asp.net c#?
please help me out

推荐答案

首先检查一下视频我们是否成功上传到服务器中。如果保存得当,那么您可以使用HTML5视频标签显示该视频,或者您可以使用第三方插件(如流媒体播放器)在该网站上显示该视频。另外该视频的好选项是您可以直接通过iframe嵌入YouTube视频。如果您符合您的要求,这将非常容易。并且搜索谷歌了解更多详细信息,这是一个很好的做法,以回答您的疑问
first check if your video us uploaded successfully or not in the server. if that save properly then you can show that video using HTML5 video tag or you can use third party plugin like flow player to show the video on the site.other and good option for the video is you can directly embed the youtube video by iframe only. that will be very much easy if you that meets with your requirement. and yes search google for more details that is a good practice to get answer your queries


与您的div



with in Your div

<iframe style="max-width: 500px; height: 500px; min-width: 100%;" frameborder="0" src="your youtube embed code" allowfullscreen=""></iframe></iframe>


这篇关于如何上传视频和在asp.net c#中显示它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆