如何在不下载的情况下观看像youtube这样的视频 [英] how to view video like youtube without downloading

查看:122
本文介绍了如何在不下载的情况下观看像youtube这样的视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我源代码如何在没有asp.net下载的情况下观看youtube等视频......

plz tell me source code how to view video like youtube without downloading in asp.net......

推荐答案

转到视频。



如果是youtube,则:



取url,例如:http://www.youtube.com/watch?v=LQwqogQ6Jmc



由于youtube具有嵌入功能,



带走手表?v =并将其替换为:embed /



他们,放一个?最后。



然后,使用嵌入功能。那么, http://www.youtube.com/watch?v=LQwqogQ6Jmc



会变成



< iframe width =640height =360src =http:// www。 youtube.com/embed/LQwqogQ6Jmc?feature=player_detailpageframeborder =0allowfullscreen>< / iframe>
go to the video.

If it were youtube, then:

take url, for example: http://www.youtube.com/watch?v=LQwqogQ6Jmc

Since youtube has an embeding feature,

take away the watch?v= and replace it with: embed/

Them, put a ? at the end.

Then, use the embeding function. So, http://www.youtube.com/watch?v=LQwqogQ6Jmc

would turn into

<iframe width="640" height="360" src="http://www.youtube.com/embed/LQwqogQ6Jmc?feature=player_detailpage" frameborder="0" allowfullscreen></iframe>


这篇关于如何在不下载的情况下观看像youtube这样的视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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