Skip to content

Conversation

@matus-tomlein
Copy link
Contributor

This PR aims to prevent a schema validation error occurs for some mobile browsers which seem to be omitting the end value in timeranges within the seekable property in the media_element entity schema.

I couldn't reproduce this unfortunately but assume it is some type of browser bug, so the best I can think of doing is to add a default 0 value to the start and end properties within the time ranges.

If you have some better ideas, please let me know!

The majority of failed events for the customer have the following value for the seekable property:

"seekable": [
  {
    "start": 0
  }
]

@matus-tomlein matus-tomlein requested review from igneel64 and jethron May 5, 2025 13:50
Copy link
Contributor

@jethron jethron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@matus-tomlein matus-tomlein changed the base branch from master to release/4.6.1 May 6, 2025 08:10
@matus-tomlein matus-tomlein merged commit bb9c433 into release/4.6.1 May 6, 2025
0 of 2 checks passed
@matus-tomlein matus-tomlein deleted the issue/fix_missing_end_in_seekable_property branch May 6, 2025 12:34
@matus-tomlein matus-tomlein mentioned this pull request May 6, 2025
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.

3 participants