@vouchfor/embeds 0.0.0-experiment.2163a85 → 0.0.0-experiment.2397f10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/embeds.js +30 -26
- package/dist/es/embeds.js.map +1 -1
- package/dist/es/src/components/PlayerEmbed/index.d.ts +7 -6
- package/dist/es/src/components/PlayerEmbed/tests/data.d.ts +2 -1
- package/dist/es/src/components/PlayerEmbed/tests/media-data.d.ts +19 -0
- package/dist/iife/dialog-embed/embed.iife.js +2612 -317
- package/dist/iife/dialog-embed/embed.iife.js.map +1 -1
- package/dist/iife/embeds.iife.js +2612 -317
- package/dist/iife/embeds.iife.js.map +1 -1
- package/dist/iife/player-embed/embed.iife.js +2589 -294
- package/dist/iife/player-embed/embed.iife.js.map +1 -1
- package/package.json +6 -5
- package/src/components/PlayerEmbed/MultiEmbed.stories.ts +135 -0
- package/src/components/PlayerEmbed/PlayerEmbed.stories.ts +15 -1
- package/src/components/PlayerEmbed/controllers/tracking/index.ts +2 -2
- package/src/components/PlayerEmbed/index.ts +28 -16
- package/src/components/PlayerEmbed/tests/PlayerEmbed.spec.ts +9 -2
- package/src/components/PlayerEmbed/tests/data.ts +120 -76
- package/src/components/PlayerEmbed/tests/media-data.ts +22 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
const VIDEOA = {
|
2
|
+
mp4: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/01/output.mp4',
|
3
|
+
m3u8: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/01/master.m3u8',
|
4
|
+
jpg: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/01/output.jpg',
|
5
|
+
duration: 7.29
|
6
|
+
};
|
7
|
+
|
8
|
+
const VIDEOB = {
|
9
|
+
mp4: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/02/output.mp4',
|
10
|
+
m3u8: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/02/master.m3u8',
|
11
|
+
jpg: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/02/output.jpg',
|
12
|
+
duration: 40.4
|
13
|
+
};
|
14
|
+
|
15
|
+
const VIDEOC = {
|
16
|
+
mp4: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/03/output.mp4',
|
17
|
+
m3u8: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/03/master.m3u8',
|
18
|
+
jpg: 'https://media-player-test-videos.s3.ap-southeast-2.amazonaws.com/03/output.jpg',
|
19
|
+
duration: 30.33
|
20
|
+
};
|
21
|
+
|
22
|
+
export { VIDEOA, VIDEOB, VIDEOC };
|