(compId = "main")
| 10 | } |
| 11 | |
| 12 | function validHtml(compId = "main"): string { |
| 13 | return `<html><body> |
| 14 | <div data-composition-id="${compId}" data-width="1920" data-height="1080" data-start="0" data-duration="10"></div> |
| 15 | <script src="https://cdn.jsdelivr.net/npm/gsap@3/dist/gsap.min.js"></script> |
| 16 | <script>window.__timelines = window.__timelines || {}; window.__timelines["${compId}"] = gsap.timeline({ paused: true });</script> |
| 17 | </body></html>`; |
| 18 | } |
| 19 | |
| 20 | function htmlWithMissingMediaId(): string { |
| 21 | return `<html><body> |