Royal Audio Player
FWDRAPUtils.onReady(function(){ new FWDRAP({ //main settings instanceName:"player1", parentId:"myDiv", playlistsId:"playlists", mainFolderPath:"content", skinPath:"modern_skin_dark", showSoundCloudUserNameInTitle:"yes", useDeepLinking:"yes", rightClickContextMenu:"default", showButtonsToolTips:"yes", autoPlay:"yes", loop:"no", shuffle:"no", maxWidth:871, volume:.8, toolTipsButtonsHideDelay:1.5, toolTipsButtonFontColor:"#333333", //controller settings animateOnIntro:"yes", showThumbnail:"yes", showSoundAnimation:"yes", showLoopButton:"yes", showShuffleButton:"yes", showDownloadMp3Button:"yes", showBuyButton:"yes", showShareButton:"yes", expandBackground:"no", titleColor:"#FFFFFF", timeColor:"#888888", //controller align and size settings (described in detail in the documentation!) controllerHeight:85, startSpaceBetweenButtons:10, spaceBetweenButtons:10, separatorOffsetOutSpace:4, separatorOffsetInSpace:7, lastButtonsOffsetTop:7, allButtonsOffsetTopAndBottom:15, titleBarOffsetTop:12, mainScrubberOffsetTop:53, spaceBetweenMainScrubberAndTime:6, startTimeSpace:10, scrubbersOffsetWidth:3, scrubbersOffestTotalWidth:-6, volumeButtonAndScrubberOffsetTop:46, spaceBetweenVolumeButtonAndScrubber:5, volumeScrubberOffestWidth:2, scrubberOffsetBottom:6, equlizerOffsetLeft:2, //playlists window settings showPlaylistsButtonAndPlaylists:"yes", showPlaylistsByDefault:"no", thumbnailSelectedType:"opacity", startAtPlaylist:0, startAtTrack:0, buttonsMargins:7, thumbnailMaxWidth:350, thumbnailMaxHeight:350, horizontalSpaceBetweenThumbnails:40, verticalSpaceBetweenThumbnails:40, //playlist settings showPlayListButtonAndPlaylist:"yes", showPlayListOnAndroid:"yes", showPlayListByDefault:"yes", showPlaylistItemPlayButton:"yes", showPlaylistItemDownloadButton:"no", showPlaylistItemBuyButton:"yes", forceDisableDownloadButtonForPodcast:"yes", forceDisableDownloadButtonForOfficialFM:"yes", forceDisableDownloadButtonForFolder:"yes", addScrollBarMouseWheelSupport:"yes", showTracksNumbers:"yes", playlistBackgroundColor:"#000000", trackTitleNormalColor:"#888888", trackTitleSelectedColor:"#FFFFFF", trackDurationColor:"#888888", maxPlaylistItems:100, nrOfVisiblePlaylistItems:12, trackTitleOffsetLeft:0, playPauseButtonOffsetLeftAndRight:11, durationOffsetRight:9, downloadButtonOffsetRight:11, scrollbarOffestWidth:7, //search bar settings showSearchBar:"yes", showSortButtons:"yes", searchInputColor:"#888888", searchBarHeight:42, inputSearchTextOffsetTop:1, inputSearchOffsetLeft:0, //popup settings showPopupButton:"no", popupWindowBackgroundColor:"#878787", popupWindowWidth:800, popupWindowHeight:429 }); })
function buyCustomFunction(){ alert("The buy button can open a custom link or a custom javascript function."); }