Last change
on this file since 28388 was 28388, checked in by davidb, 10 years ago |
Set of JS, CSS, PNG etc web resources to support a mixture of audio player/document display capabilities
|
File size:
425 bytes
|
Line | |
---|
1 | <!DOCTYPE html>
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <script src="../sink.js"></script>
|
---|
5 | </script>
|
---|
6 | </head>
|
---|
7 | <body>
|
---|
8 | <script>
|
---|
9 | (function(){
|
---|
10 |
|
---|
11 | function result () {
|
---|
12 | if (Sink.inlineWorker.working) {
|
---|
13 | console.log('It works');
|
---|
14 | console.log('Worker type: ' + Sink.inlineWorker.type);
|
---|
15 | } else {
|
---|
16 | console.log('It doesn\'t work.');
|
---|
17 | }
|
---|
18 | }
|
---|
19 |
|
---|
20 | Sink.inlineWorker.ready ? result() : Sink.inlineWorker.on('ready', result);
|
---|
21 |
|
---|
22 | }());
|
---|
23 |
|
---|
24 | </script>
|
---|
25 |
|
---|
26 | </body>
|
---|
27 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.