@hubspot/video-player-core 0.1.24 → 0.1.25
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/components/VideoFetchProvider.d.ts +2 -2
- package/dist/components/VideoFetchProvider.d.ts.map +1 -1
- package/dist/components/VideoPlayer.d.ts.map +1 -1
- package/dist/hooks/useVideo.d.ts +1 -0
- package/dist/hooks/useVideo.d.ts.map +1 -1
- package/dist/index.cjs +161 -161
- package/dist/index.js +6013 -5979
- package/dist/utils/i18n.d.ts +4 -0
- package/dist/utils/i18n.d.ts.map +1 -1
- package/dist/utils/playerContainer.d.ts +4 -0
- package/dist/utils/playerContainer.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/utils/i18n.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ export declare const DEFAULT_TRANSLATIONS: {
|
|
|
31
31
|
readonly encryptionErrorMessage: "The media is encrypted and there are no keys to decrypt it.";
|
|
32
32
|
readonly watchVideo: "Watch video";
|
|
33
33
|
readonly defaultInlineMessage: "Thanks for your response!";
|
|
34
|
+
readonly notFoundVideoFetchError: "Video not found";
|
|
35
|
+
readonly notAuthorizedVideoFetchError: "Video not enabled";
|
|
36
|
+
readonly genericVideoFetchError: "Could not load video";
|
|
37
|
+
readonly retry: "Try again";
|
|
34
38
|
};
|
|
35
39
|
type TranslationKeys = keyof typeof DEFAULT_TRANSLATIONS;
|
|
36
40
|
export type Translations = Record<TranslationKeys, string>;
|
package/dist/utils/i18n.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/utils/i18n.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/utils/i18n.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCvB,CAAC;AAEX,KAAK,eAAe,GAAG,MAAM,OAAO,oBAAoB,CAAC;AAEzD,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AAE3D;;;GAGG;AACH,eAAO,MAAM,qBAAqB,iBAClB,OAAO,CAAC,YAAY,CAAC,KAClC,OAAO,CAAC,mBAAmB,CA4C7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playerContainer.d.ts","sourceRoot":"","sources":["../../src/utils/playerContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAqB9C,eAAO,MAAM,kBAAkB,uBACT,kBAAkB,KACrC,aASD,CAAC"}
|