DescriptionNeed to adjust the token minter so that it runs a LUA equivalent of `dirname` against the value of `vidpath` when minting a token.
Need to do the same to the validator.
The aim being that when a request is received for a token for `foo/bar.m3u8` it should also be considered valid for anything else in that directory (like `foo/segment1.ts`)
The validator will also need adjusting to push a token (once it's been authenticated) into a cookie so that it'll be supplied alongside segment requests.
The name of that cookie should be derived from the playback path so that playback will still work if there are multiple players embedded on the same page.
Activity
2019-04-18 16:33:45
2019-04-18 16:43:45
View Commit | View Changes
2019-04-18 17:47:45
View Commit | View Changes
2019-04-18 18:10:05
Playback of HLS works just fine.
I'm ready to mark this, and related issues as complete, though don't want to enable enforcement in production for a reasonable amount of time. Do need to do a release, however, so that there's version of the embed script that supports acquiring tokens (VID-10) in place well in advance of turning tokens on.
2019-04-18 18:10:13
2019-04-18 18:10:13
2019-04-18 18:10:17