Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsp 如何使用youtube API';_Jsp - Fatal编程技术网

Jsp 如何使用youtube API';

Jsp 如何使用youtube API';,jsp,Jsp,伙计们,我需要从一个特定的时间开始youtube视频,这必须通过使用youtube API来完成。我可以使用iframe标记传递参数吗 rel=“0”frameborder=“0”start=allowfullscreen>对于我希望视频开始的总秒数,以及?start=,我将替换?rel=0代码。因此,我的嵌入代码如下所示: <iframe width="560" height="315" src="//www.youtube.com/embed/i_mKY2CQ9Kk?start=399

伙计们,我需要从一个特定的时间开始youtube视频,这必须通过使用youtube API来完成。我可以使用iframe标记传递参数吗


rel=“0”frameborder=“0”start=allowfullscreen>对于我希望视频开始的总秒数,以及?start=,我将替换?rel=0代码。因此,我的嵌入代码如下所示:

<iframe width="560" height="315" src="//www.youtube.com/embed/i_mKY2CQ9Kk?start=399" frameborder="0" allowfullscreen></iframe>

要在本地主机上进行测试,请在src属性中添加http或https,如下所示

<iframe width="560" height="315" src="//www.youtube.com/embed/i_mKY2CQ9Kk?start=399" frameborder="0" allowfullscreen></iframe>

与我们分享您的尝试。