1. UI
  2. Gesture

UI

Gesture API

This component is used to perform media actions based on user gestures (e.g., double click for fullscreen).

EXPERIMENTAL

This component is marked as experimental, meaning its API might change based on user feedback. We recommend waiting for a stable release; however if you decide to use this in production, ensure you follow release notes closely and don't blindly upgrade.

Import

js
        import '@vidstack/player/define/vds-gesture.js';

      
cdn
        <script
  type="module"
  src="https://cdn.jsdelivr.net/npm/@vidstack/player@next/cdn/define/vds-gesture.js"
></script>

      

Properties