taylordsmith 0 Newbie Poster

Greetings,

I am attempting to paste a javascript music player into my site from the developers at cashmusic.org. The music player displays and plays files correctly in the 'live view' display in Dreamweaver, but will not display at all in browser preview (Chrome & Safari). I have brought up Chrome's javascript console on the page and it displays the javascript as working correctly.

I have never had problems running javascript from any other site, which leads me to believe it is in my code. I am not versed in javascript and have not attempted to examine the actual coding which makes up the music player - I don't ask that you try to do the same either, as there are no complaints on their page about the code itself not working. I am confident that my paths are correct.

Below is a test site that I have set up in order to isolate the player. Any help would be most appreciated.

Thanks,

Taylor Smith

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">



<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<title>music player test</title>


<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.2.4/mootools-yui-compressed.js" language="javascript">
</script>

<script src="scripts/uncompressed/flower_core.js" language="javascript"></script>

<script src="scripts/uncompressed/flower_init.js" language="javascript"></script>


</head>

<body>


 <div id="music" class="flower_soundplayer">

<a href="music/03 Wars in Heaven.mp3"> Wars in Heaven</a>
</div>


</body>
</html>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.