The automatic website

Datum

de-icon en-icon

Scroll vs Video Logik in webshow.js

JSON Property Overview

Property Funktion / Wirkung
scrollTo Section ID to scroll to.
• Controls the position on the page.
• Everything within the section becomes visible/active.
video Video ID within the section.
• Starts the video at the right time.
• Must always point to the specific video element.
triggers Time-controlled actions: Text, audio, video volume, pause.
• Active within the scene.

Scene sequence

  1. ScrollTarget (scrollTo) → Browser scrolls to the section.
  2. VideoTrigger (video) → Video within the section starts.
  3. Text within the section remains visible.
  4. Additional triggers control audio, volume, pause, resume, etc.

Key phrase

“Scroll controls the section, video controls the player.”

It has been several years since I worked on the idea of an automatically self-introducing website. The online exhibition The Root of Yggdrasil shows the most advanced result. But with SMIL and SVG, I had programmed myself into a dead end. This is a solution using HTML, CSS, JavaScript, and JSON.





← Älter Neuer →