From b2604a6edb93897ac3ee888aa3c0e0d216f989ed Mon Sep 17 00:00:00 2001
From: Elizabeth Hunt <elizabeth.hunt@simponic.xyz>
Date: Mon, 5 Feb 2024 11:41:19 -0700
Subject: add more script

---
 src/scenes/flirtingwithfunctions.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/scenes/flirtingwithfunctions.tsx')

diff --git a/src/scenes/flirtingwithfunctions.tsx b/src/scenes/flirtingwithfunctions.tsx
index ede0df9..f833ce9 100644
--- a/src/scenes/flirtingwithfunctions.tsx
+++ b/src/scenes/flirtingwithfunctions.tsx
@@ -20,8 +20,8 @@ export default makeScene2D(function* (view) {
   view.add(<Video width={300} ref={vid} src={sad} x={0} />);
   view.add(<Img width={200} ref={img} src={emacsmac} x={startX} />);
 
-  vid().loop(true);
-  vid().play();
+  yield vid().play();
+  yield vid().loop(true);
 
   yield* beginSlide("No Valentine");
 
-- 
cgit v1.3

