Skip to content

Commit

Permalink
call the VPPA assent hanler
Browse files Browse the repository at this point in the history
  • Loading branch information
tamw-wnet committed Oct 26, 2023
1 parent 8cd6ba8 commit 341e91b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions assets/js/jquery.pids.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ jQuery(document).ready(function($) {
if ((videoWindow != 'public' && videoWindow != '' && vppa_string) || (videoWindow == 'public' || videoWindow == '') ) {
$(this).html('<div class="embed-container video-wrap no-content nocontent"><iframe id="partnerPlayer_'+ i +'" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allow="encrypted-media" allowfullscreen="allowfullscreen" src="//player.pbs.org/widget/partnerplayer/'+videoID+'/?chapterbar=false&endscreen=false'+vppa_string+'"></iframe></div>');
$(this).addClass('playing');
if (typeof(WNET_VPPA_Assent_Handler) == 'function'){
WNET_VPPA_Assent_Handler();
}
}
}
}
Expand Down

0 comments on commit 341e91b

Please sign in to comment.