Skip to content

Commit cf3937c

Browse files
authored
fix(ScriptYouTubePlayer) : show iframe (#394)
1 parent 6be6cf4 commit cf3937c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/components/ScriptYouTubePlayer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const rootAttrs = computed(() => {
146146
cursor: 'pointer',
147147
position: 'relative',
148148
backgroundColor: 'black',
149-
maxWidth: '100%',
149+
width: '100%',
150150
aspectRatio: `${props.width}/${props.height}`,
151151
},
152152
...(trigger instanceof Promise ? trigger.ssrAttrs || {} : {}),

0 commit comments

Comments
 (0)