@gcorevideo/player 2.19.15 → 2.20.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.
- package/assets/level-selector/list.ejs +1 -1
- package/dist/core.js +2 -2
- package/dist/index.css +1634 -1634
- package/dist/index.js +585 -416
- package/dist/player.d.ts +268 -72
- package/dist/plugins/index.css +1567 -1567
- package/dist/plugins/index.js +526 -357
- package/docs/api/player.clapprnerdstats.md +12 -259
- package/docs/api/player.dvrcontrols.md +5 -1
- package/docs/api/player.errorscreen.attributes.md +3 -0
- package/docs/api/player.errorscreen.bindevents.md +3 -0
- package/docs/api/player.errorscreen.container.md +3 -0
- package/docs/api/player.errorscreen.hide.md +3 -0
- package/docs/api/player.errorscreen.md +27 -0
- package/docs/api/player.errorscreen.name.md +3 -0
- package/docs/api/player.errorscreen.render.md +3 -0
- package/docs/api/player.errorscreen.show.md +3 -0
- package/docs/api/player.errorscreen.supportedversion.md +3 -0
- package/docs/api/player.errorscreen.template.md +3 -0
- package/docs/api/player.errorscreen.unbindevents.md +3 -0
- package/docs/api/{player.playbackrate.template.md → player.initeventdata.event.md} +3 -3
- package/docs/api/{player.playbackrate.updateplaybackrate.md → player.initeventdata.md} +15 -11
- package/docs/api/player.md +88 -5
- package/docs/api/player.pictureinpicture.md +9 -197
- package/docs/api/player.playbackrate.md +10 -314
- package/docs/api/{player.playbackrate.onplay.md → player.stalleventdata.count.md} +5 -7
- package/docs/api/{player.playbackrate.name.md → player.stalleventdata.event.md} +3 -3
- package/docs/api/player.stalleventdata.md +112 -0
- package/docs/api/player.stalleventdata.time.md +13 -0
- package/docs/api/player.stalleventdata.total_ms.md +13 -0
- package/docs/api/{player.pluginsettings.md → player.starteventdata.event.md} +3 -5
- package/docs/api/{player.playbackrate.onrateselect.md → player.starteventdata.md} +15 -11
- package/docs/api/{player.statistics._constructor_.md → player.telemetry._constructor_.md} +6 -3
- package/docs/api/player.telemetry.md +146 -0
- package/docs/api/{player.volumefade.name.md → player.telemetry.name.md} +4 -2
- package/docs/api/{player.clapprnerdstats.supportedversion.md → player.telemetry.supportedversion.md} +4 -2
- package/docs/api/player.telemetryevent.md +89 -0
- package/docs/api/player.telemetryeventdata.md +15 -0
- package/docs/api/player.telemetrypluginsettings.md +57 -0
- package/docs/api/player.telemetrypluginsettings.send.md +13 -0
- package/docs/api/player.telemetryrecord.md +17 -0
- package/docs/api/player.volumefade.md +0 -93
- package/docs/api/{player.pictureinpicture.name.md → player.watcheventdata.event.md} +3 -3
- package/docs/api/{player.playbackrate.setselectedrate.md → player.watcheventdata.md} +15 -11
- package/lib/index.plugins.d.ts +2 -2
- package/lib/index.plugins.d.ts.map +1 -1
- package/lib/index.plugins.js +2 -2
- package/lib/playback/hls-playback/HlsPlayback.js +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts +38 -5
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.d.ts.map +1 -1
- package/lib/plugins/clappr-nerd-stats/ClapprNerdStats.js +63 -17
- package/lib/plugins/dvr-controls/DvrControls.d.ts +5 -2
- package/lib/plugins/dvr-controls/DvrControls.d.ts.map +1 -1
- package/lib/plugins/dvr-controls/DvrControls.js +5 -2
- package/lib/plugins/error-screen/ErrorScreen.d.ts +5 -0
- package/lib/plugins/error-screen/ErrorScreen.d.ts.map +1 -1
- package/lib/plugins/error-screen/ErrorScreen.js +5 -0
- package/lib/plugins/index.d.ts +2 -3
- package/lib/plugins/index.d.ts.map +1 -1
- package/lib/plugins/index.js +2 -3
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts +32 -4
- package/lib/plugins/picture-in-picture/PictureInPicture.d.ts.map +1 -1
- package/lib/plugins/picture-in-picture/PictureInPicture.js +30 -2
- package/lib/plugins/playback-rate/PlaybackRate.d.ts +47 -14
- package/lib/plugins/playback-rate/PlaybackRate.d.ts.map +1 -1
- package/lib/plugins/playback-rate/PlaybackRate.js +38 -9
- package/lib/plugins/statistics/Statistics.d.ts +38 -3
- package/lib/plugins/statistics/Statistics.d.ts.map +1 -1
- package/lib/plugins/statistics/Statistics.js +51 -9
- package/lib/plugins/telemetry/Telemetry.d.ts +135 -0
- package/lib/plugins/telemetry/Telemetry.d.ts.map +1 -0
- package/lib/plugins/telemetry/Telemetry.js +180 -0
- package/lib/plugins/volume-fade/VolumeFade.d.ts +7 -1
- package/lib/plugins/volume-fade/VolumeFade.d.ts.map +1 -1
- package/lib/plugins/volume-fade/VolumeFade.js +8 -1
- package/package.json +1 -1
- package/src/index.plugins.ts +2 -2
- package/src/playback/hls-playback/HlsPlayback.ts +1 -1
- package/src/plugins/clappr-nerd-stats/ClapprNerdStats.ts +240 -173
- package/src/plugins/dvr-controls/DvrControls.ts +5 -2
- package/src/plugins/error-screen/ErrorScreen.ts +5 -0
- package/src/plugins/index.ts +2 -3
- package/src/plugins/level-selector/__tests__/LevelSelector.test.ts +47 -26
- package/src/plugins/level-selector/__tests__/__snapshots__/LevelSelector.test.ts.snap +18 -18
- package/src/plugins/picture-in-picture/PictureInPicture.ts +35 -7
- package/src/plugins/playback-rate/PlaybackRate.ts +53 -24
- package/src/plugins/telemetry/Telemetry.ts +299 -0
- package/src/plugins/volume-fade/VolumeFade.ts +9 -2
- package/temp/player.api.json +2322 -3281
- package/tsconfig.tsbuildinfo +1 -1
- package/docs/api/player.clapprnerdstats.attributes.md +0 -17
- package/docs/api/player.clapprnerdstats.bindevents.md +0 -18
- package/docs/api/player.clapprnerdstats.events.md +0 -18
- package/docs/api/player.clapprnerdstats.name.md +0 -14
- package/docs/api/player.clapprnerdstats.playerheight.md +0 -14
- package/docs/api/player.clapprnerdstats.playerwidth.md +0 -14
- package/docs/api/player.clapprnerdstats.render.md +0 -18
- package/docs/api/player.clapprnerdstats.statsboxelem.md +0 -14
- package/docs/api/player.clapprnerdstats.statsboxwidththreshold.md +0 -14
- package/docs/api/player.clapprnerdstats.template.md +0 -14
- package/docs/api/player.pictureinpicture.bindevents.md +0 -15
- package/docs/api/player.pictureinpicture.events.md +0 -13
- package/docs/api/player.pictureinpicture.exitpictureinpicture.md +0 -15
- package/docs/api/player.pictureinpicture.render.md +0 -15
- package/docs/api/player.pictureinpicture.requestpictureinpicture.md +0 -15
- package/docs/api/player.pictureinpicture.supportedversion.md +0 -13
- package/docs/api/player.pictureinpicture.togglepictureinpicture.md +0 -15
- package/docs/api/player.pictureinpicture.version.md +0 -11
- package/docs/api/player.pictureinpicture.videoelement.md +0 -11
- package/docs/api/player.playbackrate.attributes.md +0 -14
- package/docs/api/player.playbackrate.bindevents.md +0 -15
- package/docs/api/player.playbackrate.events.md +0 -15
- package/docs/api/player.playbackrate.gettitle.md +0 -15
- package/docs/api/player.playbackrate.goback.md +0 -15
- package/docs/api/player.playbackrate.highlightcurrentrate.md +0 -15
- package/docs/api/player.playbackrate.onfinishad.md +0 -15
- package/docs/api/player.playbackrate.onshowmenu.md +0 -15
- package/docs/api/player.playbackrate.onstartad.md +0 -15
- package/docs/api/player.playbackrate.onstop.md +0 -15
- package/docs/api/player.playbackrate.reload.md +0 -15
- package/docs/api/player.playbackrate.render.md +0 -15
- package/docs/api/player.playbackrate.supportedversion.md +0 -13
- package/docs/api/player.playbackrate.unbindevents.md +0 -15
- package/docs/api/player.statistics.bindevents.md +0 -15
- package/docs/api/player.statistics.md +0 -141
- package/docs/api/player.statistics.name.md +0 -11
- package/docs/api/player.statistics.supportedversion.md +0 -13
- package/docs/api/player.volumefade.bindevents.md +0 -18
- package/docs/api/player.volumefade.unbindevents.md +0 -18
- package/src/plugins/statistics/Statistics.ts +0 -207
- /package/src/plugins/{statistics → telemetry}/Statistics copy.xts +0 -0
package/docs/api/player.md
CHANGED
|
@@ -63,7 +63,7 @@ Description
|
|
|
63
63
|
|
|
64
64
|
</td><td>
|
|
65
65
|
|
|
66
|
-
**_(BETA)_**
|
|
66
|
+
**_(BETA)_** Displays useful network-related statistics.
|
|
67
67
|
|
|
68
68
|
|
|
69
69
|
</td></tr>
|
|
@@ -132,6 +132,10 @@ Description
|
|
|
132
132
|
|
|
133
133
|
</td><td>
|
|
134
134
|
|
|
135
|
+
**_(BETA)_** Displays a descriptive error in the overlay on top of the player.
|
|
136
|
+
|
|
137
|
+
TODO
|
|
138
|
+
|
|
135
139
|
|
|
136
140
|
</td></tr>
|
|
137
141
|
<tr><td>
|
|
@@ -199,6 +203,8 @@ Description
|
|
|
199
203
|
|
|
200
204
|
</td><td>
|
|
201
205
|
|
|
206
|
+
**_(BETA)_** Enables picture in picture mode.
|
|
207
|
+
|
|
202
208
|
|
|
203
209
|
</td></tr>
|
|
204
210
|
<tr><td>
|
|
@@ -208,6 +214,8 @@ Description
|
|
|
208
214
|
|
|
209
215
|
</td><td>
|
|
210
216
|
|
|
217
|
+
**_(BETA)_** Allows changing the playback speed of the video.
|
|
218
|
+
|
|
211
219
|
|
|
212
220
|
</td></tr>
|
|
213
221
|
<tr><td>
|
|
@@ -283,21 +291,23 @@ Description
|
|
|
283
291
|
</td></tr>
|
|
284
292
|
<tr><td>
|
|
285
293
|
|
|
286
|
-
[
|
|
294
|
+
[Subtitles](./player.subtitles.md)
|
|
287
295
|
|
|
288
296
|
|
|
289
297
|
</td><td>
|
|
290
298
|
|
|
299
|
+
**_(BETA)_** A [media control](./player.mediacontrol.md) plugin that provides a UI to select the subtitles when available.
|
|
300
|
+
|
|
291
301
|
|
|
292
302
|
</td></tr>
|
|
293
303
|
<tr><td>
|
|
294
304
|
|
|
295
|
-
[
|
|
305
|
+
[Telemetry](./player.telemetry.md)
|
|
296
306
|
|
|
297
307
|
|
|
298
308
|
</td><td>
|
|
299
309
|
|
|
300
|
-
**_(BETA)_**
|
|
310
|
+
**_(BETA)_** Collects and reports the performance statistics.
|
|
301
311
|
|
|
302
312
|
|
|
303
313
|
</td></tr>
|
|
@@ -379,6 +389,17 @@ Custom events emitted by the plugin
|
|
|
379
389
|
Custom events emitted by the plugin
|
|
380
390
|
|
|
381
391
|
|
|
392
|
+
</td></tr>
|
|
393
|
+
<tr><td>
|
|
394
|
+
|
|
395
|
+
[TelemetryEvent](./player.telemetryevent.md)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
</td><td>
|
|
399
|
+
|
|
400
|
+
Telemetry event type
|
|
401
|
+
|
|
402
|
+
|
|
382
403
|
</td></tr>
|
|
383
404
|
<tr><td>
|
|
384
405
|
|
|
@@ -432,6 +453,15 @@ Description
|
|
|
432
453
|
</th></tr></thead>
|
|
433
454
|
<tbody><tr><td>
|
|
434
455
|
|
|
456
|
+
[InitEventData](./player.initeventdata.md)
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
</td><td>
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
</td></tr>
|
|
463
|
+
<tr><td>
|
|
464
|
+
|
|
435
465
|
[PlaybackError](./player.playbackerror.md)
|
|
436
466
|
|
|
437
467
|
|
|
@@ -473,6 +503,37 @@ Description
|
|
|
473
503
|
**_(BETA)_** A level of quality within a media source.
|
|
474
504
|
|
|
475
505
|
|
|
506
|
+
</td></tr>
|
|
507
|
+
<tr><td>
|
|
508
|
+
|
|
509
|
+
[StallEventData](./player.stalleventdata.md)
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
</td><td>
|
|
513
|
+
|
|
514
|
+
Playback stall event data
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
</td></tr>
|
|
518
|
+
<tr><td>
|
|
519
|
+
|
|
520
|
+
[StartEventData](./player.starteventdata.md)
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
</td><td>
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
</td></tr>
|
|
527
|
+
<tr><td>
|
|
528
|
+
|
|
529
|
+
[TelemetryPluginSettings](./player.telemetrypluginsettings.md)
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
</td><td>
|
|
533
|
+
|
|
534
|
+
Plugin settings
|
|
535
|
+
|
|
536
|
+
|
|
476
537
|
</td></tr>
|
|
477
538
|
<tr><td>
|
|
478
539
|
|
|
@@ -484,6 +545,15 @@ Description
|
|
|
484
545
|
**_(BETA)_** Current playback time and total duration of the media.
|
|
485
546
|
|
|
486
547
|
|
|
548
|
+
</td></tr>
|
|
549
|
+
<tr><td>
|
|
550
|
+
|
|
551
|
+
[WatchEventData](./player.watcheventdata.md)
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
</td><td>
|
|
555
|
+
|
|
556
|
+
|
|
487
557
|
</td></tr>
|
|
488
558
|
</tbody></table>
|
|
489
559
|
|
|
@@ -680,11 +750,24 @@ Description
|
|
|
680
750
|
</td></tr>
|
|
681
751
|
<tr><td>
|
|
682
752
|
|
|
683
|
-
[
|
|
753
|
+
[TelemetryEventData](./player.telemetryeventdata.md)
|
|
684
754
|
|
|
685
755
|
|
|
686
756
|
</td><td>
|
|
687
757
|
|
|
758
|
+
Telemetry event data
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+
</td></tr>
|
|
762
|
+
<tr><td>
|
|
763
|
+
|
|
764
|
+
[TelemetryRecord](./player.telemetryrecord.md)
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
</td><td>
|
|
768
|
+
|
|
769
|
+
Telemetry record
|
|
770
|
+
|
|
688
771
|
|
|
689
772
|
</td></tr>
|
|
690
773
|
<tr><td>
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## PictureInPicture class
|
|
6
6
|
|
|
7
|
+
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
Enables picture in picture mode.
|
|
11
|
+
|
|
7
12
|
**Signature:**
|
|
8
13
|
|
|
9
14
|
```typescript
|
|
@@ -11,204 +16,11 @@ export declare class PictureInPicture extends UICorePlugin
|
|
|
11
16
|
```
|
|
12
17
|
**Extends:** UICorePlugin
|
|
13
18
|
|
|
14
|
-
##
|
|
15
|
-
|
|
16
|
-
<table><thead><tr><th>
|
|
17
|
-
|
|
18
|
-
Property
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</th><th>
|
|
22
|
-
|
|
23
|
-
Modifiers
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</th><th>
|
|
27
|
-
|
|
28
|
-
Type
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</th><th>
|
|
32
|
-
|
|
33
|
-
Description
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</th></tr></thead>
|
|
37
|
-
<tbody><tr><td>
|
|
38
|
-
|
|
39
|
-
[events](./player.pictureinpicture.events.md)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</td><td>
|
|
43
|
-
|
|
44
|
-
`readonly`
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
{ 'click button': string; }
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td></tr>
|
|
56
|
-
<tr><td>
|
|
57
|
-
|
|
58
|
-
[name](./player.pictureinpicture.name.md)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td><td>
|
|
62
|
-
|
|
63
|
-
`readonly`
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
string
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td><td>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
<tr><td>
|
|
76
|
-
|
|
77
|
-
[supportedVersion](./player.pictureinpicture.supportedversion.md)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
`readonly`
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td><td>
|
|
86
|
-
|
|
87
|
-
{ min: string; }
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</td><td>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
</td></tr>
|
|
94
|
-
<tr><td>
|
|
95
|
-
|
|
96
|
-
[version](./player.pictureinpicture.version.md)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</td><td>
|
|
100
|
-
|
|
101
|
-
`static`
|
|
102
|
-
|
|
103
|
-
`readonly`
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
string
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td><td>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</td></tr>
|
|
115
|
-
<tr><td>
|
|
116
|
-
|
|
117
|
-
[videoElement](./player.pictureinpicture.videoelement.md)
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
</td><td>
|
|
121
|
-
|
|
122
|
-
`readonly`
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</td><td>
|
|
126
|
-
|
|
127
|
-
any
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
</td><td>
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
</td></tr>
|
|
134
|
-
</tbody></table>
|
|
135
|
-
|
|
136
|
-
## Methods
|
|
137
|
-
|
|
138
|
-
<table><thead><tr><th>
|
|
139
|
-
|
|
140
|
-
Method
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</th><th>
|
|
144
|
-
|
|
145
|
-
Modifiers
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
</th><th>
|
|
149
|
-
|
|
150
|
-
Description
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
</th></tr></thead>
|
|
154
|
-
<tbody><tr><td>
|
|
155
|
-
|
|
156
|
-
[bindEvents()](./player.pictureinpicture.bindevents.md)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</td><td>
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
</td><td>
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</td></tr>
|
|
166
|
-
<tr><td>
|
|
167
|
-
|
|
168
|
-
[exitPictureInPicture()](./player.pictureinpicture.exitpictureinpicture.md)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
</td><td>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</td><td>
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
</td></tr>
|
|
178
|
-
<tr><td>
|
|
179
|
-
|
|
180
|
-
[render()](./player.pictureinpicture.render.md)
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
</td><td>
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
</td><td>
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</td></tr>
|
|
190
|
-
<tr><td>
|
|
191
|
-
|
|
192
|
-
[requestPictureInPicture()](./player.pictureinpicture.requestpictureinpicture.md)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
</td><td>
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</td><td>
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
</td></tr>
|
|
202
|
-
<tr><td>
|
|
203
|
-
|
|
204
|
-
[togglePictureInPicture()](./player.pictureinpicture.togglepictureinpicture.md)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
</td><td>
|
|
19
|
+
## Remarks
|
|
208
20
|
|
|
21
|
+
Depends on:
|
|
209
22
|
|
|
210
|
-
|
|
23
|
+
- [MediaControl](./player.mediacontrol.md)
|
|
211
24
|
|
|
25
|
+
It renders a button to toggle picture in picture mode in the media control UI.
|
|
212
26
|
|
|
213
|
-
</td></tr>
|
|
214
|
-
</tbody></table>
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
## PlaybackRate class
|
|
6
6
|
|
|
7
|
+
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
+
>
|
|
9
|
+
|
|
10
|
+
Allows changing the playback speed of the video.
|
|
11
|
+
|
|
7
12
|
**Signature:**
|
|
8
13
|
|
|
9
14
|
```typescript
|
|
@@ -11,322 +16,13 @@ export declare class PlaybackRate extends UICorePlugin
|
|
|
11
16
|
```
|
|
12
17
|
**Extends:** UICorePlugin
|
|
13
18
|
|
|
14
|
-
##
|
|
15
|
-
|
|
16
|
-
<table><thead><tr><th>
|
|
17
|
-
|
|
18
|
-
Property
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</th><th>
|
|
22
|
-
|
|
23
|
-
Modifiers
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
</th><th>
|
|
27
|
-
|
|
28
|
-
Type
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</th><th>
|
|
32
|
-
|
|
33
|
-
Description
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</th></tr></thead>
|
|
37
|
-
<tbody><tr><td>
|
|
38
|
-
|
|
39
|
-
[attributes](./player.playbackrate.attributes.md)
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</td><td>
|
|
43
|
-
|
|
44
|
-
`readonly`
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
{ class: string; 'data-playback-rate-select': string; }
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td></tr>
|
|
56
|
-
<tr><td>
|
|
57
|
-
|
|
58
|
-
[events](./player.playbackrate.events.md)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td><td>
|
|
62
|
-
|
|
63
|
-
`readonly`
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
</td><td>
|
|
67
|
-
|
|
68
|
-
{ 'click .gear-sub-menu\_btn': string; 'click .gear-option': string; 'click .go-back': string; }
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</td><td>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
<tr><td>
|
|
76
|
-
|
|
77
|
-
[name](./player.playbackrate.name.md)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
`readonly`
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</td><td>
|
|
86
|
-
|
|
87
|
-
string
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</td><td>
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
</td></tr>
|
|
94
|
-
<tr><td>
|
|
95
|
-
|
|
96
|
-
[supportedVersion](./player.playbackrate.supportedversion.md)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</td><td>
|
|
100
|
-
|
|
101
|
-
`readonly`
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
</td><td>
|
|
105
|
-
|
|
106
|
-
{ min: string; }
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
</td><td>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
</td></tr>
|
|
113
|
-
<tr><td>
|
|
114
|
-
|
|
115
|
-
[template](./player.playbackrate.template.md)
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
</td><td>
|
|
119
|
-
|
|
120
|
-
`readonly`
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
</td><td>
|
|
124
|
-
|
|
125
|
-
any
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
</td><td>
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
</td></tr>
|
|
132
|
-
</tbody></table>
|
|
133
|
-
|
|
134
|
-
## Methods
|
|
135
|
-
|
|
136
|
-
<table><thead><tr><th>
|
|
137
|
-
|
|
138
|
-
Method
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
</th><th>
|
|
142
|
-
|
|
143
|
-
Modifiers
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
</th><th>
|
|
147
|
-
|
|
148
|
-
Description
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
</th></tr></thead>
|
|
152
|
-
<tbody><tr><td>
|
|
153
|
-
|
|
154
|
-
[bindEvents()](./player.playbackrate.bindevents.md)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
</td><td>
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
</td><td>
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
</td></tr>
|
|
164
|
-
<tr><td>
|
|
165
|
-
|
|
166
|
-
[getTitle()](./player.playbackrate.gettitle.md)
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</td><td>
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
</td><td>
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
</td></tr>
|
|
176
|
-
<tr><td>
|
|
177
|
-
|
|
178
|
-
[goBack()](./player.playbackrate.goback.md)
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
</td><td>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
</td><td>
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
</td></tr>
|
|
188
|
-
<tr><td>
|
|
189
|
-
|
|
190
|
-
[highlightCurrentRate()](./player.playbackrate.highlightcurrentrate.md)
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
</td><td>
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
</td><td>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
</td></tr>
|
|
200
|
-
<tr><td>
|
|
201
|
-
|
|
202
|
-
[onFinishAd()](./player.playbackrate.onfinishad.md)
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
</td><td>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</td><td>
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
</td></tr>
|
|
212
|
-
<tr><td>
|
|
213
|
-
|
|
214
|
-
[onPlay()](./player.playbackrate.onplay.md)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</td><td>
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
</td><td>
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
</td></tr>
|
|
224
|
-
<tr><td>
|
|
225
|
-
|
|
226
|
-
[onRateSelect(event)](./player.playbackrate.onrateselect.md)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
</td><td>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</td><td>
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
</td></tr>
|
|
236
|
-
<tr><td>
|
|
237
|
-
|
|
238
|
-
[onShowMenu()](./player.playbackrate.onshowmenu.md)
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
</td><td>
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
</td><td>
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
</td></tr>
|
|
248
|
-
<tr><td>
|
|
249
|
-
|
|
250
|
-
[onStartAd()](./player.playbackrate.onstartad.md)
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
</td><td>
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
</td><td>
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
</td></tr>
|
|
260
|
-
<tr><td>
|
|
261
|
-
|
|
262
|
-
[onStop()](./player.playbackrate.onstop.md)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
</td><td>
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
</td><td>
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
</td></tr>
|
|
272
|
-
<tr><td>
|
|
273
|
-
|
|
274
|
-
[reload()](./player.playbackrate.reload.md)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
</td><td>
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
</td><td>
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
</td></tr>
|
|
284
|
-
<tr><td>
|
|
285
|
-
|
|
286
|
-
[render()](./player.playbackrate.render.md)
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
</td><td>
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
</td><td>
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
</td></tr>
|
|
296
|
-
<tr><td>
|
|
297
|
-
|
|
298
|
-
[setSelectedRate(rate)](./player.playbackrate.setselectedrate.md)
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
</td><td>
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
</td><td>
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
</td></tr>
|
|
308
|
-
<tr><td>
|
|
309
|
-
|
|
310
|
-
[unBindEvents()](./player.playbackrate.unbindevents.md)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
</td><td>
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
</td><td>
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
</td></tr>
|
|
320
|
-
<tr><td>
|
|
321
|
-
|
|
322
|
-
[updatePlaybackRate(rate)](./player.playbackrate.updateplaybackrate.md)
|
|
323
|
-
|
|
19
|
+
## Remarks
|
|
324
20
|
|
|
325
|
-
|
|
21
|
+
Depends on:
|
|
326
22
|
|
|
23
|
+
- [media\_control](./player.mediacontrol.md)
|
|
327
24
|
|
|
328
|
-
|
|
25
|
+
- [bottom\_gear](./player.bottomgear.md)
|
|
329
26
|
|
|
27
|
+
It renders a button in the gear menu, which opens a dropdown with the available playback rates.
|
|
330
28
|
|
|
331
|
-
</td></tr>
|
|
332
|
-
</tbody></table>
|