Enterprise-grade embeddable media player with analytics
<!-- Minimal embed code - just contentId needed! --> <div id="player"></div> <script src="https://player.techspecs.io/ray-media.js"></script> <script> RayMedia.create({ container: '#player', contentId: 'abc123', assistant: true, dictionary: true }); </script>
The player automatically fetches all video sources (1080p, 720p, etc.), subtitles, and metadata from your API using just the content ID.
The unique identifier for your media content. The player uses this to fetch all sources and metadata from your API.
Enable/disable analytics tracking. Default: true
Auto-start playback when ready. Default: false
Enable AI Assistant feature. Default: false
Enable Smart Dictionary feature. Default: false
Returns all media sources, subtitles, and metadata for a content ID. Called automatically by the player on init.
Tracks a single playback event (play, pause, seek, etc.). Called automatically by the player.
Returns aggregated analytics for a content (views, watch time, countries, devices).
Health check endpoint. Returns status of ClickHouse and GeoIP services.