API Code for playlist end

Warning: advanced functionality

Insert this in your text / code editor. Replace the name of the gallery with the one you are using

<p>

</p>
<script>jQuery(document).ready(function($){
function playlist_end(arg1,arg2){
console.info('playlist ended',arg1,arg2);
}
setTimeout(function(){
var _c = $('.vg1');
console.info("_c - ", _c);
_c.get(0).api_set_action_playlist_end(playlist_end);
},1000);
});
</script>

Was this article helpful?

Related Articles

Leave A Comment?