Skip to content

Support QUERYPARAM Variable Substitution - #5265

Merged
robwalch merged 3 commits into
masterfrom
feature/define-queryparam
Mar 1, 2023
Merged

robwalch merged 3 commits into
masterfrom
feature/define-queryparam

Conversation

@robwalch

@robwalch robwalch commented Feb 27, 2023 •

Copy link
Copy Markdown
Collaborator

This PR will...

Implement EXT-X-DEFINE QUERYPARAM support

Why is this Pull Request needed?

The EXT-X-DEFINE QUERYPARAM attribute is a new HLS feature that allows the definition of HLS variables based on URL search parameter key value pairs. A URL param from the playlist's parent URL can used as a variable to substitute variable declarations ({$var-name}) inside URI strings and quoted string attributes anywhere in an HLS playlist following the variable definition, just like variables defined by the EXT-X-DEFINE NAME/VALUE or IMPORT attribute(s) (#5161).

Resolves issues:

Resolves #5240

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)

@robwalch robwalch added this to the 1.4.0 milestone Feb 27, 2023
@robwalch
robwalch merged commit 86d3681 into master Mar 1, 2023
@robwalch
robwalch deleted the feature/define-queryparam branch March 1, 2023 02:07
akashchamp pushed a commit to akashchamp/hls.js that referenced this pull request Sep 25, 2026
* Implement EXT-X-DEFINE QUERYPARAM support
Resolves video-dev#5240

* Fix light build "empty" aliases

* Update README "Supported HLS tags"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Variable Substitution with QUERYPARAM

1 participant