Share
  • Img
  • Img
  • Img
Lightbox Auto Play

Lightbox Auto Play

• Set true if you want autoplay
<a onclick=”im_play_lb({ video_id:xxxx, width:640, height:360, autoplay:false}) “> Play Video </a></ br>
• Override portal setting for close on complete= yes / no. Define in client page as follows.
im_play_lb({ video_id:xxx, width:xxx, height:xxx, AutoHide: true})
• On video complete JS event to client side. Complete command is passed if autoclose is “on” and “off”
<script>

function im_lbEnd()
{
// video end handler
// do your script here

}
</script>