Skip to content

Commit aa0b798

Browse files
authored
fix: private video poster image (#833)
fix: improve focus accent
1 parent 2f26421 commit aa0b798

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/assets/styles/main.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@ $icon-font-path: '../icon-font' !default;
3838
&:focus,
3939
&:focus:before {
4040
outline: none;
41-
text-shadow: 0 0 1em var(--color-text);
41+
text-shadow:
42+
0 0 0.1em var(--color-accent),
43+
0 0 0.2em var(--color-accent),
44+
0 0 0.3em var(--color-accent),
45+
0 0 0.8em var(--color-text),
46+
0 0 1em var(--color-text);
4247
}
4348
}
4449

src/plugins/cloudinary/models/video-source/video-source.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class VideoSource extends BaseSource {
7777
this.withCredentials = !!withCredentials;
7878
this.getInitOptions = () => initOptions;
7979

80-
this.poster(poster);
80+
this.poster(poster, options);
8181
this.sourceTypes(sourceTypes);
8282
this.sourceTransformation(sourceTransformation);
8383
this.info(info);

0 commit comments

Comments
 (0)