Forum Discussion
Jürgen_Schoene_
2 years agoCommunity Member
try
<script>
const player = videojs('my-video');
player.on('ended', function(){
inform();
});
function inform() {
var playerSL = parent.GetPlayer();
playerSL.SetVar("s1_comp", "true");
}
</script>