TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,219
  • Total Topics: 21,352
  • Online today: 556
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Meshing TP and Wimpy Player in a block (help needed)

Started by iONic, March 31, 2008, 04:31:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iONic

I have the latest version of Wimpy Player (http://www.wimpyplayer.com/index.html) uploaded to my website and the following block code:

<html>
<head>
<title>Wimpy Player</title>
</head>
<body bgcolor="000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="middle">
<!-- START WIMPY PLAYER CODE -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0" width="188" height="300" id="wimpy829">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="http://www.mysite.com/mp3s/wimpy.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="salign" value="lt" />
<param name="bgcolor" value="000000" />
<param name="flashvars" value="wimpyApp=http://www.mysite.com/mp3s/wimpy.php&wimpySkin=http://www.mysite.com/mp3s/skins/skin_ipod.xml&theVolume=65&startPlayingOnload=yes&randomOnLoad=yes&trackPlays=http://www.mysite.com/mp3s/trackscript.php&playlist=http://www.mysite.com/mp3s/Everyday%5FIs%5FA%5FWinding%5FRoad.mp3|http://www.mysite.com/mp3s/All%5FI%5FWanna%5FDo.mp3|http://www.mysite.com/mp3s/Anything%5FBut%5FDown.mp3|http://www.mysite.com/mp3s/Cxmon%5FCxmon.mp3|http://www.mysite.com/mp3s/A%5FChange%5FWould%5FDo%5FYou%5FGood.mp3" />
<embed src="http://www.mysite.com/mp3s/wimpy.swf" flashvars="wimpyApp=http://www.mysite.com/mp3s/wimpy.php&wimpySkin=http://www.mysite.com/mp3s/skins/skin_ipod.xml&theVolume=65&startPlayingOnload=yes&randomOnLoad=yes&trackPlays=http://www.mysite.com/mp3s/trackscript.php&playlist=http://www.mysite.com/mp3s/Everyday%5FIs%5FA%5FWinding%5FRoad.mp3|http://www.mysite.com/mp3s/All%5FI%5FWanna%5FDo.mp3|http://www.mysite.com/mp3s/Anything%5FBut%5FDown.mp3|http://www.mysite.com/mp3s/Cxmon%5FCxmon.mp3|http://www.mysite.com/mp3s/A%5FChange%5FWould%5FDo%5FYou%5FGood.mp3" loop="false" menu="false" quality="high" width="188" height="300" scale="noscale" salign="lt" name="wimpy829" align="center" bgcolor="000000" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<!-- END WIMPY PLAYER CODE -->
</td>
  </tr>
</table>
</body>
</html>


and the player looks good in the block and functions...



The problem I have is that any navigation within the site forum, the page is refreshed and the player restarts the music over again.

So I thought I would create a link in the block to popup the player in its own window.
I used this code:

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=320,left = 20,top = 20');");
}
// End -->
</script>

<hr>
<A HREF="javascript:popUp('http://www.mysite.com/mp3/myWimpy.html')">MUSIC</A><hr>
<hr>


The result was a popup window, but the player did not show up or play in this window?

Are there any TP/Wimpy Player experts that might be able to suggest a way to make this work for me?

Thanks

JPDeni

Did you put your Wimpy code into the file myWimpy.html?

iONic

Quote from: JPDeni on March 31, 2008, 06:00:18 PM
Did you put your Wimpy code into the file myWimpy.html?

Yes I did, but wasn't sure how to use this.
I located a popup window geterator on the wimpy player website and used this to generate specific code to place in a TP Block. This is working now but am having trouble calling the right skin up. The code generator allows for linking to the desired skin, but when the code is generated it does not list the path and specified skin...weird.


JPDeni

So the player is working now, except for the skin you want to use? If that's it, I can't help you. That's something for the folks at the other site to help you with.

iONic

At this point I think I can figure it out.

The ideal solution however would be to navigate the SMF forum with TP and have the ability to navigate within the center blocks or anything that references the center blocks without refreshing the Left or right side blocks. But this, of course, would be far beyond my capability and probably a long time in coming, given there is even a demand for it.

Thanks for you offer for support with TP and Wimpy Player though.


This website is proudly hosted on Crocweb Cloud Website Hosting.