playsvideo 0.4.3 → 0.4.5

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 CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  **You probably don't need VLC.** Play any video file in the browser — no install, no upload.
8
8
 
9
- [Try it at playsvideo.com](https://playsvideo.com)  |  Drop a file. It plays.
9
+ [Try it at playsvideo.com](https://playsvideo.com)  |  [Chrome Extension](https://chromewebstore.google.com/detail/playsvideo/leanfmncjikipbkbjghejpaenkpanimp)  |  Drop a file. It plays.
10
10
 
11
11
  ---
12
12
 
@@ -0,0 +1,18 @@
1
+ declare global {
2
+ interface DocumentPictureInPicture {
3
+ requestWindow(options?: {
4
+ width?: number;
5
+ height?: number;
6
+ }): Promise<Window>;
7
+ }
8
+ var documentPictureInPicture: DocumentPictureInPicture | undefined;
9
+ }
10
+ export interface CustomControlsOptions {
11
+ video: HTMLVideoElement;
12
+ container: HTMLElement;
13
+ }
14
+ export interface CustomControlsHandle {
15
+ destroy(): void;
16
+ }
17
+ export declare function createCustomControls(options: CustomControlsOptions): CustomControlsHandle;
18
+ //# sourceMappingURL=custom-controls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"custom-controls.d.ts","sourceRoot":"","sources":["../src/custom-controls.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,wBAAwB;QAChC,aAAa,CAAC,OAAO,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;KAC/E;IAED,IAAI,wBAAwB,EAAE,wBAAwB,GAAG,SAAS,CAAC;CACpE;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,SAAS,EAAE,WAAW,CAAC;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,IAAI,IAAI,CAAC;CACjB;AAqRD,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,GAAG,oBAAoB,CAggBzF"}