Skip to content

Commit ed23b6b

Browse files
committed
Minor demo issues
1 parent 2ef2de8 commit ed23b6b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/MediaPlayer/MediaPlayer.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h2>Sorry!</h2>
146146
http://code.createjs.com -->
147147

148148
<!-- other libraries -->
149-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
149+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
150150

151151
<script type="text/javascript" id="editable">
152152
function init() {
@@ -249,7 +249,7 @@ <h2>Sorry!</h2>
249249
if (seeking) {
250250
return;
251251
}
252-
$("#thumb").css("left", instance.getPosition() / instance.getDuration() * $("#track").width());
252+
$("#thumb").css("left", instance.position / instance.duration * $("#track").width());
253253
}, 30);
254254
}
255255
</script>

examples/TestSuite.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,8 @@ <h2>Sorry!</h2>
252252
with the device and browser you are using. Thank you.</p>
253253
</div>
254254

255-
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
256-
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
255+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
256+
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"></script>
257257

258258
<script type="text/javascript" src="../lib/soundjs-NEXT.js"></script>
259259
<!-- Note: FlashAudioPlugin is only needed to support older browsers -->

0 commit comments

Comments
 (0)