cloudinary-video-player 1.5.5 → 1.5.9
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/CHANGELOG.md +140 -21
- package/dist/cld-video-player.css +229 -2079
- package/dist/cld-video-player.js +200 -483
- package/dist/cld-video-player.light.css +231 -2081
- package/dist/cld-video-player.light.js +71 -23
- package/dist/cld-video-player.light.min.css +1 -1
- package/dist/cld-video-player.light.min.js +2 -23
- package/dist/cld-video-player.light.min.js.LICENSE.txt +23 -0
- package/dist/cld-video-player.min.css +1 -1
- package/dist/cld-video-player.min.js +2 -27
- package/dist/cld-video-player.min.js.LICENSE.txt +26 -0
- package/docs/interaction-area.html +104 -64
- package/package.json +23 -23
- package/src/assets/styles/components/interaction-areas.scss +165 -0
- package/src/assets/styles/components/themedButton.scss +48 -0
- package/src/assets/styles/icons.scss +149 -217
- package/src/assets/styles/main.scss +8 -30
- package/src/components/interaction-area/interaction-area.const.js +30 -0
- package/src/components/interaction-area/interaction-area.service.js +225 -0
- package/src/components/interaction-area/interaction-area.utils.js +236 -0
- package/src/components/logoButton/logo-button.js +3 -6
- package/src/components/themeButton/themedButton.const.js +3 -0
- package/src/components/themeButton/themedButton.js +25 -0
- package/src/config/defaults.js +3 -2
- package/src/extended-events.js +3 -0
- package/src/plugins/cloudinary/common.js +14 -6
- package/src/plugins/cloudinary/models/video-source/video-source.js +16 -12
- package/src/plugins/cloudinary/models/video-source/video-source.utils.js +28 -1
- package/src/plugins/colors/index.js +6 -1
- package/src/plugins/dash/videojs-dash.js +1 -1
- package/src/plugins/floating-player/index.js +3 -1
- package/src/utils/array.js +21 -0
- package/src/utils/dom.js +41 -2
- package/src/utils/object.js +26 -0
- package/src/utils/time.js +28 -1
- package/src/utils/type-inference.js +5 -1
- package/src/validators/validators-functions.js +48 -0
- package/src/validators/validators-types.js +78 -0
- package/src/validators/validators.js +110 -0
- package/src/video-player.const.js +23 -16
- package/src/video-player.js +47 -127
- package/src/video-player.utils.js +9 -70
- package/test/isValidConfig.test.js +224 -0
- package/test/unit/utils.test.js +27 -0
- package/test/unit/videoSource.test.js +155 -0
- package/types/video-player.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,40 +1,159 @@
|
|
|
1
|
-
1.5.
|
|
1
|
+
1.5.9 / 2021-11-02
|
|
2
2
|
==================
|
|
3
3
|
|
|
4
4
|
Fixes:
|
|
5
|
+
--------
|
|
6
|
+
Fix: Be able to go back if zoom into a video with an error.
|
|
7
|
+
Fix: ie11 support fix
|
|
8
|
+
|
|
9
|
+
Changes:
|
|
5
10
|
----------
|
|
6
|
-
|
|
11
|
+
Rename player interactionAreas config property to interactionDisplay
|
|
7
12
|
|
|
8
|
-
1.5.
|
|
13
|
+
1.5.8 / 2021-10-20
|
|
9
14
|
==================
|
|
10
15
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
16
|
+
Fixes
|
|
17
|
+
-------
|
|
18
|
+
- fix : Webpack build support ie11
|
|
19
|
+
- fix : Mark VideoJs font-family as !important
|
|
20
|
+
- fix : Hide bigPlayButton when using interaction-areas
|
|
21
|
+
|
|
22
|
+
1.5.7 / 2021-09-30
|
|
23
|
+
==================
|
|
24
|
+
|
|
25
|
+
Fixes
|
|
26
|
+
-------
|
|
27
|
+
Validators only display console warring, do not mark player as invalid
|
|
28
|
+
|
|
29
|
+
1.6.2-edge.13 / 2021-09-26
|
|
30
|
+
==================
|
|
31
|
+
|
|
32
|
+
Fixes
|
|
33
|
+
------
|
|
34
|
+
playedEventTimes event was fired once
|
|
35
|
+
|
|
36
|
+
1.6.2-edge.12 / 2021-08-17
|
|
37
|
+
==================
|
|
38
|
+
|
|
39
|
+
Changes
|
|
40
|
+
------------
|
|
41
|
+
set manual interaction areas template using config and not a function
|
|
42
|
+
|
|
43
|
+
1.6.2-edge.11 / 2021-08-11
|
|
44
|
+
==================
|
|
45
|
+
|
|
46
|
+
Changes
|
|
47
|
+
---------
|
|
48
|
+
Webpack should not remove console.error
|
|
49
|
+
|
|
50
|
+
1.6.2-edge.10 / 2021-08-08
|
|
51
|
+
==================
|
|
52
|
+
|
|
53
|
+
Changes
|
|
54
|
+
---------
|
|
55
|
+
- Add validators for video player configs
|
|
56
|
+
- interaction areas have not been supported in the light version
|
|
57
|
+
|
|
58
|
+
1.6.2-edge.9 / 2021-08-04
|
|
59
|
+
==================
|
|
60
|
+
|
|
61
|
+
fixes
|
|
62
|
+
-----
|
|
63
|
+
webpack build fix
|
|
64
|
+
|
|
65
|
+
changes:
|
|
66
|
+
---------
|
|
67
|
+
adding a transition to interaction-area items
|
|
68
|
+
|
|
69
|
+
1.6.2-edge.8 / 2021-07-27
|
|
70
|
+
==================
|
|
71
|
+
|
|
72
|
+
Fixes:
|
|
73
|
+
----------
|
|
74
|
+
fix: console error when passing transformation array to a source
|
|
75
|
+
|
|
76
|
+
1.6.2-edge.7 / 2021-07-26
|
|
77
|
+
==================
|
|
78
|
+
|
|
79
|
+
Fixes
|
|
80
|
+
-------
|
|
81
|
+
Check if interaction areas layout enable fix
|
|
82
|
+
|
|
83
|
+
1.6.2-edge.6 / 2021-07-25
|
|
84
|
+
==================
|
|
85
|
+
|
|
86
|
+
Fixes:
|
|
87
|
+
------------
|
|
88
|
+
fix: interaction-areas layout glitching
|
|
89
|
+
fix : style hover interaction-areas layout
|
|
90
|
+
|
|
91
|
+
Changes:
|
|
92
|
+
------------
|
|
93
|
+
Changing video-player interaction-areas config
|
|
94
|
+
|
|
95
|
+
1.6.2-edge.5 / 2021-07-22
|
|
96
|
+
==================
|
|
15
97
|
|
|
16
98
|
Fixes
|
|
17
99
|
-----------------
|
|
18
|
-
fix
|
|
19
|
-
|
|
20
|
-
fix retry timeout not clearing on play (#240)
|
|
21
|
-
fix: workaround safari hls h265 problem
|
|
22
|
-
fix: add a source if there is no codec
|
|
23
|
-
fix: videos in dash not playing
|
|
24
|
-
fix: IE11 fixes
|
|
25
|
-
fix: option { controlBar: false } generates errors
|
|
100
|
+
fix css glitch for interaction-areas-container
|
|
101
|
+
video not working if google analytics script is missing
|
|
26
102
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
Minor refactor for code syntax (linting + let/const)
|
|
103
|
+
Changes
|
|
104
|
+
---------
|
|
105
|
+
improve interaction area layout message
|
|
31
106
|
|
|
32
|
-
1.6.
|
|
107
|
+
1.6.2-edge.4 / 2021-07-21
|
|
33
108
|
==================
|
|
34
109
|
|
|
35
110
|
Fixes
|
|
36
111
|
-------
|
|
37
|
-
|
|
112
|
+
small fix - check if interactionLayout object is defined
|
|
113
|
+
|
|
114
|
+
1.6.2-edge.3 / 2021-07-20
|
|
115
|
+
==================
|
|
116
|
+
|
|
117
|
+
Changes:
|
|
118
|
+
-------------------
|
|
119
|
+
Improve interaction area position function
|
|
120
|
+
Add pulse animation to the dots on video zoom
|
|
121
|
+
Hide Interaction areas layout message after 2.5 sec
|
|
122
|
+
|
|
123
|
+
1.6.2-edge.2 / 2021-07-15
|
|
124
|
+
==================
|
|
125
|
+
|
|
126
|
+
Fixes:
|
|
127
|
+
-------------
|
|
128
|
+
fix: Do not add video codec if it is already defined.
|
|
129
|
+
fix: Interaction area point should be as video player Skin theme color
|
|
130
|
+
fix: Hover on the mute\unmute button, Video controllers move outside of the video container
|
|
131
|
+
|
|
132
|
+
1.6.2-edge.1 / 2021-07-13
|
|
133
|
+
==================
|
|
134
|
+
|
|
135
|
+
Fixes:
|
|
136
|
+
--------------
|
|
137
|
+
fix: in some cases interaction area dots get stuck
|
|
138
|
+
fix: layout message disappears when video on autoplay mode
|
|
139
|
+
fix: after zoom out in full screen the interaction areas move (set manually)
|
|
140
|
+
fix: interaction area dots flickering
|
|
141
|
+
|
|
142
|
+
Other Changes
|
|
143
|
+
--------------
|
|
144
|
+
update dependencies
|
|
145
|
+
|
|
146
|
+
1.6.2-edge.0 / 2021-07-05
|
|
147
|
+
==================
|
|
148
|
+
|
|
149
|
+
Fixes:
|
|
150
|
+
--------
|
|
151
|
+
fix: source copy, ie11 fix
|
|
152
|
+
fix: interaction areas size in full screen are not on the right size
|
|
153
|
+
|
|
154
|
+
Other Changes
|
|
155
|
+
--------------
|
|
156
|
+
interaction areas new look
|
|
38
157
|
|
|
39
158
|
1.6.1-edge.6 / 2021-06-30
|
|
40
159
|
==================
|