Home > hls.js > Hls > loadSource

Hls.loadSource() method

Set the source URL. Can be relative or absolute.

Signature:

loadSource(url: string): void;

Parameters

Parameter Type Description
url string

Returns:

void