Configuration Audio Player with Playlist V2 PHP Script


Configuration Audio Player with Playlist V2 PHP Script

 


ParameterDescription
instanceNameUnique identifier for player api (instance name must be unique for each instance!).
sourcePathThe root location path where all plugin files are located.
playlistListSelector for element which holds list of playlists that can be loaded in the player on start or by request using api method loadMedia.
activePlaylistactive playlist to start with from playlistList element.
Leave empty for no playlist loaded.
Check working with playlist section for more info.
activeItemactive playlist item to start with.
Enter number, -1 = no playlist item loaded, 0 = first playlist item, 1 = second playlist item.. etc;
Check working with playlist section for more info.
volume0-1 (number)
autoPlaytrue / false. Defaults to false on mobile.
preloadauto/metadata/none. html5 preload media attribute
randomPlaytrue / false. Randomize playback in playlist.
loopingOntrue / false. On playlist end (last item in playlist) rewind to beginning
autoAdvanceToNextMediatrue / false (false = loop current song)
mediaEndActionloop/rewind/stop. Applies if ‘Auto advance to next media’ is false.
youtubeAppIdYoutube application id, tutorial here: https://www.youtube.com/watch?v=pJSkp719HeE
soundCloudAppIdSoundCloud application id, register here: http://soundcloud.com/you/apps/new and enter Client ID.
gDriveAppIdGoogle drive api key, register here: https://console.developers.google.com create new project, enable Google Drive API, create Credentials, API key, enter referrer (your domain, you can also use ‘http://localhost’ referrer for local testing).
usePlaylistScrolltrue / false. Use playlist scroll
playlistScrollOrientationvertical / horizontal. Scroll plugin used: http://manos.malihu.gr/jquery-custom-content-scroller/
playlistScrollThemestring. Scroll themes from here: http://manos.malihu.gr/repository/custom-scrollbar/demo/examples/scrollbar_themes_demo.html
useTooltipstrue / false. Use tooltips on buttons. Defaults to false on mobile.
useKeyboardNavigationForPlaybacktrue / false. Keyboard navigation for media (left arrow = previous media, right arrow = next media, space = toggle playback, m = toggle mute)
useDownloadtrue / false
autoReuseDownloadMailtrue / false. For media download on mobile. Save and reuse user email after first input.
useSharetrue / false
Supported sharing sites are Facebook, Twitter, Tumblr, Google Plus.
If you would like to modify sharing content look into HAPShareManager object.
facebookAppIdFacebook application id, create new application here: https://developers.facebook.com/apps and enter App ID
useNumbersInPlaylisttrue / false. Use numbers in front of title in playlist.
numberTitleSeparatorSeparator between number and title in playlist
artistTitleSeparatorSeparator between artist and title in playlist (title in playlist consist of artist + title, if both are available)
useTitleScrolltrue / false. Auto scroll song title.
titleScrollSpeedSong title scroll speed (number)
titleScrollSeparatorSeparator between repeated song titles
sortableTrackstrue / false. Sortable tracks in playlist. Defaults to false on mobile. Requires jquery ui and touch-punch.
playlistItemContenttitle, thumb (string). Creates title and/or thumb in playlist items. Enter one or both separated by comma.
continousPlaybacktrue / false. Option for continous playback across different pages by remembering playback position using localStorage (remembers active playlist, active item, played time).
continousKey/td>Unique identifier for localStorage continous playback (string, no spacing!).

 



Find More related Configuration Audio Player with Playlist V2 PHP Script


Have any Question or Comment?

Leave a Reply

Your email address will not be published. Required fields are marked *