forgot login?
Knowledge Base

How to auto loop playback of a single video.

Print article Email to friend
0.00

If you prefer to have your hosted videos replay in loops, this can be done by adding an onLoad="" property to your HTML <body> tag as such:

<body onLoad="$f('*').each(function(){this.getClip(1).onBeforeFinish(function(){this.play(1);});});">

If your vidoes do not show a splash (poster) image, then use the code below instead:

<body onLoad="$f('*').each(function(){this.getClip(0).onBeforeFinish(function(){this.play(0);});});">

This solution does not apply to playlists and is only for single videos.

If you have multiple videos embedded on the same page, replace the asterik (*) in the code with the player instance which you can obtain by looking at the embed code. Forr example:

<body onLoad="$f('player_56994dbb893c2').each(function(){this.getClip(0).onBeforeFinish(function(){this.play(0);});});">

How to auto loop playback of a single video.

If you prefer to have your hosted videos replay in loops, this can be done by adding an onLoad="" property to your HTML <body> tag as such:

<body onLoad="$f('*').each(function(){this.getClip(1).onBeforeFinish(function(){this.play(1);});});">

If your vidoes do not show a splash (poster) image, then use the code below instead:

<body onLoad="$f('*').each(function(){this.getClip(0).onBeforeFinish(function(){this.play(0);});});">

This solution does not apply to playlists and is only for single videos.

If you have multiple videos embedded on the same page, replace the asterik (*) in the code with the player instance which you can obtain by looking at the embed code. Forr example:

<body onLoad="$f('player_56994dbb893c2').each(function(){this.getClip(0).onBeforeFinish(function(){this.play(0);});});">