Skip to content

Commit 05a6fe4

Browse files
authored
fix: merge profile config with source config (#887)
1 parent 8eaee95 commit 05a6fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const player = async (elem, initOptions, ready) => {
2828
const { profile, ...otherInitOptions } = initOptions;
2929
try {
3030
const profileOptions = profile ? await getProfile(profile, otherInitOptions) : {};
31-
const options = Object.assign({}, profileOptions.playerOptions, otherInitOptions, {
31+
const options = Object.assign({}, profileOptions.playerOptions, profileOptions.sourceOptions, otherInitOptions, {
3232
_internalAnalyticsMetadata: {
3333
newPlayerMethod: true,
3434
profile: isDefaultProfile(profile) ? profile : !!profile,

0 commit comments

Comments
 (0)