MCPcopy Create free account
hub / github.com/openai/plugins / seekTo

Function seekTo

plugins/hyperframes/skills/hyperframes/scripts/animation-map.mjs:124–138  ·  view source on GitHub ↗
(session, t)

Source from the content-addressed store, hash-verified

122// ─── Seek helper ────────────────────────────────────────────────────────────
123
124async function seekTo(session, t) {
125 await session.page.evaluate((time) => {
126 if (window.__hf && typeof window.__hf.seek === "function") {
127 window.__hf.seek(time);
128 return;
129 }
130 const tls = window.__timelines;
131 if (tls) {
132 for (const tl of Object.values(tls)) {
133 if (typeof tl.seek === "function") tl.seek(time);
134 }
135 }
136 }, t);
137 await new Promise((r) => setTimeout(r, 100));
138}
139
140// ─── Timeline introspection ──────────────────────────────────────────────────
141

Callers 2

animation-map.mjsFile · 0.85
captureSnapshotsFunction · 0.85

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected