how to run a video clip using asp.net?

老子叫甜甜 提交于 2019-12-02 13:24:23

Nothing to do with asp.net (this is pure html stuff), just write out a html video tag

html5rocks

diveintohtml5

May I suggest this simple code:

<video width="320" height="240" controls>
<source src="videoSource.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

Source: W3Schools

You can use swf files, if you want, in this way:

<embed src="sourceSWF.swf" height="200" width="200">

Good luck!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!