嵌入Youtube视频自动播放-在图像幻灯片的中间
Embedded Youtube Video Autoplay - In the middle of an image sildeshow
寻找一些帮助,以获得从youtube工作作为项目编号4在图像的幻灯片视频嵌入。最终的结果应该是播放前3张图片,一旦它到达第4个项目是视频,它应该自动播放它,一旦视频结束,它应该移动到幻灯片中的下一张图片的顶部。
我的网址是www.serenitygardenrooms.com
不工作的代码片段是:
<section id="home-slider" class="flexslider fullbg"
style="background-image:url(img/slide/home/1_1_.jpg); height:600px; padding:0px;">
花茎。范围。风格。上下文。
<p class="home-slide-content bounceIn animated" data-wow-delay="0.5s" data-wow-duration="10s">
We <span class="highlight">build</span> it
</p>
</div>
</li>
<li class="home-slide">
<div class="flex-caption transparent light-font center flexslider fullbg" style="background-image:url(img/slide/home/2.jpg); height:600px; width:100%; padding:0px; margin-top:0px;">
<p class="home-slide-content bounceInLeft animated" data-wow-delay="0.5s" data-wow-duration="10s" style="margin-top:150px;">
Scape. <span class="highlight">Scope.</span> Style.<span class="highlight"> Context.</span>
</p>
<p class="home-slide-content bounceIn animated" data-wow-delay="0.5s" data-wow-duration="10s">
We <span class="highlight">build</span> it
</p>
</div>
</li>
<li class="home-slide">
<div class="flex-caption transparent light-font center flexslider fullbg" style="background-image:url(img/slide/home/3.jpg); height:600px; width:100%; padding:0px; margin-top:0px;">
<p class="home-slide-content bounceInLeft animated" data-wow-delay="0.5s" data-wow-duration="10s" style="margin-top:150px;">
Scape. <span class="highlight">Scope.</span> Style.<span class="highlight"> Context.</span>
</p>
<p class="home-slide-content bounceIn animated" data-wow-delay="0.5s" data-wow-duration="10s">
We <span class="highlight">build</span> it
</p>
</div>
</li>
<li class="home-slide">
<div class="flex-caption transparent light-font center flexslider fullbg" style="background-image:url(img/slide/home/4.jpg); height:600px; width:100%; padding:0px; margin-top:0px;">
<iframe src="https://www.youtube.com/watch?v=WyjK8mjhjb4?autoplay=1" width="100%" height="600px" frameborder="0" allowfullscreen></iframe>
</div>
</li>
你需要一个事件来捕捉结束的事件,就像在HTML5视频的。还有一个类似的问题:
youtube视频结束时的事件
相关文章:
- jQuery图像幻灯片,在停止后淡出到第一张图像
- 为什么我的图像幻灯片不起作用
- Javascript图像幻灯片;不起作用
- 将视差与图像幻灯片一起使用
- wordpress插件中的jQuery图像幻灯片
- 当我们使用JavaScript点击下一个或上一个按钮时,图像幻灯片播放计时器的速度会加快
- JavaScript循环图像幻灯片
- 简单的HTML图像幻灯片
- 向上一个/下一个图像幻灯片添加计数器(仅限javascript/css)
- 如何使Javascript图像幻灯片缓慢更改图像
- Javascript图像幻灯片
- 我的图像幻灯片代码有什么问题
- 为什么jQuery图像幻灯片在Netbeans中不起作用
- 如何显示来自 mysql 数据库的图像幻灯片
- 更改图像幻灯片放映幻灯片中的图像
- 使用计时器制作图像幻灯片
- 多个图像的 HTML 图像幻灯片放映
- Jquery setTimeout 不起作用(图像幻灯片)
- 使用JavaScript更改背景图像图像以进行图像幻灯片
- 如何制作循环图像幻灯片