ajax加载flash swf出来是空的
我通过 IE 中的 jquery.load() 加载 soundcloud 嵌入式播放器
,每当 swf 位于其中时,加载就会冻结并变得不完整。 如果没有,则查询工作正常。它在 Chrome、Firefox 和 Safari 上也能正常工作。
function ajaxLoad(id){
var url = "http://www.konstructive.com/projects/karlssonwinnberg/?page_id=118&cat="+id;
$('#container').empty();
$('#container').load(url, function(){
$('#container').masonry('reload');
Shadowbox.clearCache();
Shadowbox.setup();
//Masonry();
ClickOptions();
});
return false;
对象
看起来像这样
<div class="item">
<object height="571" width="571"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F24256938&auto_play=false&player_type=artwork&color=000000"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="571" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F24256938&auto_play=false&player_type=artwork&color=000000" type="application/x-shockwave-flash" width="571"></embed> </object>
</div>
你可以在这里查看演示版本 http://www.konstructive.com/projects/karlssonwinnberg/
和 ajax 加载页面位于此处 http://www.konstructive.com/projects/karlssonwinnberg/?page_id =118&cat=0
还有其他方法使用ajax加载flash吗? 非常感谢任何帮助
im loading soundcloud embedded players in via jquery .load()
in IE whenever an swf is in it the load freezes and becomes incomplete.
if there isnt one the query works fine. it also works fine on chrome, Firefox and Safari.
function ajaxLoad(id){
var url = "http://www.konstructive.com/projects/karlssonwinnberg/?page_id=118&cat="+id;
$('#container').empty();
$('#container').load(url, function(){
$('#container').masonry('reload');
Shadowbox.clearCache();
Shadowbox.setup();
//Masonry();
ClickOptions();
});
return false;
}
object looks like this
<div class="item">
<object height="571" width="571"> <param name="movie" value="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F24256938&auto_play=false&player_type=artwork&color=000000"></param> <param name="allowscriptaccess" value="always"></param> <embed allowscriptaccess="always" height="571" src="http://player.soundcloud.com/player.swf?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F24256938&auto_play=false&player_type=artwork&color=000000" type="application/x-shockwave-flash" width="571"></embed> </object>
</div>
you can check out the demo version here
http://www.konstructive.com/projects/karlssonwinnberg/
and the ajax load page here
http://www.konstructive.com/projects/karlssonwinnberg/?page_id=118&cat=0
is there another way to load flash using ajax?
any help is much appreciated
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论