TIGSource Forums

Developer => Technical => Topic started by: BlueSweatshirt on January 09, 2011, 02:15:22 AM



Title: JAI
Post by: BlueSweatshirt on January 09, 2011, 02:15:22 AM
http://bocoup.com/open-source/jai/

Is there anybody that can get this to work?
It should be making it so I can play the same audio event without restarting the currently playing one. However, that's not happening, so I fear I might be setting it up wrong.

I'm currently just using
Code:
<div id="jai">
    <audio tags..../>
</div>
to implement the JAI, since that's all it says you need to do.
Did I overlook something?


Title: Re: JAI
Post by: bateleur on January 09, 2011, 02:53:05 AM
Just to check the obvious: Do you have...

Code:
<script type="text/javascript" src="jai.js"></script>

...in the header of your page?

And also, do you have the jai.js script saved in the same directory as your page?


Title: Re: JAI
Post by: BlueSweatshirt on January 09, 2011, 09:50:26 AM
Indeed I do.  :)
Just double-checked.