Yep, I'm still struggling with this. Had a solution (a javascript pop-up player) client didn't like it. Siiiiiigh Thankfully I took a break from this for a while as there were other things to get done.
On this page: http://althea.cs.umass.edu/TMurray/jvInterviewtest.html Which is only partial and just a test - is an accordion panel. In the content are of each panel will be nested divs for the answer text and the audio (they are in the first content panel now) Inside the audio div is an mp3 player (javascript this time - not flash) But - I'm still having that issue of the player itself laying on TOP of the accordion.
Each panel should have the same configuration as the first - a text answer - and an audio player with a recording of that answer to he right. FYI the mp3 isn't linked yet.
Thoughts? Suggestions? Cyanide?
Thanks,
Ev
PS: I'm also not sure where the code to call the script for the player goes - once on the page - or repeated each time in the audio div?
Well - since I can't edit the post above (is there some time limit on edits?) I'll just note down here that I was trying to do the impossible. Can't change the z index of an embedded object.
Now - where the hell is Pancho and his damned donkey? I gotta go find me a new windmill.
I get the following errors from the Errors Console in my browser:
Resource interpreted as script but transferred with MIME type text/html.
http://althea.cs.umass.edu/TMurray/soundpop.js
Resource interpreted as script but transferred with MIME type text/html.
http://althea.cs.umass.edu/TMurray/scripts/BatmosphereAudioEmbed.js
SyntaxError: Parse error
http://althea.cs.umass.edu/TMurray/soundpop.js (line 1)
SyntaxError: Parse error
http://althea.cs.umass.edu/TMurray/scripts/BatmosphereAudioEmbed.js (line 1)
ReferenceError: Can't find variable: embedPlayer
http://althea.cs.umass.edu/TMurray/jvInterviewtest.html (line 111)
You probably need to use the embedPlayer(...) function to call each audio file.
Doesn't the site, where you got the script from, have any documentation on the use of the script?
In my Safari, the player is hidden in the accordeon, so I don't know why other browsers don't.
Since you use an XHTML DOCTYPE, you should use the correct <script> syntax.
Not:
<script language="JavaScript" type="text/JavaScript" src="soundpop.js"></script>
But:
<script type="text/javacript" src="soundpop.js"></script>
BTW, I get a 404 File not found on both .js files.
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)