Skip to content

Commit

Permalink
Update jwplayerVideoProvider.js
Browse files Browse the repository at this point in the history
  • Loading branch information
patmmccann authored Jun 6, 2024
1 parent 46aecd1 commit 1d2fb03
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/jwplayerVideoProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,11 @@ export const utils = {
* @return {PLACEMENT|OrtbVideoParams.placement|undefined}
*/
getPlacement: function(adConfig, player) {
if (!adConfig.outstream) {
// https://developer.jwplayer.com/jwplayer/docs/jw8-embed-an-outstream-player for more info on outstream
return PLACEMENT.INSTREAM;
}

if (player.getFloating()) {
return PLACEMENT.FLOATING;
}
Expand Down

0 comments on commit 1d2fb03

Please sign in to comment.