MitsuMan Posted July 6, 2006 Share Posted July 6, 2006 Helloi have problem when using WPI on Windows media Player if i have music on WPI and i select Media player to be install it dont work...can this be fix Link to comment Share on other sites More sharing options...
sadicq Posted July 6, 2006 Share Posted July 6, 2006 Could you be more precise?I don't quite understand a few things. Are you trying to install the Media Player or just enable it in wpi?If it is the second option, have you used nlite to remove the media player from windows?And something I should have asked first: are you getting an error message? If so, please post a screenshot here or at least write the error here so we can see it. Link to comment Share on other sites More sharing options...
MitsuMan Posted July 6, 2006 Author Share Posted July 6, 2006 HelloSorry i dident get all the things in first post...I have Enable Windows Media Player 10 in WPI Everything works fine all the soft is install whitout any music enableBut when i Enable Music in WPI so when the install menu come to the screen then the song is played but then i get this error if i select Windows Media Player 10 Link to comment Share on other sites More sharing options...
sadicq Posted July 6, 2006 Share Posted July 6, 2006 Please do the following:Open optionswizard.js with a text editor (notepad).Search for the linedocument.all.MediaPlayer.close();Replace the whole line with document.MediaPlayer.stop();Tell me if this is working. Link to comment Share on other sites More sharing options...
MitsuMan Posted July 6, 2006 Author Share Posted July 6, 2006 Hello sadicqThank you very much it seems to be working great now Link to comment Share on other sites More sharing options...
MitsuMan Posted July 11, 2006 Author Share Posted July 11, 2006 Hello againthis dosent work....you need to have windows media player 10 on the pci can hear the sound but when i click begin installation i get the error like the image i have postet...it seems that the pc need media player 10 before the sound can work problerly under installAnyone knows if is possible to intragration Windows Media Player 10 Danish on the XP CD Link to comment Share on other sites More sharing options...
sadicq Posted July 11, 2006 Share Posted July 11, 2006 (edited) So, you removed the media player with nlite?Did you also removed 6.4?If you still have mplayer 6.4 (generally named mplayer2) you can do this:Open wpi.htm in your theme's folder (ex: \Themes\Glossy\wpi.htm)Search for <div id="mediaplayer" style="position:relative; display:block; z-index:100; overflow:hidden; width:300px; height:44px;"> <object id="MediaPlayer" width="300" height="44" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <param name="SendPlayStateChangeEvents" value="1"> <param name="AutoStart" value="1"> <param name="uiMode" value="full"> <param name="PlayCount" value="9999"> <param name="Volume" value="100"> <param name="EnableContextMenu" value="0"> <param name="WindowlessVideo" value="1"> </object> </div> <script type="text/javascript"> if (PlayAudioInWPI) { document.all.MediaPlayer.url='./Audio/WPI.m3u'; } </script>Replace it with<div id="mediaplayerdiv" style="position:relative; display:block; z-index:100; overflow:hidden; width:300px; height:44px;"> <object id="MediaPlayer" width="300" height="44" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject"> <param name="SendPlayStateChangeEvents" value="1"> <param name="AutoStart" value="1"> <param name="PlayCount" value="9999"> <param name="Volume" value="0"> <param name="EnableContextMenu" value="0"> <param name="WindowlessVideo" value="1"> </object> </div> <script type="text/javascript"> if (PlayAudioInWPI) { document.getElementById("MediaPlayer").Filename='./Audio/WPI.m3u'; } </script>Now open optionswizard.js and search forif (PlayAudioInWPI) { document.all.MediaPlayer.close(); document.all.MediaPlayer.url=''; }Replace it withif (PlayAudioInWPI) { document.getElementById("MediaPlayer").stop(); document.getElementById("MediaPlayer").Filename=''; }If you did not remove the media player with nlite, you can do another minor change in optionswizard.js.The code I gave last time worked for me curiosly but it is not correct.So search for if (PlayAudioInWPI) { document.all.MediaPlayer.close(); document.all.MediaPlayer.url=''; }and replace it with if (PlayAudioInWPI) { document.getElementById("MediaPlayer").controls.stop(); document.getElementById("MediaPlayer").url=''; } Edited July 11, 2006 by sadicq Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now