Wimpy MP3 Player API

Server Side

Actions:
serveMP3
downloadfile
dir
phpinfo
feedPlaylist
getCoverart
podcast

Directives:
wimpyConfigFile
media_types
wimpy_auth
getMyid3info
ecommerce
ecomWindow
useMysql
defaultVisualBaseName
defaultVisualExt
hide_folders
hide_files
startDir
getid3libPath
httpOption
blockPHPinfo

Client Side

wimpyApp
wimpySkin
startPlayingOnload
randomOnLoad
shuffleOnLoad
displayDownloadButton
autoAdvance
popUpHelp
forceDownload
startOnTrack
trackPlays
voteScript
getMyid3info
forceXMLplaylist
useSysCodePage
ecommerce
ecomWindow
useMysql
scrollInfoDisplay
infoDisplayTime
bufferAudio
theVolume
defaultImage
loopPlaylist
limitPlaytime
startupLogo

HTML display

wimpySkin
wimpySwf
bkgdColor
tptBkgd
wimpyHTMLpageTitle
useSysCodePage

 

 

 

ecomWindow

ecomWindow -- Opens hyperlinks in the designated window.

Usage

wimpy.swf?ecomWindow=windowName

Description

This option can be used to direct hyperlinks out of the player to a targeted window. Hyperlinks out of the player include the mini-shopping cart icon or the graphic container (when activated -- see "Using Cover Art") .

By default, Wimpy will target "_blank" -- when this option is set Wimpy directs the 'target" attribute of the <a href> hyperlink to the window name that is defined with this option.

Usually, the <a href> "target" attribute refers to an HTML frame name. However, you can use JavaScript to establish a "window name" for any HTML page. For more information on establishing a "window name" for an HTML page, Google for:

JavaScript window.name

 


NOTE: For some reason, Internet Explorer only recognizes lowercase characters when using "standard" window naming conventions such as _blank, _parent, _self and _top.

 


NOTE: If you are not using an HTML frameset, and are just popping up a new window, the page that is popped up needs to have the window name explicitly set.

In Mozilla based browsers, when a new window is opened using a javascript method that references a "window name," Mozilla-based browsers will automatically apply the "window name" to the browser window instance.

In Internet Explorer ( IE ) the window name that was defined in the javascript function to open the browser window instance is not automatically applied.

This means that you will have to some javascript in the HTML page that is popped up so that it will have the window name explicitly set.

Here is some Javascript code that you can use to explicitly set the window name. Put this code in the "head" of the page that is popped up:

<HTML>
<HEAD>

<SCRIPT TYPE="text/javascript">
window.name='purchaseWindow';
</SCRIPT>


</HEAD>
<BODY>
your content
</BODY>
</HTML>

Where "purchaseWindow" is the name defined for this option.

 


 

See also

Using Cover Art, ecommerce

.

 

ecomWindow

 

 



©2002-2008 Plaino.