@byomakase/omakase-player 0.8.5 → 0.8.6
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/dist/api/video-api.d.ts +14 -0
- package/dist/omakase-player.cjs.js +19 -19
- package/dist/omakase-player.cjs.js.map +1 -1
- package/dist/omakase-player.es.js +714 -703
- package/dist/omakase-player.es.js.map +1 -1
- package/dist/omakase-player.umd.js +19 -19
- package/dist/omakase-player.umd.js.map +1 -1
- package/dist/video/video-controller.d.ts +3 -0
- package/package.json +1 -1
package/dist/api/video-api.d.ts
CHANGED
|
@@ -161,6 +161,12 @@ export interface VideoApi extends Api {
|
|
|
161
161
|
* @param timestamp Video timestamp in HH:MM:SS:FF format
|
|
162
162
|
*/
|
|
163
163
|
seekToFormattedTimestamp(timestamp: string): Observable<boolean>;
|
|
164
|
+
/**
|
|
165
|
+
* Seeks to timeline location
|
|
166
|
+
*
|
|
167
|
+
* @param percent
|
|
168
|
+
*/
|
|
169
|
+
seekToPercent(percent: number): Observable<boolean>;
|
|
164
170
|
/***
|
|
165
171
|
* Formats video timestamp to HH:MM:SS:FF
|
|
166
172
|
* @param time Video timestamp in seconds
|
|
@@ -194,6 +200,14 @@ export interface VideoApi extends Api {
|
|
|
194
200
|
* Video unmute
|
|
195
201
|
*/
|
|
196
202
|
unmute(): any;
|
|
203
|
+
/***
|
|
204
|
+
* Returns is video muted
|
|
205
|
+
*/
|
|
206
|
+
isMuted(): boolean;
|
|
207
|
+
/**
|
|
208
|
+
* Toggles mute / unmute
|
|
209
|
+
*/
|
|
210
|
+
toggleMuteUnmute(): void;
|
|
197
211
|
/***
|
|
198
212
|
* Indicates if video is in fullscreen mode
|
|
199
213
|
*/
|