ybouane-peeking

This page embeds peeking-widget.js exactly the way it would be embedded on any other site: one script tag, pointed at the source video(s). This page sets autoPeek: false, so he stays hidden until you press Peek (which calls window.YbouanePeek()). Then hover the character himself (the cursor turns into a pointer over him) to see him wave and hold up his sign; move off him and he retreats. On touch devices, tap him to toggle the same behavior. Click him or the sign to open the details dialog. Chrome/Firefox/Edge load character.webm (VP9 + alpha); Safari loads character-hevc.mov (HEVC + alpha).

Live state

state: – hovering: – video time: – playbackRate: –

Manual controls

Force the hover state on/off without needing to position your mouse precisely — useful for quickly checking the wave/poster/exit animations.

Dialog theme:

Click-through test

The button below sits directly underneath where the character peeks in from the edge. The transparent areas of his video must never block clicks on it — only his actual (opaque) silhouette should intercept the pointer.

Settings used on this page

Set window.YbouanePeeking before the script tag. All options are documented in the README.

<script>
window.YbouanePeeking = {
  autoPeek: false,       // wait for window.YbouanePeek?.() instead of peeking on load
  poster: "Hey there, It's me, @ybouane.",
  theme: 'light',        // dialog theme: 'light' | 'dark' | 'auto'
  // dialogContent: '<h2>…</h2>',   // optional: replace the dialog copy
  // heightPx: 340, mobileHeightPx: 250, topPx: 134, …  (see README)
};
</script>
<script src="https://peeking.ybouane.com/peeking-widget.js" async></script>
Scroll down — the widget stays fixed to the viewport edge.
Still here. Try hovering the character again.