我有一个搜索引擎,它会显示一个URL列表,它会将您重定向到网站,我将如何才能获得视频?
这是示例网址列表
https://archive.org/details/nazi_concentration_camps
http://www.kumby.com/teekyuu-3-episode-9/
https://www.youtube.com/watch?v=fI3zBtE_S_k
PHP或jquery或javascript中是否有代码?或任何它只会获得嵌入视频并将其显示在iframe或popupwindow或任何东西?的fancybox?
我只是一个新的程序员。所以请帮助我。在此先感谢:)
答案 0 :(得分:1)
<iframe id="player1" src="http://www.kumby.com/teekyuu-3-episode-9/?api=1&player_id=player_1" width="500" height="500" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
答案 1 :(得分:0)
抱歉;
<iframe id="player1" src="http://www.kumby.com/teekyuu-3-episode-9/" width="300" height="210" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
答案 2 :(得分:0)
您需要使用videoUrl,然后您将链接到iframe。
<iframe width="560" height="315" src="//www.youtube.com/embed/fI3zBtE_S_k" frameborder="0" allowfullscreen></iframe>