ADVrider

Go Back   ADVrider > Fluff > Shiny things
User Name
Password
Register Inmates Photos Site Rules Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread Display Modes
Old 03-19-2014, 10:28 PM   #1
NikonsAndVStroms OP
Beastly Photographer
 
NikonsAndVStroms's Avatar
 
Joined: Jun 2007
Location: The Hub of the Universe
Oddometer: 34,578
JQuery Problem

I built a site awhile back with Adobe Muse to do a quick HTML version and now I'm trying to spruce it up a bit and he wanted a custom audio player. So I have an open source one (JPlayer) that is pretty good but Muse uses JQuery too so unless I delete the bit of script from the Muse page it wont work.

What I'm hoping to find is something that I can add at the bottom of the page (which would be before the Muse JQuery is added) to in essence turn the audio players off. Or at least a way to isolate it.

So here's the player's Jquery bit:


HTML Code:
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.jplayer.min.js"></script>
<script type="text/javascript">
//<![CDATA[
$(document).ready(function(){

	$("#jquery_jplayer_1").jPlayer({
		ready: function (event) {
			$(this).jPlayer("setMedia", {
				mp3:"test.mp3"
			});
		},
		swfPath: "js",
		supplied: "mp3",
		wmode: "window",
		smoothPlayBar: true,
		keyEnabled: true
	});
});
//]]>
</script>



And the snip it from Muse (which is automatically inserted and can't be modified):


HTML Code:
<script type="text/javascript">
   if (document.location.protocol != 'https:') document.write('\x3Cscript src="http://musecdn.businesscatalyst.com/scripts/4.0/jquery-1.8.3.min.js" type="text/javascript">\x3C/script>');
</script>
  <script type="text/javascript">
   window.jQuery || document.write('\x3Cscript src="/scripts/jquery-1.8.3.min.js" type="text/javascript">\x3C/script>');
</script>
  <script src="/scripts/museutils.js?4037657309" type="text/javascript"></script>
(sorry about it being in windows like that, ADV I guess tried to run it so it needed "HTML" tags to show up)

I haven't had any bites on the adobe forum but ADV knows all......so any ideas?
__________________
Motorcycles save lives


"It's the game of life. Do I win or do I lose? One day they're gonna shut the game down. I gotta have as much fun and go around the board as many times as I can before it's my turn to leave."
NikonsAndVStroms is online now   Reply With Quote
Reply

Share

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


Times are GMT -7.   It's 02:15 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ADVrider 2011-2014