videojs-mobile-ui 1.2.0 → 1.2.1

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.
@@ -94,569 +94,9 @@
94
94
 
95
95
 
96
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
97
 
639
98
 
640
- </dl>
641
-
642
-
643
-
644
-
645
-
646
-
647
-
648
-
649
-
650
-
651
-
652
-
653
-
654
-
655
-
656
-
657
-
658
-
659
-
99
+ <h3 class="subsection-title">Methods</h3>
660
100
 
661
101
 
662
102
 
@@ -664,7 +104,7 @@
664
104
 
665
105
 
666
106
 
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>
107
+ <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>
668
108
 
669
109
 
670
110
 
@@ -672,7 +112,8 @@
672
112
 
673
113
 
674
114
  <div class="description">
675
- Add UI and event listeners
115
+ <p>A video.js plugin.</p>
116
+ <p>Adds a monile UI for player control, and fullscreen orientation control</p>
676
117
  </div>
677
118
 
678
119
 
@@ -710,41 +151,6 @@
710
151
  <tbody>
711
152
 
712
153
 
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
154
  <tr>
749
155
 
750
156
  <td class="name"><code>options</code></td>
@@ -753,7 +159,7 @@
753
159
  <td class="type">
754
160
 
755
161
 
756
- <span class="param-type"><a href="global.html#MobileUiOptions">MobileUiOptions</a></span>
162
+ <span class="param-type">Object</span>
757
163
 
758
164
 
759
165
 
@@ -779,111 +185,11 @@
779
185
  </td>
780
186
 
781
187
 
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
-
188
+ <td class="description last"><p>Plugin options.</p>
189
+ <h6>Properties</h6>
860
190
 
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
191
 
879
-
880
-
881
-
882
- <h5 class="subsection-title">Properties:</h5>
883
-
884
-
885
-
886
- <table class="props">
192
+ <table class="params">
887
193
  <thead>
888
194
  <tr>
889
195
 
@@ -897,6 +203,8 @@
897
203
 
898
204
 
899
205
 
206
+ <th>Default</th>
207
+
900
208
 
901
209
  <th class="last">Description</th>
902
210
  </tr>
@@ -907,13 +215,13 @@
907
215
 
908
216
  <tr>
909
217
 
910
- <td class="name"><code>fullscreen</code></td>
218
+ <td class="name"><code>forceForTesting</code></td>
911
219
 
912
220
 
913
221
  <td class="type">
914
222
 
915
223
 
916
- <span class="param-type">Object</span>
224
+ <span class="param-type">boolean</span>
917
225
 
918
226
 
919
227
 
@@ -926,77 +234,33 @@
926
234
 
927
235
 
928
236
 
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
237
 
959
- <tr>
960
-
961
- <td class="name"><code>enterOnRotate</code></td>
962
-
963
-
964
- <td class="type">
965
-
966
238
 
967
- <span class="param-type">boolean</span>
968
-
969
-
239
+ </td>
970
240
 
971
- </td>
972
241
 
973
242
 
974
- <td class="attributes">
975
-
976
- &lt;optional><br>
243
+ <td class="default">
977
244
 
978
-
245
+ false
979
246
 
980
247
  </td>
981
248
 
982
249
 
983
-
984
-
985
- <td class="description last">If the device is rotated, enter fullscreen.
986
- Default true.</td>
250
+ <td class="description last"><p>Enables the display regardless of user agent, for testing purposes</p></td>
987
251
  </tr>
988
252
 
989
253
 
990
254
 
991
255
  <tr>
992
256
 
993
- <td class="name"><code>exitOnRotate</code></td>
257
+ <td class="name"><code>fullscreen</code></td>
994
258
 
995
259
 
996
260
  <td class="type">
997
261
 
998
262
 
999
- <span class="param-type">boolean</span>
263
+ <span class="param-type">Object</span>
1000
264
 
1001
265
 
1002
266
 
@@ -1009,52 +273,50 @@
1009
273
 
1010
274
 
1011
275
 
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
276
 
1023
- <tr>
1024
-
1025
- <td class="name"><code>lockOnRotate</code></td>
277
+
278
+ </td>
1026
279
 
1027
280
 
1028
- <td class="type">
1029
281
 
282
+ <td class="default">
1030
283
 
1031
- <span class="param-type">boolean</span>
1032
-
1033
-
284
+ {}
285
+
286
+ </td>
1034
287
 
1035
- </td>
1036
288
 
1037
-
1038
- <td class="attributes">
1039
-
1040
- &lt;optional><br>
289
+ <td class="description last"><p>Fullscreen options.</p>
290
+ <h6>Properties</h6>
1041
291
 
1042
292
 
1043
-
1044
- </td>
1045
-
293
+ <table class="params">
294
+ <thead>
295
+ <tr>
296
+
297
+ <th>Name</th>
298
+
299
+
300
+ <th>Type</th>
1046
301
 
1047
-
302
+
303
+ <th>Attributes</th>
304
+
1048
305
 
1049
- <td class="description last">If the device is rotated, lock the orientation (not supported by iOS).
1050
- Default true.</td>
1051
- </tr>
306
+
307
+ <th>Default</th>
308
+
309
+
310
+ <th class="last">Description</th>
311
+ </tr>
312
+ </thead>
1052
313
 
314
+ <tbody>
1053
315
 
1054
316
 
1055
317
  <tr>
1056
318
 
1057
- <td class="name"><code>lockToLandscapeOnEnter</code></td>
319
+ <td class="name"><code>enterOnRotate</code></td>
1058
320
 
1059
321
 
1060
322
  <td class="type">
@@ -1073,20 +335,27 @@
1073
335
 
1074
336
 
1075
337
 
338
+
339
+
1076
340
  </td>
1077
341
 
1078
342
 
1079
343
 
344
+ <td class="default">
345
+
346
+ true
347
+
348
+ </td>
349
+
1080
350
 
1081
- <td class="description last">When fullscreen is entered, lock the orientation (not supported by iOS).
1082
- Default false.</td>
351
+ <td class="description last"><p>Whether to go fullscreen when rotating to landscape</p></td>
1083
352
  </tr>
1084
353
 
1085
354
 
1086
355
 
1087
356
  <tr>
1088
357
 
1089
- <td class="name"><code>swipeToFullscreen</code></td>
358
+ <td class="name"><code>exitOnRotate</code></td>
1090
359
 
1091
360
 
1092
361
  <td class="type">
@@ -1105,20 +374,27 @@
1105
374
 
1106
375
 
1107
376
 
377
+
378
+
1108
379
  </td>
1109
380
 
1110
381
 
1111
382
 
383
+ <td class="default">
384
+
385
+ true
386
+
387
+ </td>
388
+
1112
389
 
1113
- <td class="description last">Swipe up to enter fullscreen.
1114
- Default false.</td>
390
+ <td class="description last"><p>Whether to leave fullscreen when rotating to portrait (if not locked)</p></td>
1115
391
  </tr>
1116
392
 
1117
393
 
1118
394
 
1119
395
  <tr>
1120
396
 
1121
- <td class="name"><code>swipeFromFullscreen</code></td>
397
+ <td class="name"><code>lockOnRotate</code></td>
1122
398
 
1123
399
 
1124
400
  <td class="type">
@@ -1137,21 +413,28 @@
1137
413
 
1138
414
 
1139
415
 
416
+
417
+
1140
418
  </td>
1141
419
 
1142
420
 
1143
421
 
422
+ <td class="default">
423
+
424
+ true
425
+
426
+ </td>
427
+
1144
428
 
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>
429
+ <td class="description last"><p>Whether to lock orientation when rotating to landscape
430
+ Unlocked when exiting fullscreen or on 'ended'</p></td>
1148
431
  </tr>
1149
432
 
1150
433
 
1151
434
 
1152
435
  <tr>
1153
436
 
1154
- <td class="name"><code>disabled</code></td>
437
+ <td class="name"><code>iOS</code></td>
1155
438
 
1156
439
 
1157
440
  <td class="type">
@@ -1170,13 +453,20 @@
1170
453
 
1171
454
 
1172
455
 
456
+
457
+
1173
458
  </td>
1174
459
 
1175
460
 
1176
461
 
462
+ <td class="default">
463
+
464
+ false
465
+
466
+ </td>
467
+
1177
468
 
1178
- <td class="description last">All fullscreen functionality provided by this plugin disabled.
1179
- Default false.</td>
469
+ <td class="description last"><p>Whether to disable iOS's native fullscreen so controls can work</p></td>
1180
470
  </tr>
1181
471
 
1182
472
 
@@ -1209,15 +499,24 @@
1209
499
 
1210
500
 
1211
501
 
502
+
503
+
1212
504
  </td>
1213
505
 
1214
506
 
1215
507
 
508
+ <td class="default">
509
+
510
+ {}
511
+
512
+ </td>
513
+
1216
514
 
1217
- <td class="description last">Options for tap overlay.
515
+ <td class="description last"><p>Touch UI options.</p>
1218
516
  <h6>Properties</h6>
517
+
1219
518
 
1220
- <table class="props">
519
+ <table class="params">
1221
520
  <thead>
1222
521
  <tr>
1223
522
 
@@ -1231,6 +530,8 @@
1231
530
 
1232
531
 
1233
532
 
533
+ <th>Default</th>
534
+
1234
535
 
1235
536
  <th class="last">Description</th>
1236
537
  </tr>
@@ -1247,7 +548,7 @@
1247
548
  <td class="type">
1248
549
 
1249
550
 
1250
- <span class="param-type">number</span>
551
+ <span class="param-type">int</span>
1251
552
 
1252
553
 
1253
554
 
@@ -1260,13 +561,20 @@
1260
561
 
1261
562
 
1262
563
 
564
+
565
+
1263
566
  </td>
1264
567
 
1265
568
 
1266
569
 
570
+ <td class="default">
571
+
572
+ 10
573
+
574
+ </td>
575
+
1267
576
 
1268
- <td class="description last">Increment to seek in seconds.
1269
- Default 10.</td>
577
+ <td class="description last"><p>Number of seconds to seek on double-tap</p></td>
1270
578
  </tr>
1271
579
 
1272
580
 
@@ -1279,7 +587,7 @@
1279
587
  <td class="type">
1280
588
 
1281
589
 
1282
- <span class="param-type">number</span>
590
+ <span class="param-type">int</span>
1283
591
 
1284
592
 
1285
593
 
@@ -1292,13 +600,20 @@
1292
600
 
1293
601
 
1294
602
 
603
+
604
+
1295
605
  </td>
1296
606
 
1297
607
 
1298
608
 
609
+ <td class="default">
610
+
611
+ 300
612
+
613
+ </td>
614
+
1299
615
 
1300
- <td class="description last">Timeout to tap on the button after display, in ms. ???
1301
- Default 300.</td>
616
+ <td class="description last"><p>Interval in ms to be considered a doubletap</p></td>
1302
617
  </tr>
1303
618
 
1304
619
 
@@ -1324,27 +639,164 @@
1324
639
 
1325
640
 
1326
641
 
642
+
643
+
1327
644
  </td>
1328
645
 
1329
646
 
1330
647
 
648
+ <td class="default">
649
+
650
+ false
651
+
652
+ </td>
653
+
654
+
655
+ <td class="description last"><p>Whether to disable when the video ends (e.g., if there is an endscreen)
656
+ Never shows if the endscreen plugin is present</p></td>
657
+ </tr>
658
+
659
+
660
+ </tbody>
661
+ </table>
1331
662
 
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>
663
+ </td>
664
+ </tr>
665
+
666
+
667
+ </tbody>
668
+ </table>
669
+
670
+ </td>
1335
671
  </tr>
1336
672
 
1337
673
 
674
+ </tbody>
675
+ </table>
676
+
677
+
678
+
679
+
680
+
681
+
682
+ <dl class="details">
683
+
684
+
685
+
686
+
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+
701
+
702
+
703
+
704
+
705
+
706
+
707
+
708
+
709
+ <dt class="tag-source">Source:</dt>
710
+ <dd class="tag-source"><ul class="dummy"><li>
711
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line125">line 125</a>
712
+ </li></ul></dd>
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+ </dl>
721
+
722
+
723
+
724
+
725
+
726
+
727
+
728
+
729
+
730
+
731
+
732
+
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+ <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>
746
+
747
+
748
+
749
+
750
+
751
+
752
+ <div class="description">
753
+ <p>Add UI and event listeners</p>
754
+ </div>
755
+
756
+
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+ <h5>Parameters:</h5>
765
+
766
+
767
+ <table class="params">
768
+ <thead>
769
+ <tr>
770
+
771
+ <th>Name</th>
772
+
773
+
774
+ <th>Type</th>
775
+
776
+
777
+ <th>Attributes</th>
778
+
779
+
780
+
781
+ <th>Default</th>
782
+
783
+
784
+ <th class="last">Description</th>
785
+ </tr>
786
+ </thead>
787
+
788
+ <tbody>
789
+
1338
790
 
1339
791
  <tr>
1340
792
 
1341
- <td class="name"><code>disabled</code></td>
793
+ <td class="name"><code>player</code></td>
1342
794
 
1343
795
 
1344
796
  <td class="type">
1345
797
 
1346
798
 
1347
- <span class="param-type">boolean</span>
799
+ <span class="param-type">Player</span>
1348
800
 
1349
801
 
1350
802
 
@@ -1353,7 +805,7 @@
1353
805
 
1354
806
  <td class="attributes">
1355
807
 
1356
- &lt;optional><br>
808
+
1357
809
 
1358
810
 
1359
811
 
@@ -1361,29 +813,25 @@
1361
813
 
1362
814
 
1363
815
 
816
+ <td class="default">
817
+
818
+ </td>
819
+
1364
820
 
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>
821
+ <td class="description last"><p>A Video.js player object.</p></td>
1374
822
  </tr>
1375
823
 
1376
824
 
1377
825
 
1378
826
  <tr>
1379
827
 
1380
- <td class="name"><code>forceForTesting</code></td>
828
+ <td class="name"><code>options</code></td>
1381
829
 
1382
830
 
1383
831
  <td class="type">
1384
832
 
1385
833
 
1386
- <span class="param-type">boolean</span>
834
+ <span class="param-type">Object</span>
1387
835
 
1388
836
 
1389
837
 
@@ -1396,12 +844,20 @@
1396
844
 
1397
845
 
1398
846
 
847
+
848
+
1399
849
  </td>
1400
850
 
1401
851
 
1402
852
 
853
+ <td class="default">
854
+
855
+ {}
856
+
857
+ </td>
858
+
1403
859
 
1404
- <td class="description last">Used in unit tests</td>
860
+ <td class="description last"><p>A plain object containing options for the plugin.</p></td>
1405
861
  </tr>
1406
862
 
1407
863
 
@@ -1411,6 +867,8 @@
1411
867
 
1412
868
 
1413
869
 
870
+
871
+
1414
872
  <dl class="details">
1415
873
 
1416
874
 
@@ -1440,7 +898,7 @@
1440
898
 
1441
899
  <dt class="tag-source">Source:</dt>
1442
900
  <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>
901
+ <a href="plugin.js.html">plugin.js</a>, <a href="plugin.js.html#line39">line 39</a>
1444
902
  </li></ul></dd>
1445
903
 
1446
904
 
@@ -1456,7 +914,21 @@
1456
914
 
1457
915
 
1458
916
 
1459
-
917
+
918
+
919
+
920
+
921
+
922
+
923
+
924
+
925
+
926
+
927
+
928
+
929
+
930
+
931
+
1460
932
 
1461
933
 
1462
934
 
@@ -1470,13 +942,13 @@
1470
942
  </div>
1471
943
 
1472
944
  <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>
945
+ <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#mobileUi">mobileUi</a></li><li><a href="global.html#onPlayerReady">onPlayerReady</a></li></ul>
1474
946
  </nav>
1475
947
 
1476
948
  <br class="clear">
1477
949
 
1478
950
  <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)
951
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Tue Feb 02 2021 09:43:56 GMT+0100 (CET)
1480
952
  </footer>
1481
953
 
1482
954
  <script> prettyPrint(); </script>