brightcove / player-loader

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

Player url is being built in a wrong way when embed id is supplied #68

Closed adrianOktana closed 2 years ago

adrianOktana commented 4 years ago

When embed id is supplied the player URL is being built like this: https://players.brightcove.net/accountiD/default_embedID/index.html?videoId= It should be in this way: https://players.brightcove.net/accountiD/embedID_default/index.html?videoId=

mister-ben commented 4 years ago

That is the correct position for an embed id. The part before the underscore is the player id, so you should be giving your id as playerId. Embed ids are very rarely used and will almost certainly be 'default'.