闪存不会在Mozilla中播放 [英] flash does not play in mozilla

查看:100
本文介绍了闪存不会在Mozilla中播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..

我有一个adobe flash player的代码.Ther播放器在IE中播放.mp3文件。但是当我在Mozilla中播放时,它会发出loading ...。并且文件永远不会播放。


需要指导并帮助解决这个问题.......


谢谢

vinni

hi..
i have a code with adobe flash player.Ther player plays an .mp3 file in the IE .but when i play it in Mozilla it issues "loading..." and the file never plays.

Need guidence and help to solve this .......

thanks
vinni

推荐答案

请发布您用于嵌入Flash视频的代码。


谢谢
please post your code that you are using to embed your flash video.

thank you


非常感谢您的回复..



// html标签


[HTML]< a href =" javascript :playsong(''WohBheegePal-JayeshGandhi.mp3'')">点击此处收听音频< / a>

//如果你点击链接电话 - playsong(带有歌名)


<! - 她是playong的代码 - >


功能播放(声音)

{

thisMovie(" Mp3Player")。asFunc(声音);

}

<! - 调用一个名为thisMovie(播放器的id)的方法 - >

<! - 这里声音是参数 - 只有文件名 - >


<! - 代码for thisMovie - >

函数thisMovie(movieName)

{

var isIE = navigator.appName.indexOf(" Microsoft") != -1;

// alert(isIE);

return(isIE)? window [movieName]:document [movieName];

}

/ *在IE中正确播放aduio文件但在Mozilla中没有播放.. * \


<带有EMBED的对象标签>

< object classid =" clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"基本代码= QUOT; HTTP://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"名称= QUOT;&MP3播放机QUOT;宽度= QUOT; 300"高度= QUOT; 30英寸; ID = QUOT;&MP3播放机QUOT;标题= QUOT;&MP3播放机QUOT; >

< param name =" movie" value =" Mp3Player.swf">

< param name =" quality" value =" high">

< embed src =" Mp3Player.swf"宽度= QUOT; 300"高度= QUOT; 30英寸;质量=&是高电平QUOT; PLUGINSPAGE = QUOT; HTTP://www.macromedia.com/go/getflashplayer"类型= QUOT;应用程序/ x-冲击波闪光"名称= QUOT;&MP3播放机QUOT; >< / embed>

< / object>

[/ HTML]


期待解决方案。 ...

再次感谢

vinni
Thanks so much for the reply..


//html tag

[HTML]<a href="javascript:playsong(''WohBheegePal-JayeshGandhi.mp3'')">click here to listen the audio</a>
//if you click on the link calls--playsong(with the songname)

<!-- her is the code for playsong-->

function playsong(sound)
{
thisMovie("Mp3Player").asFunc(sound);
}
<!-- calls a method called "thisMovie(id-of the player)"-->
<!--here sound is parameter --its nothing but the file name-->

<!-- code for thisMovie-->
function thisMovie(movieName)
{
var isIE = navigator.appName.indexOf("Microsoft") != -1;
// alert(isIE);
return (isIE) ? window[movieName] : document[movieName];
}
/* plays the aduio file correctly in IE but not in Mozilla..*\

<OBJECT TAG WITH EMBED>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" name="Mp3Player" width="300" height="30" id="Mp3Player" title="Mp3Player" >
<param name="movie" value="Mp3Player.swf">
<param name="quality" value="high">
<embed src="Mp3Player.swf" width="300" height="30" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="Mp3Player" ></embed>
</object>
[/HTML]

Looking forward for a solution ....
Thanks again
vinni


发布代码时请使用CODE标签,例如

[CODE = javascript] Javascript代码... [/ code]

[CODE = html] HTML code ... [/ code]
Please use CODE tags when posting code, e.g.
[CODE=javascript]Javascript code...[/code]
[CODE=html]HTML code...[/code]


这篇关于闪存不会在Mozilla中播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆