Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix compatibility, browser launcher detection in shaka-player #29

Merged
merged 1 commit into from
Feb 26, 2022

Conversation

joeyparrish
Copy link
Member

@joeyparrish joeyparrish commented Feb 25, 2022

This makes these launchers compatible with the older launchers we
replaced, by defining DEFAULT_CMD and ENV_CMD on prototype. This
allows the detection of available browser launchers in shaka-player
work again.

To do this, this change abstracts away several things that were
previously set in the constructor so that they are now set at the
class-definition level. A new function called generateSubclass
handles all of these details before any instances are constructed.

Closes #23

@joeyparrish joeyparrish added the type: bug Something isn't working correctly label Feb 25, 2022
@joeyparrish joeyparrish requested a review from theodab February 25, 2022 18:06
This makes these launchers compatible with the older launchers we
replaced, by defining DEFAULT_CMD and ENV_CMD on prototype.  This
allows the detection of available browser launchers in shaka-player
work again.

To do this, this change abstracts away several things that were
previously set in the constructor so that they are now set at the
class-definition level.  A new function called generateSubclass
handles all of these details before any instances are constructed.

Closes #23
@joeyparrish joeyparrish merged commit 9783318 into main Feb 26, 2022
@joeyparrish joeyparrish deleted the fix-compat branch February 26, 2022 01:42
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Aug 17, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Shaka Player fails to detect available browsers via this launcher
2 participants