Skip to content

Commit

Permalink
Merge pull request #1350 from canalplus/fix/direct-in-demo-not-working
Browse files Browse the repository at this point in the history
fix(demo): directFiles content was not working in the demo
  • Loading branch information
peaBerberian committed Jan 11, 2024
2 parents 9023bc6 + f58e5eb commit 90fbc13
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/full/scripts/lib/defaultOptionsValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const defaultOptionsValues = {
wantedBufferAhead: 30,
},
loadVideo: {
transport: "dash",
autoPlay: true,
defaultAudioTrackSwitchingMode: "reload",
enableFastSwitching: true,
Expand All @@ -26,7 +25,7 @@ const defaultOptionsValues = {
},
onCodecSwitch: "continue",
},
} satisfies { player: IConstructorOptions, loadVideo: ILoadVideoOptions };
} satisfies { player: IConstructorOptions, loadVideo: Omit<ILoadVideoOptions, "transport"> };

export type IConstructorSettings = typeof defaultOptionsValues.player;
export type ILoadVideoSettings = typeof defaultOptionsValues.loadVideo;
Expand Down

0 comments on commit 90fbc13

Please sign in to comment.