@instructure/studio-player 1.5.1 → 1.5.3
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/README.md +9 -0
- package/dist/StudioPlayer/StudioPlayer.d.ts +1 -1
- package/dist/StudioPlayer/StudioPlayer.types.d.ts +1 -0
- package/dist/StudioPlayer/hooks/useCaptions.d.ts +13 -0
- package/dist/StudioPlayer/utils/notorious/caption.d.ts +5 -0
- package/dist/StudioPlayer/utils/notorious/caption.test.d.ts +1 -0
- package/dist/en-Dp1WmGOX.js +151 -0
- package/dist/{index-CJQwoxYb.css → index-CIUXyQEm.css} +1 -1
- package/dist/studio-player.es.js +9095 -8987
- package/package.json +2 -1
- package/dist/en-BgIIckEu.js +0 -149
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/studio-player",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Next generation media player for Instructure",
|
|
6
6
|
"module": "./dist/studio-player.es.js",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"dashjs": "4.7.4",
|
|
64
64
|
"i18next": "^24.2.1",
|
|
65
65
|
"i18next-resources-to-backend": "^1.2.1",
|
|
66
|
+
"jwt-decode": "^4.0.0",
|
|
66
67
|
"nanostores": "^1.0.1",
|
|
67
68
|
"react": "^18.3.1",
|
|
68
69
|
"react-dom": "^18.3.1",
|
package/dist/en-BgIIckEu.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
const t = "Action", n = "Add annotation at {{time}}", o = "Add question at {{time}}", e = "Annotations", s = "Auto", c = "Auto ({{quality}})", E = "Back", A = "Captions", a = "Disable Captions", T = "Enable Captions", S = "Caption Language", O = "Manage Captions", _ = "Delete {{language}}", N = "Font Size", C = "Caption Language: {{language}}", P = "Clear Search", L = "Close", i = "Comments", I = "Continue", R = "Decrease Playback Speed", r = "Decrease Volume by {{percent}}%", l = "Down Arrow", u = "Enable Autoscroll", U = "Enter Fullscreen", p = "Exit Fullscreen", D = "Increase Playback Speed", M = "Increase Volume by {{percent}}%", d = "Invert Colors", g = "Jump to specific percentage (1-10%, 2-20%, etc)", G = "Jump to Start", m = "Actions for {{title}}", B = "Keyboard Shortcuts", b = "Language", y = "Left Arrow", V = "Main Menu", K = "Mute", Y = "Muted", k = "Next Caption Language", F = "Next Hit", H = "Off", Q = "On Top", f = "Open annotation at {{time}}", w = "Open completed quiz at {{time}}", W = "Open quiz at {{time}}", h = "Pause", x = "Play", q = "Playback Speed", v = "Playback Speed: {{speed}}x", J = "Previous Caption Language", z = "Previous Hit", X = "Quality", Z = "Quality Menu", j = "Replay", $ = "Reset Playback Speed", tt = "Right Arrow", nt = "Search in transcript", ot = "Seek backward: {{seconds}} seconds", et = "Seek forward: {{seconds}} seconds", st = "Settings", ct = "Shortcut", Et = "Close Sidebar", At = "Open Sidebar", at = "Space", Tt = "Playback speed menu", St = "Toggle Captions", Ot = "Toggle Muted", _t = "Toggle Play/Pause", Nt = "Transcript Options", Ct = "Up Arrow", Pt = "Video Settings", Lt = "Volume", it = "Volume: {{volume}}%", It = {
|
|
2
|
-
ACTION: t,
|
|
3
|
-
ADD_ANNOTATION_AT: n,
|
|
4
|
-
ADD_QUESTION_AT: o,
|
|
5
|
-
ANNOTATIONS: e,
|
|
6
|
-
AUTO: s,
|
|
7
|
-
AUTO_QUALITY: c,
|
|
8
|
-
BACK: E,
|
|
9
|
-
CAPTIONS: A,
|
|
10
|
-
CAPTIONS_DISABLE: a,
|
|
11
|
-
CAPTIONS_ENABLE: T,
|
|
12
|
-
CAPTIONS_LANGUAGE: S,
|
|
13
|
-
CAPTIONS_MANAGE: O,
|
|
14
|
-
CAPTION_DELETE: _,
|
|
15
|
-
CAPTION_FONT_SIZE: N,
|
|
16
|
-
CAPTION_LANGUAGE: C,
|
|
17
|
-
CLEAR_SEARCH: P,
|
|
18
|
-
CLOSE: L,
|
|
19
|
-
COMMENTS: i,
|
|
20
|
-
CONTINUE: I,
|
|
21
|
-
DECREASE_PLAYBACK_SPEED: R,
|
|
22
|
-
DECREASE_VOLUME: r,
|
|
23
|
-
DOWN_ARROW: l,
|
|
24
|
-
ENABLE_AUTOSCROLL: u,
|
|
25
|
-
ENTER_FULLSCREEN: U,
|
|
26
|
-
EXIT_FULLSCREEN: p,
|
|
27
|
-
INCREASE_PLAYBACK_SPEED: D,
|
|
28
|
-
INCREASE_VOLUME: M,
|
|
29
|
-
INVERT_COLORS: d,
|
|
30
|
-
JUMP_TO_PERCENTAGE: g,
|
|
31
|
-
JUMP_TO_START: G,
|
|
32
|
-
KEBAB_MENU: m,
|
|
33
|
-
KEYBOARD_SHORTCUTS: B,
|
|
34
|
-
LANGUAGE: b,
|
|
35
|
-
LEFT_ARROW: y,
|
|
36
|
-
MAIN_MENU: V,
|
|
37
|
-
MUTE: K,
|
|
38
|
-
MUTED: Y,
|
|
39
|
-
NEXT_CAPTION_LANGUAGE: k,
|
|
40
|
-
NEXT_HIT: F,
|
|
41
|
-
OFF: H,
|
|
42
|
-
ON_TOP: Q,
|
|
43
|
-
OPEN_ANNOTATION_AT: f,
|
|
44
|
-
OPEN_COMPLETED_QUIZ_AT: w,
|
|
45
|
-
OPEN_QUIZ_AT: W,
|
|
46
|
-
PAUSE: h,
|
|
47
|
-
PLAY: x,
|
|
48
|
-
PLAYBACK_SPEED: q,
|
|
49
|
-
PLAYBACK_SPEED_MESSAGE: v,
|
|
50
|
-
PREVIOUS_CAPTION_LANGUAGE: J,
|
|
51
|
-
PREVIOUS_HIT: z,
|
|
52
|
-
QUALITY: X,
|
|
53
|
-
QUALITY_MENU: Z,
|
|
54
|
-
REPLAY: j,
|
|
55
|
-
RESET_PLAYBACK_SPEED: $,
|
|
56
|
-
RIGHT_ARROW: tt,
|
|
57
|
-
SEARCH_TRANSCRIPT_PLACEHOLDER: nt,
|
|
58
|
-
SEEK_BACKWARD: ot,
|
|
59
|
-
SEEK_FORWARD: et,
|
|
60
|
-
SETTINGS: st,
|
|
61
|
-
SHORTCUT: ct,
|
|
62
|
-
SIDEBAR_CLOSE: Et,
|
|
63
|
-
SIDEBAR_OPEN: At,
|
|
64
|
-
SPACE: at,
|
|
65
|
-
SPEED_MENU: Tt,
|
|
66
|
-
TOGGLE_CAPTIONS: St,
|
|
67
|
-
TOGGLE_MUTED: Ot,
|
|
68
|
-
TOGGLE_PLAY_PAUSE: _t,
|
|
69
|
-
TRANSCRIPT_OPTIONS: Nt,
|
|
70
|
-
UP_ARROW: Ct,
|
|
71
|
-
VIDEO_SETTINGS: Pt,
|
|
72
|
-
VOLUME: Lt,
|
|
73
|
-
VOLUME_VALUE: it
|
|
74
|
-
};
|
|
75
|
-
export {
|
|
76
|
-
t as ACTION,
|
|
77
|
-
n as ADD_ANNOTATION_AT,
|
|
78
|
-
o as ADD_QUESTION_AT,
|
|
79
|
-
e as ANNOTATIONS,
|
|
80
|
-
s as AUTO,
|
|
81
|
-
c as AUTO_QUALITY,
|
|
82
|
-
E as BACK,
|
|
83
|
-
A as CAPTIONS,
|
|
84
|
-
a as CAPTIONS_DISABLE,
|
|
85
|
-
T as CAPTIONS_ENABLE,
|
|
86
|
-
S as CAPTIONS_LANGUAGE,
|
|
87
|
-
O as CAPTIONS_MANAGE,
|
|
88
|
-
_ as CAPTION_DELETE,
|
|
89
|
-
N as CAPTION_FONT_SIZE,
|
|
90
|
-
C as CAPTION_LANGUAGE,
|
|
91
|
-
P as CLEAR_SEARCH,
|
|
92
|
-
L as CLOSE,
|
|
93
|
-
i as COMMENTS,
|
|
94
|
-
I as CONTINUE,
|
|
95
|
-
R as DECREASE_PLAYBACK_SPEED,
|
|
96
|
-
r as DECREASE_VOLUME,
|
|
97
|
-
l as DOWN_ARROW,
|
|
98
|
-
u as ENABLE_AUTOSCROLL,
|
|
99
|
-
U as ENTER_FULLSCREEN,
|
|
100
|
-
p as EXIT_FULLSCREEN,
|
|
101
|
-
D as INCREASE_PLAYBACK_SPEED,
|
|
102
|
-
M as INCREASE_VOLUME,
|
|
103
|
-
d as INVERT_COLORS,
|
|
104
|
-
g as JUMP_TO_PERCENTAGE,
|
|
105
|
-
G as JUMP_TO_START,
|
|
106
|
-
m as KEBAB_MENU,
|
|
107
|
-
B as KEYBOARD_SHORTCUTS,
|
|
108
|
-
b as LANGUAGE,
|
|
109
|
-
y as LEFT_ARROW,
|
|
110
|
-
V as MAIN_MENU,
|
|
111
|
-
K as MUTE,
|
|
112
|
-
Y as MUTED,
|
|
113
|
-
k as NEXT_CAPTION_LANGUAGE,
|
|
114
|
-
F as NEXT_HIT,
|
|
115
|
-
H as OFF,
|
|
116
|
-
Q as ON_TOP,
|
|
117
|
-
f as OPEN_ANNOTATION_AT,
|
|
118
|
-
w as OPEN_COMPLETED_QUIZ_AT,
|
|
119
|
-
W as OPEN_QUIZ_AT,
|
|
120
|
-
h as PAUSE,
|
|
121
|
-
x as PLAY,
|
|
122
|
-
q as PLAYBACK_SPEED,
|
|
123
|
-
v as PLAYBACK_SPEED_MESSAGE,
|
|
124
|
-
J as PREVIOUS_CAPTION_LANGUAGE,
|
|
125
|
-
z as PREVIOUS_HIT,
|
|
126
|
-
X as QUALITY,
|
|
127
|
-
Z as QUALITY_MENU,
|
|
128
|
-
j as REPLAY,
|
|
129
|
-
$ as RESET_PLAYBACK_SPEED,
|
|
130
|
-
tt as RIGHT_ARROW,
|
|
131
|
-
nt as SEARCH_TRANSCRIPT_PLACEHOLDER,
|
|
132
|
-
ot as SEEK_BACKWARD,
|
|
133
|
-
et as SEEK_FORWARD,
|
|
134
|
-
st as SETTINGS,
|
|
135
|
-
ct as SHORTCUT,
|
|
136
|
-
Et as SIDEBAR_CLOSE,
|
|
137
|
-
At as SIDEBAR_OPEN,
|
|
138
|
-
at as SPACE,
|
|
139
|
-
Tt as SPEED_MENU,
|
|
140
|
-
St as TOGGLE_CAPTIONS,
|
|
141
|
-
Ot as TOGGLE_MUTED,
|
|
142
|
-
_t as TOGGLE_PLAY_PAUSE,
|
|
143
|
-
Nt as TRANSCRIPT_OPTIONS,
|
|
144
|
-
Ct as UP_ARROW,
|
|
145
|
-
Pt as VIDEO_SETTINGS,
|
|
146
|
-
Lt as VOLUME,
|
|
147
|
-
it as VOLUME_VALUE,
|
|
148
|
-
It as default
|
|
149
|
-
};
|