开发者

flash video player doesn't display in IE

开发者 https://www.devze.com 2023-01-03 04:28 出处:网络
I cannot see flash video player in IE in this website: www.donatellabernardi.ch/drupal It works in开发者_JS百科 other browsers: For example click on the article \'Test Jacques\' and scroll down, you\'

I cannot see flash video player in IE in this website: www.donatellabernardi.ch/drupal It works in开发者_JS百科 other browsers: For example click on the article 'Test Jacques' and scroll down, you'll see an empty space instead of the video.

Update: this is the code of the video object.. why is this code not working in IE ?

<object data="[site-url]/videoPlayer/bin-debug/videoPlayer.swf?file=[site-url]/[filefield-filepath]" height="445" id="movie_player_1" type="application/x-shockwave-flash" width="640">
<param name="bgColor" value="#FFFFFF" />
<param name="allowfullscreen" value="true" />
<param name="autoplay" value="true" />
<param name="flashvars" value="[site-url]/[filefield-filepath]"/>
</object>

Update: using swfobject:

<script type="text/javascript">
var flashvars = {
 name1: "[site-url]/[filefield-filepath]",
};
var params = {};
var attributes = {};
swfobject.embedSWF("[site-url]/[filefield-filepath]", "[filefield-fid]", "640", "445", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
</script>
<div id="[filefield-fid]"></div>

thanks


Try adding

file=http://www.donatellabernardi.ch/drupal/sites/default/files/files/projects/Test jacques/Video/testVideo.flv

to the flashvars parameter.

Also, you've got 0=movie_player_1 in flashvars which is invalid. Flash variable can't be prefixed with a number or furthermore, be of a numeric type. Try working this out and see if it resolves the case.

UPDATE: it could easily be that the Drupal video module (that I'm assuming you are deploying) is misconfigured or has a malfunction.

0

精彩评论

暂无评论...
验证码 换一张
取 消