ozone-video-player 6.3.0 → 6.3.2
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.
|
@@ -33,7 +33,6 @@ export declare class WCMediaControl extends Clappr.MediaControl {
|
|
|
33
33
|
/*** Start audio control ***/
|
|
34
34
|
updateDrag(event: MouseEvent): void;
|
|
35
35
|
getVolumeFromUIEvent(event: MouseEvent): number;
|
|
36
|
-
muted: boolean;
|
|
37
36
|
_savedVolume: number | undefined;
|
|
38
37
|
get savedVolume(): number;
|
|
39
38
|
set savedVolume(savedVolume: number);
|
package/dist/src/MediaControl.js
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import * as Clappr from 'Clappr';
|
|
2
2
|
export class WCMediaControl extends Clappr.MediaControl {
|
|
3
|
-
constructor() {
|
|
4
|
-
super(...arguments);
|
|
5
|
-
this.muted = false;
|
|
6
|
-
/*** End audio control ***/
|
|
7
|
-
}
|
|
8
3
|
get events() {
|
|
9
4
|
return {
|
|
10
5
|
'click [data-play]': 'play',
|
|
@@ -106,7 +101,7 @@ export class WCMediaControl extends Clappr.MediaControl {
|
|
|
106
101
|
}
|
|
107
102
|
}
|
|
108
103
|
stopDrag(event) {
|
|
109
|
-
//super.stopDrag(event)
|
|
104
|
+
// super.stopDrag(event)
|
|
110
105
|
}
|
|
111
106
|
hide(delay = 0) {
|
|
112
107
|
if (!this.isVisible()) {
|
|
@@ -146,11 +141,9 @@ export class WCMediaControl extends Clappr.MediaControl {
|
|
|
146
141
|
this._savedVolume = savedVolume;
|
|
147
142
|
}
|
|
148
143
|
toggleMute() {
|
|
149
|
-
this.muted = !this.muted;
|
|
150
144
|
this.setVolume(this.muted ? 0 : this.savedVolume);
|
|
151
145
|
}
|
|
152
146
|
onVolumeClick(event) {
|
|
153
|
-
this.muted = false;
|
|
154
147
|
this.savedVolume = this.getVolumeFromUIEvent(event);
|
|
155
148
|
this.setVolume(this.savedVolume);
|
|
156
149
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ozone-video-player",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"clappr": "0.3.13",
|
|
38
38
|
"clappr-markers-plugin": "git+https://github.com/taktik/clappr-markers-plugin.git",
|
|
39
|
-
"ozone-api-item": "^6.3.
|
|
39
|
+
"ozone-api-item": "^6.3.2",
|
|
40
40
|
"ozone-api-request": "^6.2.4",
|
|
41
|
-
"ozone-default-client": "^6.2
|
|
42
|
-
"ozone-media-url": "^6.3.
|
|
41
|
+
"ozone-default-client": "^6.3.2",
|
|
42
|
+
"ozone-media-url": "^6.3.2",
|
|
43
43
|
"ozone-search-helper": "^6.2.4",
|
|
44
44
|
"ozone-type": "^6.2.4",
|
|
45
|
-
"ozone-typescript-client": "^6.2
|
|
45
|
+
"ozone-typescript-client": "^6.3.2",
|
|
46
46
|
"uuid": "8.3.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "7dd556a57d487459f89799a08999f4770b340d6f"
|
|
49
49
|
}
|