brightcove / player-loader

An asynchronous script loader and embed generator for the Brightcove Player.
Other
28 stars 15 forks source link

fix: Storing player script also with accountId to avoid duplicates #72

Closed ipadilla4 closed 3 years ago

ipadilla4 commented 3 years ago

Currently we are storing players scripts only with playerId and embedId, which result in loading the wrong script when you try to load a player with same params but different accountId. This later produces a 401 error when catalog request is made for a specific videoId, but with the wrong account.

Changes include storing scripts with accountId param also as a key.

ipadilla4 commented 3 years ago

We decided we won't support multiple accounts with default players for now.