Hi, I have some problems with the code below. Also below the code I have two pictures one from IE one from Chrome.

<object id="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" 
standby="Loading Microsoft Windows® Media Player components..." type="application/x-oleobject" width="280" height="256"> 
<param name="fileName" value="<?php echo $check ?>"> 
<param name="animationatStart" value="false"> 
<param name="transparentatStart" value="false"> 
<param name="autoStart" value="true"> 
<param name="showControls" value="true"> 
<param name="Volume" value="-450"> 
<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="<?php echo $check ?>" name="MediaPlayer1" width="270" height="100" autostart="1" showcontrols="1" volume="-450" align="absmiddle" displaysize="0" autosize="0" > </embed>
</object>

This is the one from Chrome,
http://uploadpic.org/storage/2011/XFxfIh66kAk2np2aBbdqGUNH.jpg
This is the one from IE(all versions same problem)
http://uploadpic.org/storage/2011/4M7Nbu4NHCPiJqqWLYpv4mNNw.jpg

Recommended Answers

All 4 Replies

Member Avatar for diafol

Unless you've messed up $check, this is not a PHP issue.

Unless you've messed up $check, this is not a PHP issue.

Thanks, I saw the code working on IE without PHP coding, but including the php part won't work on IE.

Member Avatar for diafol

Check browser view source. To see what you've inserted - is it what you expect?

it's exactly same with Chrome's, but still no image, no console of media player on IE. Thanks for the tip, I will try different script.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.