Open this player from another website or app using a video URL. Optional parameters configure playback.
Use #url= for playback links. Put the video URL and all playback options after #.
Create a playback link
URL
https://m3u8-player.com/#url=https://example.com/video.m3u8JavaScript
const videoUrl = 'https://example.com/video.m3u8';
const params = new URLSearchParams({
url: videoUrl, autoplay: '1', muted: '1'
});
const playerUrl = 'https://m3u8-player.com/#' + params;
window.open(playerUrl, '_blank', 'noopener');Encode the complete video URL once as the url value. Separate options with &. Use encodeURIComponent or URLSearchParams to build the link.
Playback link parameters
| Parameter | Values | Default | Description |
|---|---|---|---|
url | HTTPS URL | Required | Video URL |
title | ≤ 120 | auto | Video name |
type | auto / hls / video | auto | Format |
autoplay | 0 / 1 | 1 | Autoplay |
muted | 0 / 1 | 0 | Mute |
volume | 0–1 | Local setting | Volume |
rate | 0.25–4 | Local setting | Playback speed |
start | 90 / 01:30 / 00:01:30 | Saved progress | Start position (on-demand) |
loop | 0 / 1 | Local setting | Loop |
poster | HTTPS URL | — | Poster image |
subtitle | HTTPS SRT / VTT URL | — | Subtitles |
lang | ar / de / en / es / fr / hi / id / it / ja / ko / pt / ru / th / tr / vi / zh-CN / zh-TW | auto | Change language |
history | 0 / 1 | Local setting | History |
resume | 0 / 1 | 1 | Saved progress |
theater | 0 / 1 | 0 | Theater |
lights | 0 / 1 | 0 | Lights off |
quality | auto / 720 / 1080 / … | auto | Quality |
audio | 0 / 1 / … | auto | Audio |
aspect | auto / 16:9 / 4:3 / 1:1 | auto | Aspect ratio |
Usage notes
- autoplay=0 loads the player paused. muted=1 can help autoplay; the browser may still require a click. Fullscreen and picture-in-picture need a user action.
- Options affect this playback only. Omitted values follow local settings. history=0 skips recording; history=1 respects the local history switch. start overrides saved progress; resume=0 disables it.
- Quality and audio options depend on the video source and browser. start applies to on-demand videos; audio tracks are numbered from 0.
- Remote subtitles support UTF-8 SRT and VTT files up to 5 MiB. The subtitle URL must allow cross-origin access.