Skip to content

Commit 8da08d1

Browse files
committed
Fix formatting
R Tabs detected error, 0:1
1 parent 694610c commit 8da08d1

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

YouTubeVideo.astro

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
export interface Props {
3-
class?: string
4-
title: string
5-
videoCode: string
3+
class?: string
4+
title: string
5+
videoCode: string
66
}
77
88
let {class: className, title, videoCode} = Astro.props
@@ -12,11 +12,11 @@ let srcdoc = `<style>*{padding:0;margin:0;overflow:hidden}html,body{height:100%}
1212
---
1313
<iframe
1414
class={className}
15-
style="width: 100%; aspect-ratio: 16/9;"
16-
src={`https://www.youtube.com/embed/${videoCode}`}
17-
title={title}
18-
srcdoc={srcdoc}
19-
frameborder="0"
20-
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
21-
allowfullscreen
22-
></iframe>
15+
style="width: 100%; aspect-ratio: 16/9;"
16+
src={`https://www.youtube.com/embed/${videoCode}`}
17+
title={title}
18+
srcdoc={srcdoc}
19+
frameborder="0"
20+
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
21+
allowfullscreen
22+
/>

0 commit comments

Comments
 (0)