etro 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/.env +2 -0
  2. package/.github/workflows/nodejs.yml +27 -0
  3. package/CHANGELOG.md +109 -0
  4. package/CODE_OF_CONDUCT.md +77 -0
  5. package/CONTRIBUTING.md +155 -0
  6. package/LICENSE +674 -0
  7. package/README.md +57 -0
  8. package/dist/etro.js +3397 -0
  9. package/docs/effect.js.html +1215 -0
  10. package/docs/event.js.html +145 -0
  11. package/docs/index.html +81 -0
  12. package/docs/index.js.html +92 -0
  13. package/docs/layer.js.html +888 -0
  14. package/docs/module-effect-GaussianBlurComponent.html +345 -0
  15. package/docs/module-effect.Brightness.html +339 -0
  16. package/docs/module-effect.Channels.html +319 -0
  17. package/docs/module-effect.ChromaKey.html +611 -0
  18. package/docs/module-effect.Contrast.html +339 -0
  19. package/docs/module-effect.EllipticalMask.html +200 -0
  20. package/docs/module-effect.GaussianBlur.html +202 -0
  21. package/docs/module-effect.GaussianBlurHorizontal.html +242 -0
  22. package/docs/module-effect.GaussianBlurVertical.html +242 -0
  23. package/docs/module-effect.Pixelate.html +330 -0
  24. package/docs/module-effect.Shader.html +1227 -0
  25. package/docs/module-effect.Stack.html +406 -0
  26. package/docs/module-effect.Transform.Matrix.html +193 -0
  27. package/docs/module-effect.Transform.html +1174 -0
  28. package/docs/module-effect.html +148 -0
  29. package/docs/module-event.html +473 -0
  30. package/docs/module-index.html +186 -0
  31. package/docs/module-layer-Media.html +1116 -0
  32. package/docs/module-layer-MediaMixin.html +164 -0
  33. package/docs/module-layer.Audio.html +1188 -0
  34. package/docs/module-layer.Base.html +629 -0
  35. package/docs/module-layer.Image.html +1421 -0
  36. package/docs/module-layer.Text.html +1731 -0
  37. package/docs/module-layer.Video.html +1938 -0
  38. package/docs/module-layer.Visual.html +1698 -0
  39. package/docs/module-layer.html +137 -0
  40. package/docs/module-movie.html +3118 -0
  41. package/docs/module-util.Color.html +702 -0
  42. package/docs/module-util.Font.html +395 -0
  43. package/docs/module-util.html +845 -0
  44. package/docs/movie.js.html +689 -0
  45. package/docs/scripts/collapse.js +20 -0
  46. package/docs/scripts/linenumber.js +25 -0
  47. package/docs/scripts/nav.js +12 -0
  48. package/docs/scripts/polyfill.js +4 -0
  49. package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
  50. package/docs/scripts/prettify/lang-css.js +2 -0
  51. package/docs/scripts/prettify/prettify.js +28 -0
  52. package/docs/scripts/search.js +83 -0
  53. package/docs/styles/jsdoc.css +671 -0
  54. package/docs/styles/prettify.css +79 -0
  55. package/docs/util.js.html +503 -0
  56. package/eslint.conf.js +28 -0
  57. package/eslint.test-conf.js +4 -0
  58. package/examples/application/readme-screenshot.html +86 -0
  59. package/examples/application/video-player.html +131 -0
  60. package/examples/application/webcam.html +28 -0
  61. package/examples/introduction/audio.html +52 -0
  62. package/examples/introduction/effects.html +56 -0
  63. package/examples/introduction/export.html +70 -0
  64. package/examples/introduction/functions.html +35 -0
  65. package/examples/introduction/hello-world1.html +33 -0
  66. package/examples/introduction/hello-world2.html +32 -0
  67. package/examples/introduction/keyframes.html +67 -0
  68. package/examples/introduction/media.html +55 -0
  69. package/examples/introduction/text.html +27 -0
  70. package/jsdoc.conf.json +3 -0
  71. package/karma.conf.js +60 -0
  72. package/package.json +63 -0
  73. package/private-todo.txt +70 -0
  74. package/rename-file.sh +18 -0
  75. package/rename-versions.sh +14 -0
  76. package/rename.sh +22 -0
  77. package/rollup.config.js +31 -0
  78. package/screenshots/2019-08-17_0.png +0 -0
  79. package/scripts/gen-effect-samples.html +99 -0
  80. package/scripts/save-effect-samples.js +43 -0
  81. package/spec/assets/effect/gaussian-blur-horizontal.png +0 -0
  82. package/spec/assets/effect/gaussian-blur-vertical.png +0 -0
  83. package/spec/assets/effect/original.png +0 -0
  84. package/spec/assets/effect/pixelate.png +0 -0
  85. package/spec/assets/effect/transform/multiply.png +0 -0
  86. package/spec/assets/effect/transform/rotate.png +0 -0
  87. package/spec/assets/effect/transform/scale-fraction.png +0 -0
  88. package/spec/assets/effect/transform/scale.png +0 -0
  89. package/spec/assets/effect/transform/translate-fraction.png +0 -0
  90. package/spec/assets/effect/transform/translate.png +0 -0
  91. package/spec/assets/layer/audio.wav +0 -0
  92. package/spec/assets/layer/image.jpg +0 -0
  93. package/spec/effect.spec.js +352 -0
  94. package/spec/event.spec.js +25 -0
  95. package/spec/layer.spec.js +128 -0
  96. package/spec/movie.spec.js +154 -0
  97. package/spec/util.spec.js +285 -0
  98. package/src/effect.js +1265 -0
  99. package/src/event.js +78 -0
  100. package/src/index.js +23 -0
  101. package/src/layer.js +875 -0
  102. package/src/movie.js +636 -0
  103. package/src/util.js +487 -0
@@ -0,0 +1,1116 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+
5
+ <meta charset="utf-8">
6
+ <title>Media - Documentation</title>
7
+
8
+
9
+ <script src="scripts/prettify/prettify.js"></script>
10
+ <script src="scripts/prettify/lang-css.js"></script>
11
+ <!--[if lt IE 9]>
12
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13
+ <![endif]-->
14
+ <link type="text/css" rel="stylesheet" href="styles/prettify.css">
15
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
16
+ <script src="scripts/nav.js" defer></script>
17
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
+ </head>
19
+ <body>
20
+
21
+ <input type="checkbox" id="nav-trigger" class="nav-trigger" />
22
+ <label for="nav-trigger" class="navicon-button x">
23
+ <div class="navicon"></div>
24
+ </label>
25
+
26
+ <label for="nav-trigger" class="overlay"></label>
27
+
28
+ <nav >
29
+
30
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="module-effect.Brightness.html">Brightness</a></li><li><a href="module-effect.Channels.html">Channels</a></li><li><a href="module-effect.ChromaKey.html">ChromaKey</a></li><li><a href="module-effect.Contrast.html">Contrast</a></li><li><a href="module-effect.EllipticalMask.html">EllipticalMask</a></li><li><a href="module-effect.GaussianBlur.html">GaussianBlur</a></li><li><a href="module-effect.GaussianBlurHorizontal.html">GaussianBlurHorizontal</a></li><li><a href="module-effect.GaussianBlurVertical.html">GaussianBlurVertical</a></li><li><a href="module-effect.Pixelate.html">Pixelate</a></li><li><a href="module-effect.Shader.html">Shader</a><ul class='methods'><li data-type='method'><a href="module-effect.Shader.html#._initBuffer">_initBuffer</a></li><li data-type='method'><a href="module-effect.Shader.html#._loadTexture">_loadTexture</a></li><li data-type='method'><a href="module-effect.Shader.html#_prepareValue">_prepareValue</a></li></ul></li><li><a href="module-effect.Stack.html">Stack</a><ul class='methods'><li data-type='method'><a href="module-effect.Stack.html#addEffect">addEffect</a></li></ul></li><li><a href="module-effect.Transform.html">Transform</a><ul class='methods'><li data-type='method'><a href="module-effect.Transform.html#.Matrix#cell">Matrix#cell</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#multiply">Matrix#multiply</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#rotate">Matrix#rotate</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#scale">Matrix#scale</a></li><li data-type='method'><a href="module-effect.Transform.html#.Matrix#translate">Matrix#translate</a></li></ul></li><li><a href="module-effect.Transform.Matrix.html">Matrix</a></li><li><a href="module-effect-GaussianBlurComponent.html">GaussianBlurComponent</a></li><li><a href="module-layer.Audio.html">Audio</a></li><li><a href="module-layer.Base.html">Base</a><ul class='methods'><li data-type='method'><a href="module-layer.Base.html#_render">_render</a></li></ul></li><li><a href="module-layer.Image.html">Image</a></li><li><a href="module-layer.Text.html">Text</a></li><li><a href="module-layer.Video.html">Video</a></li><li><a href="module-layer.Visual.html">Visual</a><ul class='methods'><li data-type='method'><a href="module-layer.Visual.html#_render">_render</a></li><li data-type='method'><a href="module-layer.Visual.html#addEffect">addEffect</a></li></ul></li><li><a href="module-layer-Media.html">Media</a></li><li><a href="module-movie.html">movie</a><ul class='methods'><li data-type='method'><a href="module-movie.html#addEffect">addEffect</a></li><li data-type='method'><a href="module-movie.html#addLayer">addLayer</a></li><li data-type='method'><a href="module-movie.html#pause">pause</a></li><li data-type='method'><a href="module-movie.html#play">play</a></li><li data-type='method'><a href="module-movie.html#publishToLayers">publishToLayers</a></li><li data-type='method'><a href="module-movie.html#record">record</a></li><li data-type='method'><a href="module-movie.html#refresh">refresh</a></li><li data-type='method'><a href="module-movie.html#setCurrentTime">setCurrentTime</a></li><li data-type='method'><a href="module-movie.html#stop">stop</a></li></ul></li><li><a href="module-util.Color.html">Color</a><ul class='methods'><li data-type='method'><a href="module-util.Color.html#toString">toString</a></li></ul></li><li><a href="module-util.Font.html">Font</a><ul class='methods'><li data-type='method'><a href="module-util.Font.html#toString">toString</a></li></ul></li></ul><h3>Modules</h3><ul><li><a href="module-effect.html">effect</a></li><li><a href="module-event.html">event</a><ul class='methods'><li data-type='method'><a href="module-event.html#.publish">publish</a></li><li data-type='method'><a href="module-event.html#.subscribe">subscribe</a></li></ul></li><li><a href="module-index.html">index</a></li><li><a href="module-layer.html">layer</a></li><li><a href="module-movie.html">movie</a><ul class='methods'><li data-type='method'><a href="module-movie.html#addEffect">addEffect</a></li><li data-type='method'><a href="module-movie.html#addLayer">addLayer</a></li><li data-type='method'><a href="module-movie.html#pause">pause</a></li><li data-type='method'><a href="module-movie.html#play">play</a></li><li data-type='method'><a href="module-movie.html#publishToLayers">publishToLayers</a></li><li data-type='method'><a href="module-movie.html#record">record</a></li><li data-type='method'><a href="module-movie.html#refresh">refresh</a></li><li data-type='method'><a href="module-movie.html#setCurrentTime">setCurrentTime</a></li><li data-type='method'><a href="module-movie.html#stop">stop</a></li></ul></li><li><a href="module-util.html">util</a><ul class='methods'><li data-type='method'><a href="module-util.html#.parseColor">parseColor</a></li><li data-type='method'><a href="module-util.html#.parseFont">parseFont</a></li><li data-type='method'><a href="module-util.html#.watchPublic">watchPublic</a></li><li data-type='method'><a href="module-util.html#~isKeyFrames">isKeyFrames</a></li></ul></li></ul><h3>Mixins</h3><ul><li><a href="module-layer-MediaMixin.html">MediaMixin</a></li></ul>
31
+ </nav>
32
+
33
+ <div id="main">
34
+
35
+ <h1 class="page-title">Media</h1>
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+ <section>
44
+
45
+ <header>
46
+
47
+ <h2>
48
+ <span class="ancestors"><a href="module-layer.html">layer</a>~</span>
49
+
50
+ Media
51
+ </h2>
52
+
53
+
54
+ </header>
55
+
56
+ <article>
57
+
58
+ <div class="container-overview">
59
+
60
+
61
+
62
+
63
+
64
+ <h4 class="name" id="Media"><span class="type-signature"></span>new Media<span class="signature">(startTime, media, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
65
+
66
+
67
+
68
+
69
+
70
+
71
+ <dl class="details">
72
+
73
+
74
+ <dt class="tag-source">Source:</dt>
75
+ <dd class="tag-source"><ul class="dummy"><li>
76
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line545">line 545</a>
77
+ </li></ul></dd>
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ </dl>
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+ <h5>Parameters:</h5>
126
+
127
+
128
+ <table class="params">
129
+ <thead>
130
+ <tr>
131
+
132
+ <th>Name</th>
133
+
134
+
135
+ <th>Type</th>
136
+
137
+
138
+ <th>Attributes</th>
139
+
140
+
141
+
142
+
143
+ <th class="last">Description</th>
144
+ </tr>
145
+ </thead>
146
+
147
+ <tbody>
148
+
149
+
150
+ <tr>
151
+
152
+ <td class="name"><code>startTime</code></td>
153
+
154
+
155
+ <td class="type">
156
+
157
+
158
+ <span class="param-type">number</span>
159
+
160
+
161
+
162
+ </td>
163
+
164
+
165
+ <td class="attributes">
166
+
167
+
168
+
169
+
170
+
171
+ </td>
172
+
173
+
174
+
175
+
176
+ <td class="description last"></td>
177
+ </tr>
178
+
179
+
180
+
181
+ <tr>
182
+
183
+ <td class="name"><code>media</code></td>
184
+
185
+
186
+ <td class="type">
187
+
188
+
189
+ <span class="param-type">HTMLVideoElement</span>
190
+
191
+
192
+
193
+ </td>
194
+
195
+
196
+ <td class="attributes">
197
+
198
+
199
+
200
+
201
+
202
+ </td>
203
+
204
+
205
+
206
+
207
+ <td class="description last"></td>
208
+ </tr>
209
+
210
+
211
+
212
+ <tr>
213
+
214
+ <td class="name"><code>options</code></td>
215
+
216
+
217
+ <td class="type">
218
+
219
+
220
+ <span class="param-type">object</span>
221
+
222
+
223
+
224
+ </td>
225
+
226
+
227
+ <td class="attributes">
228
+
229
+ &lt;optional><br>
230
+
231
+
232
+
233
+
234
+
235
+ </td>
236
+
237
+
238
+
239
+
240
+ <td class="description last">
241
+ <h6>Properties</h6>
242
+
243
+
244
+ <table class="params">
245
+ <thead>
246
+ <tr>
247
+
248
+ <th>Name</th>
249
+
250
+
251
+ <th>Type</th>
252
+
253
+
254
+ <th>Attributes</th>
255
+
256
+
257
+
258
+ <th>Default</th>
259
+
260
+
261
+ <th class="last">Description</th>
262
+ </tr>
263
+ </thead>
264
+
265
+ <tbody>
266
+
267
+
268
+ <tr>
269
+
270
+ <td class="name"><code>mediaStartTime</code></td>
271
+
272
+
273
+ <td class="type">
274
+
275
+
276
+ <span class="param-type">number</span>
277
+
278
+
279
+
280
+ </td>
281
+
282
+
283
+ <td class="attributes">
284
+
285
+ &lt;optional><br>
286
+
287
+
288
+
289
+
290
+
291
+ </td>
292
+
293
+
294
+
295
+ <td class="default">
296
+
297
+ <code>0</code>
298
+
299
+ </td>
300
+
301
+
302
+ <td class="description last">at what time in the audio the layer starts</td>
303
+ </tr>
304
+
305
+
306
+
307
+ <tr>
308
+
309
+ <td class="name"><code>duration</code></td>
310
+
311
+
312
+ <td class="type">
313
+
314
+
315
+ <span class="param-type">numer</span>
316
+
317
+
318
+
319
+ </td>
320
+
321
+
322
+ <td class="attributes">
323
+
324
+ &lt;optional><br>
325
+
326
+
327
+
328
+
329
+
330
+ </td>
331
+
332
+
333
+
334
+ <td class="default">
335
+
336
+ <code>media.duration-options.mediaStartTime</code>
337
+
338
+ </td>
339
+
340
+
341
+ <td class="description last"></td>
342
+ </tr>
343
+
344
+
345
+
346
+ <tr>
347
+
348
+ <td class="name"><code>muted</code></td>
349
+
350
+
351
+ <td class="type">
352
+
353
+
354
+ <span class="param-type">boolean</span>
355
+
356
+
357
+
358
+ </td>
359
+
360
+
361
+ <td class="attributes">
362
+
363
+ &lt;optional><br>
364
+
365
+
366
+
367
+
368
+
369
+ </td>
370
+
371
+
372
+
373
+ <td class="default">
374
+
375
+ <code>false</code>
376
+
377
+ </td>
378
+
379
+
380
+ <td class="description last"></td>
381
+ </tr>
382
+
383
+
384
+
385
+ <tr>
386
+
387
+ <td class="name"><code>volume</code></td>
388
+
389
+
390
+ <td class="type">
391
+
392
+
393
+ <span class="param-type">number</span>
394
+
395
+
396
+
397
+ </td>
398
+
399
+
400
+ <td class="attributes">
401
+
402
+ &lt;optional><br>
403
+
404
+
405
+
406
+
407
+
408
+ </td>
409
+
410
+
411
+
412
+ <td class="default">
413
+
414
+ <code>1</code>
415
+
416
+ </td>
417
+
418
+
419
+ <td class="description last"></td>
420
+ </tr>
421
+
422
+
423
+
424
+ <tr>
425
+
426
+ <td class="name"><code>playbackRate</code></td>
427
+
428
+
429
+ <td class="type">
430
+
431
+
432
+ <span class="param-type">number</span>
433
+
434
+
435
+
436
+ </td>
437
+
438
+
439
+ <td class="attributes">
440
+
441
+ &lt;optional><br>
442
+
443
+
444
+
445
+
446
+
447
+ </td>
448
+
449
+
450
+
451
+ <td class="default">
452
+
453
+ <code>1</code>
454
+
455
+ </td>
456
+
457
+
458
+ <td class="description last"></td>
459
+ </tr>
460
+
461
+
462
+ </tbody>
463
+ </table>
464
+
465
+ </td>
466
+ </tr>
467
+
468
+
469
+ </tbody>
470
+ </table>
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+ </div>
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+ <h3 class="subsection-title">Members</h3>
508
+
509
+
510
+
511
+ <h4 class="name" id="duration"><span class="type-signature"></span>duration<span class="type-signature"> :number</span></h4>
512
+
513
+
514
+
515
+
516
+
517
+ <dl class="details">
518
+
519
+
520
+ <dt class="tag-source">Source:</dt>
521
+ <dd class="tag-source"><ul class="dummy"><li>
522
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line658">line 658</a>
523
+ </li></ul></dd>
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+ </dl>
556
+
557
+
558
+
559
+
560
+
561
+
562
+
563
+ <h5>Type:</h5>
564
+ <ul>
565
+ <li>
566
+
567
+ <span class="param-type">number</span>
568
+
569
+
570
+ </li>
571
+ </ul>
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+ <h4 class="name" id="media"><span class="type-signature"></span>media<span class="type-signature"> :HTMLMediaElement</span></h4>
581
+
582
+
583
+
584
+
585
+
586
+ <dl class="details">
587
+
588
+
589
+ <dt class="tag-source">Source:</dt>
590
+ <dd class="tag-source"><ul class="dummy"><li>
591
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line609">line 609</a>
592
+ </li></ul></dd>
593
+
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+ </dl>
625
+
626
+
627
+
628
+
629
+
630
+ <div class="description">
631
+ The raw html media element
632
+ </div>
633
+
634
+
635
+
636
+ <h5>Type:</h5>
637
+ <ul>
638
+ <li>
639
+
640
+ <span class="param-type">HTMLMediaElement</span>
641
+
642
+
643
+ </li>
644
+ </ul>
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+ <h4 class="name" id="mediaStartTime"><span class="type-signature"></span>mediaStartTime<span class="type-signature"> :number</span></h4>
654
+
655
+
656
+
657
+
658
+
659
+ <dl class="details">
660
+
661
+
662
+ <dt class="tag-source">Source:</dt>
663
+ <dd class="tag-source"><ul class="dummy"><li>
664
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line645">line 645</a>
665
+ </li></ul></dd>
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+
677
+
678
+
679
+
680
+
681
+
682
+
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+ </dl>
698
+
699
+
700
+
701
+
702
+
703
+ <div class="description">
704
+ Where in the media the layer starts at
705
+ </div>
706
+
707
+
708
+
709
+ <h5>Type:</h5>
710
+ <ul>
711
+ <li>
712
+
713
+ <span class="param-type">number</span>
714
+
715
+
716
+ </li>
717
+ </ul>
718
+
719
+
720
+
721
+
722
+
723
+
724
+
725
+
726
+ <h4 class="name" id="mediaStartTime"><span class="type-signature"></span>mediaStartTime<span class="type-signature"> :number</span></h4>
727
+
728
+
729
+
730
+
731
+
732
+ <dl class="details">
733
+
734
+
735
+ <dt class="tag-source">Source:</dt>
736
+ <dd class="tag-source"><ul class="dummy"><li>
737
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line652">line 652</a>
738
+ </li></ul></dd>
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+ </dl>
771
+
772
+
773
+
774
+
775
+
776
+ <div class="description">
777
+ Where in the media the layer starts at
778
+ </div>
779
+
780
+
781
+
782
+ <h5>Type:</h5>
783
+ <ul>
784
+ <li>
785
+
786
+ <span class="param-type">number</span>
787
+
788
+
789
+ </li>
790
+ </ul>
791
+
792
+
793
+
794
+
795
+
796
+
797
+
798
+
799
+ <h4 class="name" id="muted"><span class="type-signature"></span>muted<span class="type-signature"> :boolean</span></h4>
800
+
801
+
802
+
803
+
804
+
805
+ <dl class="details">
806
+
807
+
808
+ <dt class="tag-source">Source:</dt>
809
+ <dd class="tag-source"><ul class="dummy"><li>
810
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line663">line 663</a>
811
+ </li></ul></dd>
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+
822
+
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+ </dl>
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+ <h5>Type:</h5>
852
+ <ul>
853
+ <li>
854
+
855
+ <span class="param-type">boolean</span>
856
+
857
+
858
+ </li>
859
+ </ul>
860
+
861
+
862
+
863
+
864
+
865
+
866
+
867
+
868
+ <h4 class="name" id="playbackRate"><span class="type-signature"></span>playbackRate<span class="type-signature"> :number</span></h4>
869
+
870
+
871
+
872
+
873
+
874
+ <dl class="details">
875
+
876
+
877
+ <dt class="tag-source">Source:</dt>
878
+ <dd class="tag-source"><ul class="dummy"><li>
879
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line673">line 673</a>
880
+ </li></ul></dd>
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
+
898
+
899
+
900
+
901
+
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+ <dt class="tag-todo">To Do:</dt>
913
+ <dd class="tag-todo">
914
+ <ul>
915
+ <li><strong>Implement</strong></li>
916
+ </ul>
917
+ </dd>
918
+
919
+ </dl>
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+ <h5>Type:</h5>
928
+ <ul>
929
+ <li>
930
+
931
+ <span class="param-type">number</span>
932
+
933
+
934
+ </li>
935
+ </ul>
936
+
937
+
938
+
939
+
940
+
941
+
942
+
943
+
944
+ <h4 class="name" id="source"><span class="type-signature"></span>source<span class="type-signature"> :MediaStreamAudioSourceNode</span></h4>
945
+
946
+
947
+
948
+
949
+
950
+ <dl class="details">
951
+
952
+
953
+ <dt class="tag-source">Source:</dt>
954
+ <dd class="tag-source"><ul class="dummy"><li>
955
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line617">line 617</a>
956
+ </li></ul></dd>
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+
975
+
976
+
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+ </dl>
989
+
990
+
991
+
992
+
993
+
994
+ <div class="description">
995
+ The audio source node for the media
996
+ </div>
997
+
998
+
999
+
1000
+ <h5>Type:</h5>
1001
+ <ul>
1002
+ <li>
1003
+
1004
+ <span class="param-type">MediaStreamAudioSourceNode</span>
1005
+
1006
+
1007
+ </li>
1008
+ </ul>
1009
+
1010
+
1011
+
1012
+
1013
+
1014
+
1015
+
1016
+
1017
+ <h4 class="name" id="volume"><span class="type-signature"></span>volume<span class="type-signature"> :number</span></h4>
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+ <dl class="details">
1024
+
1025
+
1026
+ <dt class="tag-source">Source:</dt>
1027
+ <dd class="tag-source"><ul class="dummy"><li>
1028
+ <a href="layer.js.html">layer.js</a>, <a href="layer.js.html#line668">line 668</a>
1029
+ </li></ul></dd>
1030
+
1031
+
1032
+
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+
1049
+
1050
+
1051
+
1052
+
1053
+
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+ </dl>
1062
+
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+ <h5>Type:</h5>
1070
+ <ul>
1071
+ <li>
1072
+
1073
+ <span class="param-type">number</span>
1074
+
1075
+
1076
+ </li>
1077
+ </ul>
1078
+
1079
+
1080
+
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+ </article>
1093
+
1094
+ </section>
1095
+
1096
+
1097
+
1098
+
1099
+
1100
+
1101
+ </div>
1102
+
1103
+ <br class="clear">
1104
+
1105
+ <footer>
1106
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Sun Oct 13 2019 15:38:43 GMT-0400 (Eastern Daylight Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
1107
+ </footer>
1108
+
1109
+ <script>prettyPrint();</script>
1110
+ <script src="scripts/polyfill.js"></script>
1111
+ <script src="scripts/linenumber.js"></script>
1112
+
1113
+
1114
+
1115
+ </body>
1116
+ </html>