我有一小iv,在一顿被压后就显示出来。
#popupteaserwidevideo {
display:none;
background-color: #000;
position:absolute;
float:left;
width:640px;
height:360px;
margin-left: 160px;
margin-top: 30px;
z-index: 5;
border:0px;
}
Inside this div is the vimeo iFrame
<div id="popupteaserwidevideo"><iframe src="http://player.vimeo.com/video/27620891?byline=0&portrait=0&autoplay=1" width="640" height="360" frameborder="0"></iframe></div>
本文件。 随时展示或隐藏iv
$(".highlightbutton"), $("#teaser").click(function() {
$("#popupbackground").fadeToggle( slow );
$("#popupteaserwidevideo").fadeToggle( slow );
});
$("#popupbackground").click(function() {
$("#popupbackground").fadeToggle( fast , 0);
$("#popupteaserwidevideo").fadeToggle( fast , 0);
});
This all works just great on all browsers I checked. But on the iPad or iPhone, the div does not show the vimeo video. The sound starts playing sometimes though. I m not the greatest programmer around. Any help would be greatly appreciated.
Thank you, Mark
测试文件载于。