Skip to content

Write HTML. Render video. Built for agents.

2.1 KB
Raw Blame
{
  "animations": [
    {
      "targetSelector": "#card",
      "method": "to",
      "position": 0.1,
      "properties": {
        "y": 0,
        "opacity": 1
      },
      "fromProperties": {
        "y": 300,
        "opacity": 0
      },
      "duration": 0.5,
      "ease": "power3.out",
      "resolvedStart": 0.1,
      "id": "#card-to-100"
    },
    {
      "targetSelector": "#subscribe-btn",
      "method": "to",
      "position": 1,
      "properties": {
        "scale": 0.92
      },
      "duration": 0.15,
      "ease": "power2.out",
      "propertyGroup": "scale",
      "resolvedStart": 1,
      "id": "#subscribe-btn-to-1000-scale"
    },
    {
      "targetSelector": "#subscribe-btn",
      "method": "to",
      "position": 1.15,
      "properties": {
        "scale": 1
      },
      "fromProperties": {
        "scale": 0.92
      },
      "duration": 0.4,
      "ease": "elastic.out(1, 0.4)",
      "propertyGroup": "scale",
      "resolvedStart": 1.15,
      "id": "#subscribe-btn-to-1150-scale"
    },
    {
      "targetSelector": "#btn-subscribe",
      "method": "to",
      "position": 1.15,
      "properties": {
        "opacity": 0
      },
      "duration": 0.08,
      "ease": "none",
      "propertyGroup": "visual",
      "resolvedStart": 1.15,
      "id": "#btn-subscribe-to-1150-visual"
    },
    {
      "targetSelector": "#btn-subscribed",
      "method": "to",
      "position": 1.18,
      "properties": {
        "opacity": 1
      },
      "duration": 0.08,
      "ease": "none",
      "propertyGroup": "visual",
      "resolvedStart": 1.18,
      "id": "#btn-subscribed-to-1180-visual"
    },
    {
      "targetSelector": "#card",
      "method": "to",
      "position": 3.8,
      "properties": {
        "y": 300,
        "opacity": 0
      },
      "fromProperties": {
        "y": 0,
        "opacity": 1
      },
      "duration": 0.25,
      "ease": "power3.in",
      "resolvedStart": 3.8,
      "id": "#card-to-3800"
    }
  ],
  "timelineVar": "tl",
  "preamble": "window.__timelines = window.__timelines || {};\nvar tl = gsap.timeline({ paused: true });",
  "postamble": "window.__timelines[\"yt-lower-third\"] = tl;"
}