Skip to content

Commit

Permalink
Merge pull request #274 from THEOplayer/bugfix/init-cast-adapter
Browse files Browse the repository at this point in the history
Bugfix/init cast adapter
  • Loading branch information
tvanlaerhoven authored Mar 4, 2024
2 parents fde37ba + f600e6b commit 1ffcabb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed

- Fixed an issue on iOS where the lockscreen controls and displayed asset metadata would remain visible after the player has been destroyed.
- Fixed an issue where the castState was not initialized correctly.

## [3.8.0] - 24-02-23

Expand Down
2 changes: 1 addition & 1 deletion src/internal/adapter/THEOplayerAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export class THEOplayerAdapter extends DefaultEventDispatcher<PlayerEventMap> im
this._playerVersion = version;
if (state) {
Object.assign(this._state, state);
this._castAdapter.init_();
}
this._castAdapter.init_();
}
}

0 comments on commit 1ffcabb

Please sign in to comment.