Home/Services/StreamKit SDK

StreamKit SDK — Embed HLS, DASH & DRM Video in Minutes

A lightweight, production-ready HTML5 media player SDK. Drop it in with three lines of code — HLS, DASH, DRM, IMA ads and live streaming all work out of the box.

What StreamKit SDK Delivers

HLS Adaptive StreamingFull HLS playback via hls.js with ABR quality switching. Native HLS on Safari & iOS.
MPEG-DASH SupportDASH playback via dash.js. Segmented VOD and live DASH manifests supported.
Multi-DRM ReadyWidevine, PlayReady, FairPlay. License URL and headers configurable per instance.
Google IMA SDK AdsPre-roll, mid-roll, post-roll via IMA SDK v3. VAST 4.x, companion banners, skip support.
Live StreamingLive edge detection, auto-seek-to-live, low-latency HLS mode, LIVE badge overlay.
Audio Player ModeSwitch to compact audio UI via mediaType: "audio". HLS audio streaming supported.
Smart AutoplayBrowser-policy-aware: attempts unmuted, falls back to muted with tap-to-unmute overlay.
Error RecoveryBackup stream failover, offline detection with auto-reconnect, structured error codes.

Live Demo

Quick Start

<div id="player"></div>
<script src="https://streamkit.in/player/streamkit.min.js"></script>
<script>
  new StreamKit({
    containerId: "player",
    mediaType:   "video",
    src:         "https://your-stream.m3u8",
    autoplay:    0,
    controls:    true
  });
</script>

Getting Started

License & Download

Choose your plan — Starter, Professional or Enterprise. Receive the SDK bundle and documentation.

Add to Your Page

Include avplayer.min.js and avplayer.min.css. Create a container div.

Configure & Init

Pass your stream URL, media type, DRM config and ad tag to the StreamKit constructor.

Ship to Production

The SDK handles protocol detection, adaptive bitrate, error recovery and UI — you focus on your app.

Who It's For

OTT Platforms

HLS ABR adapts to viewer bandwidth. DRM protects premium content. IMA ads monetize your library.

News Broadcasters

Live HLS streams on your website with auto-reconnect, backup failover and LIVE badge overlay.

Enterprise Video

Internal training portals and all-hands streams with DRM, custom branding and event API hooks.

Technical Specifications

Supported Formats

HLS (.m3u8)MPEG-DASH (.mpd)MP4 (progressive)MP3 / AAC audioCMAF fMP4 segments

DRM Systems

Widevine L1/L3PlayReadyFairPlay StreamingCENC

Browser Support

Chrome Desktop & AndroidSafari Desktop & iOSEdgeFirefox

JavaScript API

player.play()
player.pause()
player.seek(seconds)
player.setSource({ src, drm })
player.isLive()
player.destroy()
StreamKit.pauseAll()

// Events
player.on('ready',    fn)
player.on('play',     fn)
player.on('pause',    fn)
player.on('buffering',fn)
player.on('ended',    fn)
player.on('error',    fn)

Related Services

Ready to Embed StreamKit SDK?

Get pricing, documentation and a free integration consultation.