为什么缩略图不会在频闪播放器中显示,但是在chrome中工作正常

时间:2013-12-27 07:15:01

标签: javascript internet-explorer swfobject

我的问题是,使用Flash播放器,我正试图嵌入页面缩略图工作ie。在铬合金中,它们显示得很好但是在10而不是拇指钉上它只是一个带有播放按钮的黑盒子。

以下是我用来将播放器嵌入页面的javascript代码。

 $("#vidRecorderHolder").html("<span id='vidRecorderDIV'></span>");
        swfobject.removeSWF("vidRecorder");
        var flashvars = {};
        flashvars.verbose="true";
        flashvars.poster=$scope.thumbnail;
        flashvars.plugin_watermark="swfs/WatermarkPlugin.swf";
        flashvars.watermark_namespace="http://watermarkurk.com";
        flashvars.watermark_url="ct-vector_small4.png";
        flashvars.watermark_vAlign="top";
        flashvars.watermark_hAlign="right";
        flashvars.key="hello";
        flashvars.optimizeBuffering=false;
        flashvars.initialBufferTime=3600;
        flashvars.expandedBufferTime=3600;
        flashvars.minContinuousPlaybackTime=3600;
        var parameters = {};
        parameters.flashvars= $scope.videoLocation;
        parameters.allowscriptaccess="always";
        parameters.wmode="opaque";
        parameters.allowfullscreen="true";
        var attributes = {};
        attributes.name="vidPlayer";
        attributes.id="vidPlayer";

        swfobject.embedSWF("StrobeMediaPlayback.swf?ID="+Math.random()*100,"vidRecorderDIV","300","250","11.2","expressInstall.swf", flashvars, parameters, attributes);

问题是缩略图的http get请求返回了一个0的Get请求。有没有人有任何想法为什么会在IE 10中出现但不在chrome中?

0 个答案:

没有答案