-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwolulayanplayer.html
50 lines (41 loc) · 1.37 KB
/
wolulayanplayer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html>
<head>
<!-- BEGIN RADIO CONFIGURATION -->
<link href='https://annlumia.github.io/blogs/jPlayer-2.9.2/dist/skin/blue.monday/css/jplayer.blue.monday.min.css' rel='stylesheet' type='text/css'/>
<script src='https://annlumia.github.io/blogs/jPlayer-2.9.2/lib/jquery.min.js' type='text/javascript'/>
<script src='https://annlumia.github.io/blogs/jPlayer-2.9.2/dist/jplayer/jquery.jplayer.min.js' type='text/javascript'/>
<script src='https://annlumia.github.io/blogs/wolulasan/radio/stream_src.js'/>
<script type='text/javascript'>
console.log(streaming_url);
$(document).ready(function(){
$("#jplayer").jPlayer({
ready: function (event) {
$(this).jPlayer("setMedia", {
title: "Forum Diskusi Wolulasan",
mp3: streaming_url
}).jPlayer("play");;
},
error: function (event) {
console.log(event.jPlayer.error);
console.log(event.jPlayer.error.type);
},
swfPath: "../../dist/jplayer",
supplied: "mp3",
wmode: "window",
useStateClassSkin: true,
autoBlur: false,
smoothPlayBar: true,
keyEnabled: true,
remainingDuration: true,
toggleDuration: false,
volume: 1.0
});
});
</script>
<!-- END RADIO CONFIGURATION -->
</head>
<body>
<div id='jplayer'></div>
</body>
</html>