Skip to content

Commit

Permalink
feat(project): add default player ID to the .env
Browse files Browse the repository at this point in the history
  • Loading branch information
olga-jwp committed Jan 10, 2023
1 parent fac3038 commit 1c15875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
APP_API_BASE_URL=https://cdn.jwplayer.com

APP_DEFAULT_PLAYER=M4qoGvUk
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export const ADYEN_LIVE_CLIENT_KEY = 'live_BQDOFBYTGZB3XKF62GBYSLPUJ4YW2TPL';
export const LIVE_CHANNELS_REFETCH_INTERVAL = 15 * 60_000;

// OTT shared player
export const DEFAULT_PLAYER_ID: string = 'M4qoGvUk';
export const DEFAULT_PLAYER_ID: string = import.meta.env.APP_DEFAULT_PLAYER ?? 'M4qoGvUk';

0 comments on commit 1c15875

Please sign in to comment.