开发者

IE cannot interpret my flash player because of a question mark, but every other browser can

Hey guys, I have another really annoying problem in IE. I am using a php mp3 handler script that I use as a parameter, but it seems to mess everything up just because there is a question mark after .php for my get variables. If I remove the question mark (mp3_handler.php?), the player appears, but with the question mark, it shows up as a text box. The first player works fine. The second just appears as a textbox in IE. The second however works in every other browser!!!

UPDATE: IT SEEMS TO BE THE second QUESTION MARK, but I do not see a way around this.. Oddly enough, the first question mark does not make a difference

    <object width="165" height="37" id="niftyPlayer1" align="">
    <param name=movie value="nifty/niftyplayer.swf?file=song.mp3&as=0">
    <param name="wmode" value="transparent">
    <param name=quality value=high>
    <param name=bgcolor value=#FFFFFF>
    <param name="wmode" value="transparent">
    <embed src="nifty/niftyplayer.swf?file=song.mp3&as=0" quality=high bgcolor=#FFFFFF width="165" height="37" name="niftyPlayer1" align="" type="application/x-shockwave-flash" swLiveConnect="true" wmode="transparent">
    </embed>
    </object>

    <object width="165" height="37" id="niftyPlayer1" align="">
    <param name=movie value="niftyplayer.swf?file=mp3_handler.php?ID=4cf3c07080533cb52ed86631d5aea6af&t=1&topic_id=a3b68d08198628e25c64eb3ad223dfb8&as=1">
    <param name="wmode" value="transparent">
    <param name=quality value=high>
    <param name=bgcolor value=#FFFFFF>
    <param name="wmode" value="transparent">
    <embed src="nifty/niftyplayer.swf?file=mp3_handler.php?ID=4cf3c07080533cb52ed86631d5aea6af&t=1&topic_id=a3b68d08198开发者_StackOverflow中文版628e25c64eb3ad223dfb8" quality=high bgcolor=#FFFFFF width="165" height="37" name="niftyPlayer1" align="" type="application/x-shockwave-flash" swLiveConnect="true" wmode="transparent">
</embed>
</object>


Does this work (urlencode()ing the value):

niftyplayer.swf?file=mp3_handler.php%3FID%3D4cf3c07080533cb52ed86631d5aea6af%26t%3D1%26topic_id%3Da3b68d08198628e25c64eb3ad223dfb8%26as%3D1

I'm not sure which GET variable should go to swf & which to mp3_handler.php, but you get the idea.


http://code.google.com/p/swfobject/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜