Javascript Ustream通道Jquery插件库
我正在为我的一个网站写一个Javascript Ustream通道Jquery插件库,javascript,jquery,html,css,iframe,Javascript,Jquery,Html,Css,Iframe,我正在为我的一个网站写一个插件,我只想在我的网站上嵌入我的Ustream频道,我写了一个非常基本的代码,但是这个代码没有按预期工作,请看这个,这是我到目前为止写的代码 <div class="col-md-12 col-sm-12 playground"> <iframe id="main_player" src="http://www.ustream.tv/embed/21427417?html5ui&autoplay=true&vol
插件
,我只想在我的网站上嵌入我的Ustream频道,我写了一个非常基本的代码,但是这个代码没有按预期工作,请看这个,这是我到目前为止写的代码
<div class="col-md-12 col-sm-12 playground">
<iframe id="main_player" src="http://www.ustream.tv/embed/21427417?html5ui&autoplay=true&volume=90&controls=true&showtitle=true" height="550" frameborder="0" width="100%"></iframe>
</div>
频道代码
<div id="thumbs">
<div class="col-md-3 col-sm-3">
<div class="thumb_me">
<iframe id="" src="http://www.ustream.tv/embed/21427417?html5ui&autoplay=true&volume=0&controls=false&showtitle=false" height="250" frameborder="0" width="100%"></iframe>
<div class="desc text-center">Channel 1</div>
<div class="click_me"></div>
</div>
</div>
<div class="col-md-3 col-sm-3">
<div class="thumb_me">
<iframe id="" src="http://www.ustream.tv/embed/21472172?html5ui&autoplay=true&volume=0&controls=false&showtitle=false" height="250" frameborder="0" width="100%"></iframe>
<div class="desc text-center">Channel 2</div>
<div class="click_me"></div>
</div>
</div>
<div class="col-md-3 col-sm-3">
<div class="thumb_me">
<iframe id="" src="http://www.ustream.tv/embed/21472913?html5ui&autoplay=true&volume=0&controls=false&showtitle=false" height="250" frameborder="0" width="100%"></iframe>
<div class="desc text-center">Channel 3</div>
<div class="click_me"></div>
</div>
</div>
</div>
第一频道
第二频道
第三频道
默认情况下,第一个视频将在div playder
中自动播放,并带有声音,所有其他频道都将在小缩略图中自动播放且没有声音
我只想当有人点击缩略图时,缩略图iframe
视频应该动画化到操场,代替主视频,而不需要重新加载iframe
,在缩略图中播放,并在iframe
src中添加属性&volume=100
这里是的链接
请和我分享你的想法,这样我才能完成