Skip to content

Commit

Permalink
Update ExternalPlayerButton.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
philpw99 committed Feb 5, 2024
1 parent 2bcda59 commit 1fea441
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const ExternalPlayerButton: React.FC<IExternalPlayerButtonProps> = ({
url = streamURL
.toString()
.replace(new RegExp(`^${streamURL.protocol}`), "vlc-x-callback:");
} else if (alwaysShow){
} else if (alwaysShow) {
// Added from here. In all other cases.
url = stream + "/org/" + encodeURIComponent(file); // like http://192.168.1.10:9999/scene/123/stream/org/file.mp4
// added end.
Expand Down

0 comments on commit 1fea441

Please sign in to comment.