Welcome, Guest
Username: Password: Remember me
Welcome to the Joomcore forum!
News & Update from Joomcore Team!

TOPIC: Information Showing that shouldn't be...

Information Showing that shouldn't be... 8 years 3 months ago #3018

  • charles
  • charles's Avatar
How do I prevent the information in the jquery.html5audio.func file from showing?


/**** tracks in form of data (objects) ****/
/*
parameters:
required:
type: local, podcast, soundcloud, folder, xml, youtube_single, youtube_playlist, ofm_single, ofm_playlist, ofm_project
mp3: mp3 path to audio file (you can also use 'path' instead of 'mp3')
optional:
for local type:
ogg: path to the ogg audio file, NOTE: still required if ogg is used! (not if only mp3 audio format is used)
title: add song title
thumb: thumbnail path
for folder type:
thumb: thumbnail path (otherwise it will automatically assume thumbnail with the same name as mp3 file exist in the same folder, with 'jpg' extension)
for all types:
thumb: backup thumbnail path (if this data type is missing a thumbnail)
download (global download, activates global download button on active playlist item):
- for youtube: enter download url (required!)
- for other types: enter download url or 'true' (true will take mp3 path for download)
dlink: (individual download, creates download icon in playlist)
- for youtube: enter download url (required!)
- for other types: enter download url or 'true' (true will take mp3 path for download)
plink: Enter url (creates url icon in playlist, which links to url, target _blank)
*/

var trackList2_local1 = [
{type: 'local', mp3: '../media/audio/1/Tim_McMorris_-_A_Bright_And_Hopeful_Future.mp3', ogg: '../media/audio/1/Tim_McMorris_-_A_Bright_And_Hopeful_Future.ogg', title: 'Tim McMorris - A Bright And Hopeful Future', thumb: '../media/audio/1/Tim_McMorris_-_A_Bright_And_Hopeful_Future.jpg'},
{type: 'local', mp3: '../media/audio/1/Tim_McMorris_-_Be_My_Valentine.mp3', ogg: '../media/audio/1/Tim_McMorris_-_Be_My_Valentine.ogg', title: 'Tim McMorris - Be My Valentine', thumb: '../media/audio/1/Tim_McMorris_-_Be_My_Valentine.jpg'},
{type: 'local', mp3: '../media/audio/1/Tim_McMorris_-_Give_Our_Dreams_Their_Wings_To_Fly.mp3', ogg: '../media/audio/1/Tim_McMorris_-_Give_Our_Dreams_Their_Wings_To_Fly.ogg', title: 'Tim McMorris - Give Our Dreams Their Wings To Fly'},
{type: 'local', mp3: '../media/audio/1/Tim_McMorris_-_Happy_Days_Are_Here_To_Stay.mp3', ogg: '../media/audio/1/Tim_McMorris_-_Happy_Days_Are_Here_To_Stay.ogg', title: 'Tim McMorris - Happy Days Are Here To Stay'},
{type: 'local', mp3: '../media/audio/1/Tim_McMorris_-_Health_Happiness_Success.mp3', ogg: '../media/audio/1/Tim_McMorris_-_Health_Happiness_Success.ogg', title: 'Tim McMorris - Health Happiness Success'},
{type: 'local', mp3: '../media/audio/1/Tim_McMorris_-_Marketing_Advertising_Music.mp3', ogg: '../media/audio/1/Tim_McMorris_-_Marketing_Advertising_Music.ogg', title: 'Tim McMorris - Marketing Advertising Music'},
{type: 'local', mp3: '../media/audio/3/Bluegestalt_-_Becoming.mp3', ogg: '../media/audio/3/Bluegestalt_-_Becoming.ogg', title: 'Bluegestalt - Becoming'}
];

var trackList2_local2 = [
{type: 'local', mp3: '../media/audio/2/Soundroll_-_Funky_Boom.mp3', ogg: '../media/audio/2/Soundroll_-_Funky_Boom.ogg', title: 'Soundroll - Funky Boom', download: "../media/audio/2/Soundroll_-_Funky_Boom.mp3", thumb: '../media/audio/2/Soundroll_-_Funky_Boom.jpg', plink:'www.google.com', dlink:true},
{type: 'local', mp3: '../media/audio/2/Soundroll_-_Fight_No_More.mp3', ogg: '../media/audio/2/Soundroll_-_Fight_No_More.ogg', title: 'Soundroll - Fight No More'},
{type: 'local', mp3: '../media/audio/2/Soundroll_-_Rush.mp3', ogg:'../media/audio/2/Soundroll_-_Rush.ogg', title: 'Soundroll - Rush'}
];

var trackList2_soundcloud = [
{type: 'soundcloud', path: 'soundcloud.com/trance/trance-single-138-bpm-anvil', download: true, dlink: true, plink:'www.google.com'},
{type: 'soundcloud', path: 'soundcloud.com/an21/favorites' }
];

var trackList2_podcast = [
{type: 'podcast', path: 'www.npr.org/rss/podcast.php?id=510008', download: true},
{type: 'podcast', path: 'feeds.feedburner.com/xpnmusicnotes/', plink:'www.google.com' },
{type: 'podcast', path: 'robertkelly.libsyn.com/rss', dlink: true, plink:'codecanyon.net/user/Tean/portfolio'}


============================

plink:'codecanyon.net/user/Tean/portfolio



var hap_settings9372 = {
/* useOnlyMp3Format: true/false (set to true, and on browsers than do not support mp3, flash will be used to play mp3. Also set to true if you plan on using podcast, soundcloud, youtube, ofm) */
useOnlyMp3Format: true,
/* sound_id: unique string for player identification (if multiple player instances were used, then strings need to be different!) */
sound_id: 'classic_playlist',

/* playlistList: dom elements which holds list of playlists */
playlistList: '#playlist_list9372',
/* activePlaylist: set active playlist that will be loaded on beginning.
param1: hidden (boolean) true/false (visible/hidden playlist)
param2: id (pass element 'id' from the dom)
Leave empty for no playlist loaded at start like this: activePlaylist: '' */
activePlaylist: {hidden: true, id: '#playlist9372'},
/* activeItem: active item to start with when playlist is loaded (0 = first, 1 = second, 2 = third... -1 = none) */
activeItem: 0,

/* autoOpenPlayerInPopup: true/false. Auto open player in popup (removes player in parent window when player in popup opens) */
autoOpenPlayerInPopup: false,
/* autoUpdateWindowData: true/false. Auto update data between parent window and popup window (current (last) playlist, active item, last volume) */
autoUpdateWindowData: true,

/* soundcloudApiKey: If you want to use SoundCloud music, register you own api key here for free:
'soundcloud.com/you/apps/new' and enter Client ID */
soundcloudApiKey: 'fad35cbcedad1ae540fcdeff211b45ae',
/* soundcloud_result_limit: max number of results to retrieve from soundcloud. BEWARE! Some results may contain thousands of songs so keep this in mind!! */
soundcloud_result_limit: 15,

/* podcast_result_limit: max number of results to retrieve from podcast. 250 = max possible results by google api feed. */
podcast_result_limit: 15,
/* yt_playlist_result_limit: max number of results to retrieve from youtube playlist. 200 = max amount youtube playlist can have. */
yt_playlist_result_limit: 15,
/* ofm_result_limit: max number of results to retrieve from official.fm. */
ofm_result_limit: 15,

/*defaultVolume: 0-1 (Irrelevant on ios mobile) */
defaultVolume:0.5,
/*autoPlay: true/false (false on mobile by default) */
autoPlay:1,
/*autoLoad: true/false (auto start sound load) */
autoLoad:false,
/*randomPlay: true/false */
randomPlay:0,
/*loopingOn: true/false (loop on the end of the playlist) */
loopingOn:0,

/* usePlaylistRollovers: true/false. Use rollovers on playlist items (mouseenter, mouseleave + callbacks) */
usePlaylistRollovers: false,
/* playlistItemContent: title/thumb/all. Auto create titles or thumbnails in playlist items, or both. */
playlistItemContent: 'title',
/* useNumbersInPlaylist: true/false. Prepend numbers in playlist items. */
useNumbersInPlaylist: 0,
/* titleSeparator: String to append between song number and title. */
titleSeparator: '. ',

/* autoSetSongTitle: true/false. Auto set song title in 'player_mediaName'. */
autoSetSongTitle: true,

/* useSongNameScroll: true/false. Use song name scrolling. */
useSongNameScroll: 0,
/* scrollSpeed: speed of the scroll (number higher than zero). */
scrollSpeed: 1,
/* scrollSeparator: String to append between scrolling song name. */
scrollSeparator: ' *** ',

/* mediaTimeSeparator: String between current and total song time. */
mediaTimeSeparator: '',

/* useVolumeTooltip: true/false. use tooltip over volume seekbar */
useVolumeTooltip: true,

/* useSeekbarTooltip: true/false. use tooltip over progress seekbar */
useSeekbarTooltip: true,
/* seekTooltipSeparator: String between current and total song position, for progress tooltip. */
seekTooltipSeparator: ' / ',

/* defaultArtistData: Default text for song media name. */
defaultArtistData: 'Artist Name - Artist Title',

/* useBtnRollovers: true/false. Use rollovers on buttons */
useBtnRollovers: false,
/* buttonsUrl: url of the buttons for normal and rollover state */
buttonsUrl: {prev: 'www.mysite.com/modules/mod_jo_audio_play.../icons/set1/prev.png', prevOn: 'www.mysite.com/modules/mod_jo_audio_play...ons/set1/prev_on.png',
next: 'www.mysite.com/modules/mod_jo_audio_play.../icons/set1/next.png', nextOn: 'www.mysite.com/modules/mod_jo_audio_play...ons/set1/next_on.png',
pause: 'www.mysite.com/modules/mod_jo_audio_play...icons/set1/pause.png', pauseOn: 'www.mysite.com/modules/mod_jo_audio_play...ns/set1/pause_on.png',
play: 'www.mysite.com/modules/mod_jo_audio_play.../icons/set1/play.png', playOn: 'www.mysite.com/modules/mod_jo_audio_play...ons/set1/play_on.png',
volume: 'www.mysite.com/modules/mod_jo_audio_play...cons/set1/volume.png', volumeOn: 'www.mysite.com/modules/mod_jo_audio_play...s/set1/volume_on.png',
mute: 'www.mysite.com/modules/mod_jo_audio_play.../icons/set1/mute.png', muteOn: 'www.mysite.com/modules/mod_jo_audio_play...ons/set1/mute_on.png',
download: 'www.mysite.com/modules/mod_jo_audio_play...ns/set1/download.png', downloadOn: 'www.mysite.com/modules/mod_jo_audio_play...set1/download_on.png',
loop: 'www.mysite.com/modules/mod_jo_audio_play.../icons/set1/loop.png', loopOn: 'www.mysite.com/modules/mod_jo_audio_play...ons/set1/loop_on.png',
shuffle: 'www.mysite.com/modules/mod_jo_audio_play...ons/set1/shuffle.png', shuffleOn: 'www.mysite.com/modules/mod_jo_audio_play.../set1/shuffle_on.png',
trackUrlIcon: 'www.mysite.com/modules/mod_jo_audio_play...s/media/data/url.png',
trackDownloadIcon: 'www.mysite.com/modules/mod_jo_audio_play...media/data/dlink.png',
trackRemoveIcon: 'www.mysite.com/modules/mod_jo_audio_play...edia/data/remove.png',
link_play: 'www.mysite.com/modules/mod_jo_audio_play...a/data/link_play.png', link_pause: 'www.mysite.com/modules/mod_jo_audio_play.../data/link_pause.png'},

/* useAlertMessaging: true/false. Alert error messages to user */
useAlertMessaging: true,

/* activatePlaylistScroll: true/false. activate jScrollPane. */
activatePlaylistScroll: true,
/* playlistScrollOrientation: vertical/horizontal. */
playlistScrollOrientation: 'vertical',

/* sortablePlaylistItems: true/false. Make playlist items sortable */
sortablePlaylistItems: true,
/* useRemoveBtnInTracks: true/false. Create remove buttons in playlist items for removing tracks. */
useRemoveBtnInTracks: false,

/* autoReuseMailForDownload: true/false. download backup for ios, save email after client first enters email address and auto send all emails to the same address */
autoReuseMailForDownload: true,

/* useKeyboardNavigation: false/false. Use keyboard navigation for music (space=toggle audio, left arrow=previous media, right arrow=next media, m=toggle volume) */
useKeyboardNavigation: false,

/* getTrackInfoFromID3: false/false. Get track info from id3 tags (title, artist, album, artwork) */
getTrackInfoFromID3: false
};
/* START PLAYER INIT */

var hap_player9372, hap_players = [hap_player9372];
jQuery(document).ready(function($) {
jsReady = true;
var dataArr = [{holder: $('.jomedia9372'), settings:hap_settings9372}];

checkFlash(dataArr);

//init component
hap_players[0] = $('.jomedia9372').html5audio(hap_settings9372);

soundArr = [{player_id: hap_players[0], sound_id: 'classic_playlist'}];

});

/* END PLAYER INIT */
</script>

<!-- first instance -->

<div class="componentWrapper jomedia9372 theme1">

<div class="player_controls">
<div class="controls_prev"><img src='www.mysite.com/modules/mod_jo_audio_play.../icons/set1/prev.png' alt='controls_prev'/></div>
<div class="controls_toggle"><img src='www.mysite.com/modules/mod_jo_audio_play.../icons/set1/play.png' alt='controls_toggle'/></div>
<div class="player_mediaTime_current">00:00</div>
<div class="controls_next"><img src='www.mysite.com/modules/mod_jo_audio_play.../icons/set1/next.png' alt='controls_next'/></div>
<div class="player_progress">
<div class="progress_bg"></div>
<div class="load_progress"></div>
<div class="play_progress"></div>
<div class="player_progress_tooltip"><p></p></div>
</div>

<div class="player_mediaTime_total">00:00</div>

<div class="player_volume_wrapper">
<div class="player_volume"><img src='www.mysite.com/modules/mod_jo_audio_play...cons/set1/volume.png' alt='player_volume'/></div>
<div class="volume_seekbar" data-orientation="vertical" data-autoHide="3000">
<div class="volume_bg"></div>
<div class="volume_level"></div>
<div class="player_volume_tooltip"><p></p></div>
</div>
</div>
</div>

<div class="playlistHolder" style="display: none;">
<div class="componentPlaylist">
<div class="playlist_inner">
<!-- playlist items are appended here! -->
</div>
</div>

<!-- preloader -->
<div class="preloader"></div>
</div>
</div>

<!-- List of playlists -->
<div id="playlist_list9372" class="joplaylist_list">

<!-- local playlist -->
<ul id='playlist9372'>
<li class= "playlistItem" data-type='local' data-mp3="www.mysite.com/media/00z/hway.mp3" data-ogg="www.mysite.com/media/00z/hway.ogg"><a class="playlistNonSelected" href='#'>hway</a></li>

</ul>
</div>

</div></div></div>
</div>
Last Edit: 8 years 3 months ago by charles.
The administrator has disabled public write access.

Information Showing that shouldn't be... 8 years 3 months ago #3019

  • charles
  • charles 's Avatar
  • OFFLINE
  • New Member
  • Posts: 3
  • Karma: 0
I am not able to give you access to my system. And the information thats showing is the same information thats coming from your demo page!

The way you have your player setup lets a hack know where everything is and how things are done which is a bit odd! So I would simply like to know how to edit or remove all the content that show when you check the page source or View Source option in a browser Chrome, Firefox and others.


The information below is from your own demo site. Just take a look at all the information that showing; most of it shouldn't be!!! And why is the demo track from your site showing up on my site with links to files I don't have. And it seem to be coming from the jquery.html5audio.func.js file.

All the demo information and setting options for this module is there for any hacker to use! They don't have to do anything but follow the information in this file! Youtube info, Soundcloud info and anything you set shows up!

SO what I need is a clear and simple answer how do I stop the information in the jquery.html5audio.func.js file from showing? Again check your own demo site and you will see all of the comments on how you should set things, things that a hacker shouldn't know or have access to...

If its not possible to remove this info I would like a refund! I just brought the module on Sunday, by way of PayPal. And how things works or what settings should be used, should not be in a file thats loads or show a hacker how a module works... Why not place this information in a text file that does not become a part of the Webpage Source Information?


Pleases check your demo page source information 80% of the information that shows should not be in the jquery.html5audio.func.js file! Another option can you send me a copy of the module to my email address that does not have the problem outlined above...
The administrator has disabled public write access.

Information Showing that shouldn't be... 8 years 3 months ago #3045

  • Super User
  • Super User's Avatar
  • OFFLINE
  • Administrator
  • Posts: 3519
  • Thank you received: 278
  • Karma: 65
Can you send me joomla administrator via contact form? So we can help you hide the code script in your site and check it
Best regards
Bach Pham
The administrator has disabled public write access.
Time to create page: 0.065 seconds