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.
Files changed (46) hide show
  1. package/CHANGELOG.md +140 -21
  2. package/dist/cld-video-player.css +229 -2079
  3. package/dist/cld-video-player.js +200 -483
  4. package/dist/cld-video-player.light.css +231 -2081
  5. package/dist/cld-video-player.light.js +71 -23
  6. package/dist/cld-video-player.light.min.css +1 -1
  7. package/dist/cld-video-player.light.min.js +2 -23
  8. package/dist/cld-video-player.light.min.js.LICENSE.txt +23 -0
  9. package/dist/cld-video-player.min.css +1 -1
  10. package/dist/cld-video-player.min.js +2 -27
  11. package/dist/cld-video-player.min.js.LICENSE.txt +26 -0
  12. package/docs/interaction-area.html +104 -64
  13. package/package.json +23 -23
  14. package/src/assets/styles/components/interaction-areas.scss +165 -0
  15. package/src/assets/styles/components/themedButton.scss +48 -0
  16. package/src/assets/styles/icons.scss +149 -217
  17. package/src/assets/styles/main.scss +8 -30
  18. package/src/components/interaction-area/interaction-area.const.js +30 -0
  19. package/src/components/interaction-area/interaction-area.service.js +225 -0
  20. package/src/components/interaction-area/interaction-area.utils.js +236 -0
  21. package/src/components/logoButton/logo-button.js +3 -6
  22. package/src/components/themeButton/themedButton.const.js +3 -0
  23. package/src/components/themeButton/themedButton.js +25 -0
  24. package/src/config/defaults.js +3 -2
  25. package/src/extended-events.js +3 -0
  26. package/src/plugins/cloudinary/common.js +14 -6
  27. package/src/plugins/cloudinary/models/video-source/video-source.js +16 -12
  28. package/src/plugins/cloudinary/models/video-source/video-source.utils.js +28 -1
  29. package/src/plugins/colors/index.js +6 -1
  30. package/src/plugins/dash/videojs-dash.js +1 -1
  31. package/src/plugins/floating-player/index.js +3 -1
  32. package/src/utils/array.js +21 -0
  33. package/src/utils/dom.js +41 -2
  34. package/src/utils/object.js +26 -0
  35. package/src/utils/time.js +28 -1
  36. package/src/utils/type-inference.js +5 -1
  37. package/src/validators/validators-functions.js +48 -0
  38. package/src/validators/validators-types.js +78 -0
  39. package/src/validators/validators.js +110 -0
  40. package/src/video-player.const.js +23 -16
  41. package/src/video-player.js +47 -127
  42. package/src/video-player.utils.js +9 -70
  43. package/test/isValidConfig.test.js +224 -0
  44. package/test/unit/utils.test.js +27 -0
  45. package/test/unit/videoSource.test.js +155 -0
  46. package/types/video-player.d.ts +1 -1
package/CHANGELOG.md CHANGED
@@ -1,40 +1,159 @@
1
- 1.5.5 / 2021-07-26
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
- fix : add withCredentials to player params list
11
+ Rename player interactionAreas config property to interactionDisplay
7
12
 
8
- 1.5.4 / 2021-07-04
13
+ 1.5.8 / 2021-10-20
9
14
  ==================
10
15
 
11
- New functionality and features
12
- ---------------------------
13
- Add interaction areas (#254)
14
- Add handling non existent texttracks (#252)
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 fluid poster CSS (#247)
19
- fix handleCldError not returning statusCode (#248)
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
- Other Changes
28
- -------------------
29
- Update dependencies (#236)
30
- Minor refactor for code syntax (linting + let/const)
103
+ Changes
104
+ ---------
105
+ improve interaction area layout message
31
106
 
32
- 1.6.1-edge.7 / 2021-07-01
107
+ 1.6.2-edge.4 / 2021-07-21
33
108
  ==================
34
109
 
35
110
  Fixes
36
111
  -------
37
- Revert fix source copy of ie
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
  ==================