Spaces:
Running
Running
Update js/js.php
Browse files
js/js.php
CHANGED
@@ -25,7 +25,8 @@ $(function (){
|
|
25 |
// Click on utterance line.
|
26 |
$("body").on('click', 'span[name=utterance]',
|
27 |
function(event) {
|
28 |
-
var vid = document.getElementById("speakera");
|
|
|
29 |
|
30 |
// If user clicked "stop" on a playing line, pause video, remove ".playing", change icon to "play".
|
31 |
if(!vid.paused) {
|
|
|
25 |
// Click on utterance line.
|
26 |
$("body").on('click', 'span[name=utterance]',
|
27 |
function(event) {
|
28 |
+
//var vid = document.getElementById("speakera");
|
29 |
+
var vid = document.getElementById( $(this).attr("audiolink") );
|
30 |
|
31 |
// If user clicked "stop" on a playing line, pause video, remove ".playing", change icon to "play".
|
32 |
if(!vid.paused) {
|