Skip to content

web player: make query parameters optional#56100

Merged
zmb3 merged 1 commit intomasterfrom
zmb3/playback-url-2
Aug 7, 2025
Merged

web player: make query parameters optional#56100
zmb3 merged 1 commit intomasterfrom
zmb3/playback-url-2

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Jun 25, 2025

In #50262, we made it so that the "durationMs" query paramater in the session player URL is optional (at the expense of an extra API call to determine the recording length prior to playback).

We did not, however, do the same for the "recordingType" parameter. This commit adds that information to the existing API call.

As a result, users who want to build playback URLs directly instead of clicking the play button in the UI have a stable URL format that will play the session.

Updates #55780
Updates gravitational/customer-sensitive-requests#472

Comment thread web/packages/teleport/src/Player/Player.tsx Outdated
In #50262, we made it so that the "durationMs" query paramater in
the session player URL is optional (at the expense of an extra API
call to determine the recording length prior to playback).

We did not, however, do the same for the "recordingType" parameter.
This commit adds that information to the existing API call.

As a result, users  who want to build playback URLs directly instead
of clicking the play button in the UI have a stable URL format that
will play the session.

Closes #55780
Closes gravitational/customer-sensitive-requests#472
@zmb3 zmb3 force-pushed the zmb3/playback-url-2 branch from e0353ed to c5b1c04 Compare August 7, 2025 00:49
@zmb3 zmb3 added the no-changelog Indicates that a PR does not require a changelog entry label Aug 7, 2025
@zmb3 zmb3 added this pull request to the merge queue Aug 7, 2025
Merged via the queue into master with commit 4996c1f Aug 7, 2025
46 of 47 checks passed
@zmb3 zmb3 deleted the zmb3/playback-url-2 branch August 7, 2025 01:33
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@zmb3 See the table below for backport results.

Branch Result
branch/v16 Create PR
branch/v17 Create PR
branch/v18 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/branch/v17 backport/branch/v18 no-changelog Indicates that a PR does not require a changelog entry size/sm ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants