@vouchfor/embeds 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/es/embeds.js +3 -3
- package/dist/iife/dialog-embed/embed.iife.js +66 -66
- package/dist/iife/dialog-embed/embed.iife.js.map +1 -1
- package/dist/iife/embeds.iife.js +66 -66
- package/dist/iife/embeds.iife.js.map +1 -1
- package/dist/iife/player-embed/embed.iife.js +73 -73
- package/dist/iife/player-embed/embed.iife.js.map +1 -1
- package/package.json +3 -3
- package/src/components/PlayerEmbed/PlayerEmbed.stories.ts +15 -1
- package/src/components/PlayerEmbed/tests/data.ts +23 -23
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vouchfor/embeds",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.1",
|
4
4
|
"license": "MIT",
|
5
5
|
"author": "Aaron Williams",
|
6
6
|
"main": "dist/es/embeds.js",
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"@a11y/focus-trap": "^1.0.5",
|
47
47
|
"@lit/task": "^1.0.0",
|
48
48
|
"@vouchfor/canvas-video": "^8.0.0",
|
49
|
-
"@vouchfor/media-player": "^3.0.
|
49
|
+
"@vouchfor/media-player": "^3.0.1",
|
50
50
|
"uuid": "^9.0.1"
|
51
51
|
},
|
52
52
|
"peerDependencies": {
|
@@ -65,7 +65,7 @@
|
|
65
65
|
"@types/mocha": "^10.0.6",
|
66
66
|
"@vouchfor/eslint-config": "^1.0.1",
|
67
67
|
"@vouchfor/prettier-config": "^1.0.1",
|
68
|
-
"@vouchfor/video-utils": "^1.0.
|
68
|
+
"@vouchfor/video-utils": "^1.0.1",
|
69
69
|
"@web/dev-server-esbuild": "^1.0.2",
|
70
70
|
"@web/test-runner": "^0.18.1",
|
71
71
|
"@web/test-runner-browserstack": "^0.7.1",
|
@@ -58,7 +58,21 @@ const Player: Story = {
|
|
58
58
|
questions: [],
|
59
59
|
aspectRatio: 0,
|
60
60
|
preload: 'none',
|
61
|
-
autoplay: false
|
61
|
+
autoplay: false,
|
62
|
+
controls: [
|
63
|
+
'progress',
|
64
|
+
'play-large',
|
65
|
+
'navigation',
|
66
|
+
'play',
|
67
|
+
'volume',
|
68
|
+
'current-time',
|
69
|
+
'duration',
|
70
|
+
'speed',
|
71
|
+
'captions',
|
72
|
+
'fullscreen',
|
73
|
+
'preview',
|
74
|
+
'languages'
|
75
|
+
]
|
62
76
|
},
|
63
77
|
argTypes: {
|
64
78
|
env: {
|
@@ -39,14 +39,14 @@ const data = {
|
|
39
39
|
thumbnail:
|
40
40
|
'https://d2rxhdlm2q91uk.cloudfront.net/TVik9uTMgE/6JQEIPeStt/5c66bb3a-ed68-41a0-a601-a49865104418/5c66bb3a-ed68-41a0-a601-a49865104418_poster.0000001.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMnJ4aGRsbTJxOTF1ay5jbG91ZGZyb250Lm5ldC9UVmlrOXVUTWdFLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjIwMTYzMjM0Mjl9fX1dfQ__&Key-Pair-Id=K2SWKOH0FA5F6M&Signature=SGA54MFpy4jaqKJHKEuxRfjk-~NBFAh1tdW9Y6uYJwc0LFjDDgX1sraerSyohmVhj~-QVIrglY5BvglDIhrFcLJWGTkgj4vhyLprk1a7EDckv0HBgp-k1ZKvoDtt3wBOzrL4GicfXBkuMpIu5jv5MY3xemlJj2a6V~h65XJuLO4u-xS~McH6rS3mRxoNl4GcYUVm4upre1DGQx-5Suy6Ateoxl6xxoF8kg5EL02KxkIGiRpwXJTvVmUuVF0rpBj-IE40MfmhLBQ1NNSXiqb3-HjpkKwhYPvB5APVh23mzGmqJ0P3jbr2F1cU4Jvlqsjb6GVP61wGOz9ITeWPZkOy8A__'
|
41
41
|
},
|
42
|
-
client: {
|
43
|
-
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
44
|
-
name: 'Not Supplied',
|
45
|
-
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
46
|
-
},
|
47
42
|
contact: {
|
48
43
|
id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
|
49
|
-
name: 'Aaron Williams'
|
44
|
+
name: 'Aaron Williams',
|
45
|
+
client: {
|
46
|
+
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
47
|
+
name: 'Not Supplied',
|
48
|
+
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
49
|
+
}
|
50
50
|
},
|
51
51
|
captions: {
|
52
52
|
current:
|
@@ -83,14 +83,14 @@ const data = {
|
|
83
83
|
thumbnail:
|
84
84
|
'https://d2rxhdlm2q91uk.cloudfront.net/TVik9uTMgE/6JQEIPeStt/5c66bb3a-ed68-41a0-a601-a49865104418/5c66bb3a-ed68-41a0-a601-a49865104418_poster.0000001.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMnJ4aGRsbTJxOTF1ay5jbG91ZGZyb250Lm5ldC9UVmlrOXVUTWdFLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjIwMTYzMjM0Mjl9fX1dfQ__&Key-Pair-Id=K2SWKOH0FA5F6M&Signature=SGA54MFpy4jaqKJHKEuxRfjk-~NBFAh1tdW9Y6uYJwc0LFjDDgX1sraerSyohmVhj~-QVIrglY5BvglDIhrFcLJWGTkgj4vhyLprk1a7EDckv0HBgp-k1ZKvoDtt3wBOzrL4GicfXBkuMpIu5jv5MY3xemlJj2a6V~h65XJuLO4u-xS~McH6rS3mRxoNl4GcYUVm4upre1DGQx-5Suy6Ateoxl6xxoF8kg5EL02KxkIGiRpwXJTvVmUuVF0rpBj-IE40MfmhLBQ1NNSXiqb3-HjpkKwhYPvB5APVh23mzGmqJ0P3jbr2F1cU4Jvlqsjb6GVP61wGOz9ITeWPZkOy8A__'
|
85
85
|
},
|
86
|
-
client: {
|
87
|
-
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
88
|
-
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
89
|
-
},
|
90
86
|
contact: {
|
91
87
|
id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
|
92
88
|
name: 'Aaron Williams',
|
93
|
-
roleTitle: 'Software Engineer'
|
89
|
+
roleTitle: 'Software Engineer',
|
90
|
+
client: {
|
91
|
+
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
92
|
+
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
93
|
+
}
|
94
94
|
},
|
95
95
|
captions: {
|
96
96
|
current:
|
@@ -121,15 +121,15 @@ const data = {
|
|
121
121
|
thumbnail:
|
122
122
|
'https://d2rxhdlm2q91uk.cloudfront.net/TVik9uTMgE/6JQEIPeStt/e77c81a7-f6ef-4eae-91fc-b620d092d8d6/e77c81a7-f6ef-4eae-91fc-b620d092d8d6_poster.0000001.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMnJ4aGRsbTJxOTF1ay5jbG91ZGZyb250Lm5ldC9UVmlrOXVUTWdFLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjIwMTYzMjM0Mjl9fX1dfQ__&Key-Pair-Id=K2SWKOH0FA5F6M&Signature=SGA54MFpy4jaqKJHKEuxRfjk-~NBFAh1tdW9Y6uYJwc0LFjDDgX1sraerSyohmVhj~-QVIrglY5BvglDIhrFcLJWGTkgj4vhyLprk1a7EDckv0HBgp-k1ZKvoDtt3wBOzrL4GicfXBkuMpIu5jv5MY3xemlJj2a6V~h65XJuLO4u-xS~McH6rS3mRxoNl4GcYUVm4upre1DGQx-5Suy6Ateoxl6xxoF8kg5EL02KxkIGiRpwXJTvVmUuVF0rpBj-IE40MfmhLBQ1NNSXiqb3-HjpkKwhYPvB5APVh23mzGmqJ0P3jbr2F1cU4Jvlqsjb6GVP61wGOz9ITeWPZkOy8A__'
|
123
123
|
},
|
124
|
-
client: {
|
125
|
-
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
126
|
-
name: 'Vouch',
|
127
|
-
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
128
|
-
},
|
129
124
|
contact: {
|
130
125
|
id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
|
131
126
|
name: 'Aaron Williams',
|
132
|
-
roleTitle: 'Software Engineer'
|
127
|
+
roleTitle: 'Software Engineer',
|
128
|
+
client: {
|
129
|
+
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
130
|
+
name: 'Vouch',
|
131
|
+
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
132
|
+
}
|
133
133
|
},
|
134
134
|
captions: {
|
135
135
|
current:
|
@@ -160,15 +160,15 @@ const data = {
|
|
160
160
|
thumbnail:
|
161
161
|
'https://d2rxhdlm2q91uk.cloudfront.net/TVik9uTMgE/6JQEIPeStt/39fd188d-a4dc-43b9-bac8-32fd71bfbc90/39fd188d-a4dc-43b9-bac8-32fd71bfbc90_poster.0000001.jpg?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMnJ4aGRsbTJxOTF1ay5jbG91ZGZyb250Lm5ldC9UVmlrOXVUTWdFLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjIwMTYzMjM0Mjl9fX1dfQ__&Key-Pair-Id=K2SWKOH0FA5F6M&Signature=SGA54MFpy4jaqKJHKEuxRfjk-~NBFAh1tdW9Y6uYJwc0LFjDDgX1sraerSyohmVhj~-QVIrglY5BvglDIhrFcLJWGTkgj4vhyLprk1a7EDckv0HBgp-k1ZKvoDtt3wBOzrL4GicfXBkuMpIu5jv5MY3xemlJj2a6V~h65XJuLO4u-xS~McH6rS3mRxoNl4GcYUVm4upre1DGQx-5Suy6Ateoxl6xxoF8kg5EL02KxkIGiRpwXJTvVmUuVF0rpBj-IE40MfmhLBQ1NNSXiqb3-HjpkKwhYPvB5APVh23mzGmqJ0P3jbr2F1cU4Jvlqsjb6GVP61wGOz9ITeWPZkOy8A__'
|
162
162
|
},
|
163
|
-
client: {
|
164
|
-
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
165
|
-
name: 'Vouch',
|
166
|
-
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
167
|
-
},
|
168
163
|
contact: {
|
169
164
|
id: 'b62f62a3-0cd4-4512-9b52-121cb2f3e72f',
|
170
165
|
name: 'Aaron Williams',
|
171
|
-
roleTitle: 'Software Engineer'
|
166
|
+
roleTitle: 'Software Engineer',
|
167
|
+
client: {
|
168
|
+
id: '03540d70-1c75-4867-a235-bac842ed6ce4',
|
169
|
+
name: 'Vouch',
|
170
|
+
logoSrc: 'https://logo.clearbit.com/vouchfor.com?size=260'
|
171
|
+
}
|
172
172
|
},
|
173
173
|
captions: {
|
174
174
|
current:
|