Skip to content

Commit 3ee535a

Browse files
authored
Update Stream.astro (#16746)
* Update Stream.astro Ugh, bug * Apply suggestions from code review
1 parent 1fe62bd commit 3ee535a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Stream.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ url.searchParams.set("poster", encodeURI(thumbnailUrl.toString()));
3232
</div>
3333
<script is:inline src="https://embed.cloudflarestream.com/embed/sdk.latest.js"
3434
></script>
35-
<script is:inline define:vars={{ videoId }}>
35+
<script is:inline define:vars={{ videoId, videoTitle }}>
3636
const video = document.getElementById(videoId);
3737
Stream(video).addEventListener("play", () => {
3838
zaraz.track("play docs video", { title: videoTitle });

0 commit comments

Comments
 (0)