videojs-mobile-ui 1.1.4 → 1.2.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 (47) hide show
  1. package/README.md +104 -53
  2. package/dist/videojs-mobile-ui.cjs.js +194 -42
  3. package/dist/videojs-mobile-ui.css +6 -0
  4. package/dist/videojs-mobile-ui.es.js +194 -42
  5. package/dist/videojs-mobile-ui.js +194 -42
  6. package/dist/videojs-mobile-ui.min.js +2 -2
  7. package/docs/api/TouchOverlay.html +772 -0
  8. package/docs/api/fonts/OpenSans-Bold-webfont.eot +0 -0
  9. package/docs/api/fonts/OpenSans-Bold-webfont.svg +1830 -0
  10. package/docs/api/fonts/OpenSans-Bold-webfont.woff +0 -0
  11. package/docs/api/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  12. package/docs/api/fonts/OpenSans-BoldItalic-webfont.svg +1830 -0
  13. package/docs/api/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  14. package/docs/api/fonts/OpenSans-Italic-webfont.eot +0 -0
  15. package/docs/api/fonts/OpenSans-Italic-webfont.svg +1830 -0
  16. package/docs/api/fonts/OpenSans-Italic-webfont.woff +0 -0
  17. package/docs/api/fonts/OpenSans-Light-webfont.eot +0 -0
  18. package/docs/api/fonts/OpenSans-Light-webfont.svg +1831 -0
  19. package/docs/api/fonts/OpenSans-Light-webfont.woff +0 -0
  20. package/docs/api/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  21. package/docs/api/fonts/OpenSans-LightItalic-webfont.svg +1835 -0
  22. package/docs/api/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  23. package/docs/api/fonts/OpenSans-Regular-webfont.eot +0 -0
  24. package/docs/api/fonts/OpenSans-Regular-webfont.svg +1831 -0
  25. package/docs/api/fonts/OpenSans-Regular-webfont.woff +0 -0
  26. package/docs/api/global.html +1485 -0
  27. package/docs/api/index.html +159 -0
  28. package/docs/api/plugin.js.html +266 -0
  29. package/docs/api/scripts/linenumber.js +25 -0
  30. package/docs/api/scripts/prettify/Apache-License-2.0.txt +202 -0
  31. package/docs/api/scripts/prettify/lang-css.js +2 -0
  32. package/docs/api/scripts/prettify/prettify.js +28 -0
  33. package/docs/api/styles/jsdoc-default.css +358 -0
  34. package/docs/api/styles/prettify-jsdoc.css +111 -0
  35. package/docs/api/styles/prettify-tomorrow.css +132 -0
  36. package/docs/api/swipeFullscreen.js.html +173 -0
  37. package/docs/api/touchOverlay.js.html +203 -0
  38. package/index.html +238 -170
  39. package/package.json +6 -4
  40. package/scripts/netlify.js +16 -0
  41. package/scripts/readme-options.js +370 -0
  42. package/src/plugin.css +6 -0
  43. package/src/plugin.js +64 -38
  44. package/src/swipeFullscreen.js +122 -0
  45. package/src/touchOverlay.js +6 -2
  46. package/test/plugin.test.js +57 -41
  47. package/test/swipeFullscreen.test.js +365 -0
@@ -0,0 +1,1485 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>JSDoc: Global</title>
6
+
7
+ <script src="scripts/prettify/prettify.js"> </script>
8
+ <script src="scripts/prettify/lang-css.js"> </script>
9
+ <!--[if lt IE 9]>
10
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11
+ <![endif]-->
12
+ <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
13
+ <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
14
+ </head>
15
+
16
+ <body>
17
+
18
+ <div id="main">
19
+
20
+ <h1 class="page-title">Global</h1>
21
+
22
+
23
+
24
+
25
+
26
+
27
+ <section>
28
+
29
+ <header>
30
+
31
+ <h2></h2>
32
+
33
+
34
+ </header>
35
+
36
+ <article>
37
+ <div class="container-overview">
38
+
39
+
40
+
41
+
42
+
43
+
44
+ <dl class="details">
45
+
46
+
47
+
48
+
49
+
50
+
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+ </dl>
78
+
79
+
80
+
81
+
82
+ </div>
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+ <h3 class="subsection-title">Members</h3>
98
+
99
+
100
+
101
+ <h4 class="name" id="Component"><span class="type-signature">(constant) </span>Component<span class="type-signature"></span></h4>
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+ <dl class="details">
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <dt class="tag-source">Source:</dt>
140
+ <dd class="tag-source"><ul class="dummy"><li>
141
+ <a href="touchOverlay.js.html">touchOverlay.js</a>, <a href="touchOverlay.js.html#line11">line 11</a>
142
+ </li></ul></dd>
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+ </dl>
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+ <h4 class="name" id="defaults"><span class="type-signature">(constant) </span>defaults<span class="type-signature"> :<a href="global.html#MobileUiOptions">MobileUiOptions</a></span></h4>
160
+
161
+
162
+
163
+
164
+
165
+
166
+ <h5>Type:</h5>
167
+ <ul>
168
+ <li>
169
+
170
+ <span class="param-type"><a href="global.html#MobileUiOptions">MobileUiOptions</a></span>
171
+
172
+
173
+ </li>
174
+ </ul>
175
+
176
+
177
+
178
+
179
+
180
+ <dl class="details">
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+
207
+ <dt class="tag-source">Source:</dt>
208
+ <dd class="tag-source"><ul class="dummy"><li>
209
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line54">line 54</a>
210
+ </li></ul></dd>
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+ </dl>
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ <h3 class="subsection-title">Methods</h3>
230
+
231
+
232
+
233
+
234
+
235
+
236
+
237
+ <h4 class="name" id="getOrientation"><span class="type-signature"></span>getOrientation<span class="signature">()</span><span class="type-signature"> &rarr; {string}</span></h4>
238
+
239
+
240
+
241
+
242
+
243
+
244
+ <div class="description">
245
+ Gets 'portrait' or 'lanscape' from the two orientation APIs
246
+ </div>
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+
260
+ <dl class="details">
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+ <dt class="tag-source">Source:</dt>
288
+ <dd class="tag-source"><ul class="dummy"><li>
289
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line79">line 79</a>
290
+ </li></ul></dd>
291
+
292
+
293
+
294
+
295
+
296
+
297
+
298
+ </dl>
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+ <h5>Returns:</h5>
315
+
316
+
317
+ <div class="param-desc">
318
+ orientation
319
+ </div>
320
+
321
+
322
+
323
+ <dl>
324
+ <dt>
325
+ Type
326
+ </dt>
327
+ <dd>
328
+
329
+ <span class="param-type">string</span>
330
+
331
+
332
+ </dd>
333
+ </dl>
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+
347
+ <h4 class="name" id="initSwipe"><span class="type-signature"></span>initSwipe<span class="signature">(player, pluginOptions)</span><span class="type-signature"></span></h4>
348
+
349
+
350
+
351
+
352
+
353
+
354
+ <div class="description">
355
+ Sets up swiping to enter and exit fullscreen.
356
+ </div>
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ <h5>This:</h5>
365
+ <ul><li>{Plugin}</li></ul>
366
+
367
+
368
+
369
+ <h5>Parameters:</h5>
370
+
371
+
372
+ <table class="params">
373
+ <thead>
374
+ <tr>
375
+
376
+ <th>Name</th>
377
+
378
+
379
+ <th>Type</th>
380
+
381
+
382
+
383
+
384
+
385
+ <th class="last">Description</th>
386
+ </tr>
387
+ </thead>
388
+
389
+ <tbody>
390
+
391
+
392
+ <tr>
393
+
394
+ <td class="name"><code>player</code></td>
395
+
396
+
397
+ <td class="type">
398
+
399
+
400
+ <span class="param-type">Player</span>
401
+
402
+
403
+
404
+ </td>
405
+
406
+
407
+
408
+
409
+
410
+ <td class="description last">The player to initialise on.</td>
411
+ </tr>
412
+
413
+
414
+
415
+ <tr>
416
+
417
+ <td class="name"><code>pluginOptions</code></td>
418
+
419
+
420
+ <td class="type">
421
+
422
+
423
+ <span class="param-type"><a href="global.html#MobileUiOptions">MobileUiOptions</a></span>
424
+
425
+
426
+
427
+ </td>
428
+
429
+
430
+
431
+
432
+
433
+ <td class="description last">The options used by the mobile ui plugin.</td>
434
+ </tr>
435
+
436
+
437
+ </tbody>
438
+ </table>
439
+
440
+
441
+
442
+
443
+
444
+
445
+ <dl class="details">
446
+
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+
461
+
462
+
463
+
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+ <dt class="tag-source">Source:</dt>
473
+ <dd class="tag-source"><ul class="dummy"><li>
474
+ <a href="swipeFullscreen.js.html">swipeFullscreen.js</a>, <a href="swipeFullscreen.js.html#line14">line 14</a>
475
+ </li></ul></dd>
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+ </dl>
484
+
485
+
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+
509
+
510
+ <h4 class="name" id="mobileUi"><span class="type-signature"></span>mobileUi<span class="signature">(options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
511
+
512
+
513
+
514
+
515
+
516
+
517
+ <div class="description">
518
+ Adds a mobile UI for player control, and fullscreen orientation control
519
+ </div>
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+
529
+ <h5>Parameters:</h5>
530
+
531
+
532
+ <table class="params">
533
+ <thead>
534
+ <tr>
535
+
536
+ <th>Name</th>
537
+
538
+
539
+ <th>Type</th>
540
+
541
+
542
+ <th>Attributes</th>
543
+
544
+
545
+
546
+ <th>Default</th>
547
+
548
+
549
+ <th class="last">Description</th>
550
+ </tr>
551
+ </thead>
552
+
553
+ <tbody>
554
+
555
+
556
+ <tr>
557
+
558
+ <td class="name"><code>options</code></td>
559
+
560
+
561
+ <td class="type">
562
+
563
+
564
+ <span class="param-type"><a href="global.html#MobileUiOptions">MobileUiOptions</a></span>
565
+
566
+
567
+
568
+ </td>
569
+
570
+
571
+ <td class="attributes">
572
+
573
+ &lt;optional><br>
574
+
575
+
576
+
577
+
578
+
579
+ </td>
580
+
581
+
582
+
583
+ <td class="default">
584
+
585
+ {}
586
+
587
+ </td>
588
+
589
+
590
+ <td class="description last"></td>
591
+ </tr>
592
+
593
+
594
+ </tbody>
595
+ </table>
596
+
597
+
598
+
599
+
600
+
601
+
602
+ <dl class="details">
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+
611
+
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+
629
+ <dt class="tag-source">Source:</dt>
630
+ <dd class="tag-source"><ul class="dummy"><li>
631
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line195">line 195</a>
632
+ </li></ul></dd>
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+ </dl>
641
+
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+
655
+
656
+
657
+
658
+
659
+
660
+
661
+
662
+
663
+
664
+
665
+
666
+
667
+ <h4 class="name" id="onPlayerReady"><span class="type-signature"></span>onPlayerReady<span class="signature">(player, options<span class="signature-attributes">opt</span>)</span><span class="type-signature"></span></h4>
668
+
669
+
670
+
671
+
672
+
673
+
674
+ <div class="description">
675
+ Add UI and event listeners
676
+ </div>
677
+
678
+
679
+
680
+
681
+
682
+
683
+
684
+
685
+
686
+ <h5>Parameters:</h5>
687
+
688
+
689
+ <table class="params">
690
+ <thead>
691
+ <tr>
692
+
693
+ <th>Name</th>
694
+
695
+
696
+ <th>Type</th>
697
+
698
+
699
+ <th>Attributes</th>
700
+
701
+
702
+
703
+ <th>Default</th>
704
+
705
+
706
+ <th class="last">Description</th>
707
+ </tr>
708
+ </thead>
709
+
710
+ <tbody>
711
+
712
+
713
+ <tr>
714
+
715
+ <td class="name"><code>player</code></td>
716
+
717
+
718
+ <td class="type">
719
+
720
+
721
+ <span class="param-type">Player</span>
722
+
723
+
724
+
725
+ </td>
726
+
727
+
728
+ <td class="attributes">
729
+
730
+
731
+
732
+
733
+
734
+ </td>
735
+
736
+
737
+
738
+ <td class="default">
739
+
740
+ </td>
741
+
742
+
743
+ <td class="description last">A Video.js player object.</td>
744
+ </tr>
745
+
746
+
747
+
748
+ <tr>
749
+
750
+ <td class="name"><code>options</code></td>
751
+
752
+
753
+ <td class="type">
754
+
755
+
756
+ <span class="param-type"><a href="global.html#MobileUiOptions">MobileUiOptions</a></span>
757
+
758
+
759
+
760
+ </td>
761
+
762
+
763
+ <td class="attributes">
764
+
765
+ &lt;optional><br>
766
+
767
+
768
+
769
+
770
+
771
+ </td>
772
+
773
+
774
+
775
+ <td class="default">
776
+
777
+ {}
778
+
779
+ </td>
780
+
781
+
782
+ <td class="description last">A plain object containing options for the plugin.</td>
783
+ </tr>
784
+
785
+
786
+ </tbody>
787
+ </table>
788
+
789
+
790
+
791
+
792
+
793
+
794
+ <dl class="details">
795
+
796
+
797
+
798
+
799
+
800
+
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+
820
+
821
+ <dt class="tag-source">Source:</dt>
822
+ <dd class="tag-source"><ul class="dummy"><li>
823
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line100">line 100</a>
824
+ </li></ul></dd>
825
+
826
+
827
+
828
+
829
+
830
+
831
+
832
+ </dl>
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+
854
+
855
+
856
+
857
+ <h3 class="subsection-title">Type Definitions</h3>
858
+
859
+
860
+
861
+ <h4 class="name" id="MobileUiOptions">MobileUiOptions</h4>
862
+
863
+
864
+
865
+
866
+
867
+
868
+ <h5>Type:</h5>
869
+ <ul>
870
+ <li>
871
+
872
+ <span class="param-type">Object</span>
873
+
874
+
875
+ </li>
876
+ </ul>
877
+
878
+
879
+
880
+
881
+
882
+ <h5 class="subsection-title">Properties:</h5>
883
+
884
+
885
+
886
+ <table class="props">
887
+ <thead>
888
+ <tr>
889
+
890
+ <th>Name</th>
891
+
892
+
893
+ <th>Type</th>
894
+
895
+
896
+ <th>Attributes</th>
897
+
898
+
899
+
900
+
901
+ <th class="last">Description</th>
902
+ </tr>
903
+ </thead>
904
+
905
+ <tbody>
906
+
907
+
908
+ <tr>
909
+
910
+ <td class="name"><code>fullscreen</code></td>
911
+
912
+
913
+ <td class="type">
914
+
915
+
916
+ <span class="param-type">Object</span>
917
+
918
+
919
+
920
+ </td>
921
+
922
+
923
+ <td class="attributes">
924
+
925
+ &lt;optional><br>
926
+
927
+
928
+
929
+ </td>
930
+
931
+
932
+
933
+
934
+ <td class="description last">Options for fullscreen behaviours.
935
+ <h6>Properties</h6>
936
+
937
+ <table class="props">
938
+ <thead>
939
+ <tr>
940
+
941
+ <th>Name</th>
942
+
943
+
944
+ <th>Type</th>
945
+
946
+
947
+ <th>Attributes</th>
948
+
949
+
950
+
951
+
952
+ <th class="last">Description</th>
953
+ </tr>
954
+ </thead>
955
+
956
+ <tbody>
957
+
958
+
959
+ <tr>
960
+
961
+ <td class="name"><code>enterOnRotate</code></td>
962
+
963
+
964
+ <td class="type">
965
+
966
+
967
+ <span class="param-type">boolean</span>
968
+
969
+
970
+
971
+ </td>
972
+
973
+
974
+ <td class="attributes">
975
+
976
+ &lt;optional><br>
977
+
978
+
979
+
980
+ </td>
981
+
982
+
983
+
984
+
985
+ <td class="description last">If the device is rotated, enter fullscreen.
986
+ Default true.</td>
987
+ </tr>
988
+
989
+
990
+
991
+ <tr>
992
+
993
+ <td class="name"><code>exitOnRotate</code></td>
994
+
995
+
996
+ <td class="type">
997
+
998
+
999
+ <span class="param-type">boolean</span>
1000
+
1001
+
1002
+
1003
+ </td>
1004
+
1005
+
1006
+ <td class="attributes">
1007
+
1008
+ &lt;optional><br>
1009
+
1010
+
1011
+
1012
+ </td>
1013
+
1014
+
1015
+
1016
+
1017
+ <td class="description last">If the device is rotated, exit fullscreen.
1018
+ Default true.</td>
1019
+ </tr>
1020
+
1021
+
1022
+
1023
+ <tr>
1024
+
1025
+ <td class="name"><code>lockOnRotate</code></td>
1026
+
1027
+
1028
+ <td class="type">
1029
+
1030
+
1031
+ <span class="param-type">boolean</span>
1032
+
1033
+
1034
+
1035
+ </td>
1036
+
1037
+
1038
+ <td class="attributes">
1039
+
1040
+ &lt;optional><br>
1041
+
1042
+
1043
+
1044
+ </td>
1045
+
1046
+
1047
+
1048
+
1049
+ <td class="description last">If the device is rotated, lock the orientation (not supported by iOS).
1050
+ Default true.</td>
1051
+ </tr>
1052
+
1053
+
1054
+
1055
+ <tr>
1056
+
1057
+ <td class="name"><code>lockToLandscapeOnEnter</code></td>
1058
+
1059
+
1060
+ <td class="type">
1061
+
1062
+
1063
+ <span class="param-type">boolean</span>
1064
+
1065
+
1066
+
1067
+ </td>
1068
+
1069
+
1070
+ <td class="attributes">
1071
+
1072
+ &lt;optional><br>
1073
+
1074
+
1075
+
1076
+ </td>
1077
+
1078
+
1079
+
1080
+
1081
+ <td class="description last">When fullscreen is entered, lock the orientation (not supported by iOS).
1082
+ Default false.</td>
1083
+ </tr>
1084
+
1085
+
1086
+
1087
+ <tr>
1088
+
1089
+ <td class="name"><code>swipeToFullscreen</code></td>
1090
+
1091
+
1092
+ <td class="type">
1093
+
1094
+
1095
+ <span class="param-type">boolean</span>
1096
+
1097
+
1098
+
1099
+ </td>
1100
+
1101
+
1102
+ <td class="attributes">
1103
+
1104
+ &lt;optional><br>
1105
+
1106
+
1107
+
1108
+ </td>
1109
+
1110
+
1111
+
1112
+
1113
+ <td class="description last">Swipe up to enter fullscreen.
1114
+ Default false.</td>
1115
+ </tr>
1116
+
1117
+
1118
+
1119
+ <tr>
1120
+
1121
+ <td class="name"><code>swipeFromFullscreen</code></td>
1122
+
1123
+
1124
+ <td class="type">
1125
+
1126
+
1127
+ <span class="param-type">boolean</span>
1128
+
1129
+
1130
+
1131
+ </td>
1132
+
1133
+
1134
+ <td class="attributes">
1135
+
1136
+ &lt;optional><br>
1137
+
1138
+
1139
+
1140
+ </td>
1141
+
1142
+
1143
+
1144
+
1145
+ <td class="description last">Swipe down to exit fullscreen.
1146
+ Won't do anything on iOS native fullscreen, which has its own swipe down exit gesture.
1147
+ Default false.</td>
1148
+ </tr>
1149
+
1150
+
1151
+
1152
+ <tr>
1153
+
1154
+ <td class="name"><code>disabled</code></td>
1155
+
1156
+
1157
+ <td class="type">
1158
+
1159
+
1160
+ <span class="param-type">boolean</span>
1161
+
1162
+
1163
+
1164
+ </td>
1165
+
1166
+
1167
+ <td class="attributes">
1168
+
1169
+ &lt;optional><br>
1170
+
1171
+
1172
+
1173
+ </td>
1174
+
1175
+
1176
+
1177
+
1178
+ <td class="description last">All fullscreen functionality provided by this plugin disabled.
1179
+ Default false.</td>
1180
+ </tr>
1181
+
1182
+
1183
+ </tbody>
1184
+ </table>
1185
+
1186
+ </td>
1187
+ </tr>
1188
+
1189
+
1190
+
1191
+ <tr>
1192
+
1193
+ <td class="name"><code>touchControls</code></td>
1194
+
1195
+
1196
+ <td class="type">
1197
+
1198
+
1199
+ <span class="param-type">Object</span>
1200
+
1201
+
1202
+
1203
+ </td>
1204
+
1205
+
1206
+ <td class="attributes">
1207
+
1208
+ &lt;optional><br>
1209
+
1210
+
1211
+
1212
+ </td>
1213
+
1214
+
1215
+
1216
+
1217
+ <td class="description last">Options for tap overlay.
1218
+ <h6>Properties</h6>
1219
+
1220
+ <table class="props">
1221
+ <thead>
1222
+ <tr>
1223
+
1224
+ <th>Name</th>
1225
+
1226
+
1227
+ <th>Type</th>
1228
+
1229
+
1230
+ <th>Attributes</th>
1231
+
1232
+
1233
+
1234
+
1235
+ <th class="last">Description</th>
1236
+ </tr>
1237
+ </thead>
1238
+
1239
+ <tbody>
1240
+
1241
+
1242
+ <tr>
1243
+
1244
+ <td class="name"><code>seekSeconds</code></td>
1245
+
1246
+
1247
+ <td class="type">
1248
+
1249
+
1250
+ <span class="param-type">number</span>
1251
+
1252
+
1253
+
1254
+ </td>
1255
+
1256
+
1257
+ <td class="attributes">
1258
+
1259
+ &lt;optional><br>
1260
+
1261
+
1262
+
1263
+ </td>
1264
+
1265
+
1266
+
1267
+
1268
+ <td class="description last">Increment to seek in seconds.
1269
+ Default 10.</td>
1270
+ </tr>
1271
+
1272
+
1273
+
1274
+ <tr>
1275
+
1276
+ <td class="name"><code>tapTimeout</code></td>
1277
+
1278
+
1279
+ <td class="type">
1280
+
1281
+
1282
+ <span class="param-type">number</span>
1283
+
1284
+
1285
+
1286
+ </td>
1287
+
1288
+
1289
+ <td class="attributes">
1290
+
1291
+ &lt;optional><br>
1292
+
1293
+
1294
+
1295
+ </td>
1296
+
1297
+
1298
+
1299
+
1300
+ <td class="description last">Timeout to tap on the button after display, in ms. ???
1301
+ Default 300.</td>
1302
+ </tr>
1303
+
1304
+
1305
+
1306
+ <tr>
1307
+
1308
+ <td class="name"><code>disableOnEnd</code></td>
1309
+
1310
+
1311
+ <td class="type">
1312
+
1313
+
1314
+ <span class="param-type">boolean</span>
1315
+
1316
+
1317
+
1318
+ </td>
1319
+
1320
+
1321
+ <td class="attributes">
1322
+
1323
+ &lt;optional><br>
1324
+
1325
+
1326
+
1327
+ </td>
1328
+
1329
+
1330
+
1331
+
1332
+ <td class="description last">Disable the touch overlay when the video ends.
1333
+ Useful if an end screen overlay is used.
1334
+ Default false.</td>
1335
+ </tr>
1336
+
1337
+
1338
+
1339
+ <tr>
1340
+
1341
+ <td class="name"><code>disabled</code></td>
1342
+
1343
+
1344
+ <td class="type">
1345
+
1346
+
1347
+ <span class="param-type">boolean</span>
1348
+
1349
+
1350
+
1351
+ </td>
1352
+
1353
+
1354
+ <td class="attributes">
1355
+
1356
+ &lt;optional><br>
1357
+
1358
+
1359
+
1360
+ </td>
1361
+
1362
+
1363
+
1364
+
1365
+ <td class="description last">All tap overlay functionality provided by this plugin disabled.
1366
+ Default false.</td>
1367
+ </tr>
1368
+
1369
+
1370
+ </tbody>
1371
+ </table>
1372
+
1373
+ </td>
1374
+ </tr>
1375
+
1376
+
1377
+
1378
+ <tr>
1379
+
1380
+ <td class="name"><code>forceForTesting</code></td>
1381
+
1382
+
1383
+ <td class="type">
1384
+
1385
+
1386
+ <span class="param-type">boolean</span>
1387
+
1388
+
1389
+
1390
+ </td>
1391
+
1392
+
1393
+ <td class="attributes">
1394
+
1395
+ &lt;optional><br>
1396
+
1397
+
1398
+
1399
+ </td>
1400
+
1401
+
1402
+
1403
+
1404
+ <td class="description last">Used in unit tests</td>
1405
+ </tr>
1406
+
1407
+
1408
+ </tbody>
1409
+ </table>
1410
+
1411
+
1412
+
1413
+
1414
+ <dl class="details">
1415
+
1416
+
1417
+
1418
+
1419
+
1420
+
1421
+
1422
+
1423
+
1424
+
1425
+
1426
+
1427
+
1428
+
1429
+
1430
+
1431
+
1432
+
1433
+
1434
+
1435
+
1436
+
1437
+
1438
+
1439
+
1440
+
1441
+ <dt class="tag-source">Source:</dt>
1442
+ <dd class="tag-source"><ul class="dummy"><li>
1443
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line7">line 7</a>
1444
+ </li></ul></dd>
1445
+
1446
+
1447
+
1448
+
1449
+
1450
+
1451
+
1452
+ </dl>
1453
+
1454
+
1455
+
1456
+
1457
+
1458
+
1459
+
1460
+
1461
+
1462
+
1463
+ </article>
1464
+
1465
+ </section>
1466
+
1467
+
1468
+
1469
+
1470
+ </div>
1471
+
1472
+ <nav>
1473
+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="TouchOverlay.html">TouchOverlay</a></li></ul><h3>Global</h3><ul><li><a href="global.html#Component">Component</a></li><li><a href="global.html#defaults">defaults</a></li><li><a href="global.html#getOrientation">getOrientation</a></li><li><a href="global.html#initSwipe">initSwipe</a></li><li><a href="global.html#mobileUi">mobileUi</a></li><li><a href="global.html#onPlayerReady">onPlayerReady</a></li></ul>
1474
+ </nav>
1475
+
1476
+ <br class="clear">
1477
+
1478
+ <footer>
1479
+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.5</a> on Fri Jan 23 2026 14:03:20 GMT+0100 (Mitteleuropäische Normalzeit)
1480
+ </footer>
1481
+
1482
+ <script> prettyPrint(); </script>
1483
+ <script src="scripts/linenumber.js"> </script>
1484
+ </body>
1485
+ </html>