Skip to content

Conversation

@peaBerberian
Copy link
Collaborator

Once canalplus/rx-player#1469 is merged, there will be a difference between debug logs enabled because of the global __RX_PLAYER_DEBUG_MODE__ boolean and those because the RxPlayer class was passed as an argument to the global __RX_INSPECTOR_RUN__ function (generally the former is relied on when the RxPlayer is not yet loaded and the latter whne it is).

This PR fixes that difference: full logs in all cases.

Alternatively, we could inside the RxPlayer just regularly re-check for the global RX_PLAYER_DEBUG_MODE__ boolean which might make everything simpler.

Once canalplus/rx-player#1469 is merged,
there will be a difference between debug logs enabled because of
the global `__RX_PLAYER_DEBUG_MODE__` boolean and those because the
RxPlayer class was passed as an argument to the global
`__RX_INSPECTOR_RUN__` function (generally the former is relied on
when the RxPlayer is not yet loaded and the latter whne it is).

This commit fixes that difference: full logs in all cases.

Alternatively, we could inside the RxPlayer just regularly re-check for
the global `RX_PLAYER_DEBUG_MODE__` boolean which might make everything
simpler.
@peaBerberian peaBerberian merged commit cef9bab into main Mar 31, 2025
2 checks passed
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.

2 participants