我想通过jquery点击一个html elemnet来播放嵌入式视频,这样它就会弹出一个包含视频的框。 jquery有效但视频无法播放
$("#disp").live('click', function(){
var vm = $(this).attr('class');
$("#overlay").show();
$.ajax({
type: "POST",
url: "zoom.php",
data: "id="+vm,
success: function(data){
$("#zoomer").html(data);
$("#zoomer").slideDown();
}
});
});
这是zoom.php中的flash对象
<object id=0 type="application/x-shockwave-flash" data=player_flv_maxi.swf width=480 height=320>
<param name="movie" value=player_flv_maxi.swf />
<param name="wmode" value="opaque" />
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="quality" value="high" />
<param name="menu" value="true" />
<param name="autoplay" value="false" />
<param name="autoload" value="false" />
<param name="FlashVars" value="flv=Barbee-Love u Anyway.flv&width=480&height=320&autoplay=0&autoload=0&buffer=5&buffermessage=&playercolor=464646&loadingcolor=999898&buttoncolor=ffffff&buttonovercolor=dddcdc&slidercolor=ffffff&sliderovercolor=dddcdc&showvolume=1&showfullscreen=1&playeralpha=100&title=Barbee-Love u Anyway.flv&margin=0&buffershowbg=0" />
</object>
答案 0 :(得分:0)
http://example.com/flash/player.swf代替flash / player.swf