• Img
  • Img
  • Img
Start & End Poster (Start & End Asset)

Start & End Poster (Start & End Asset)

Start Asset and End Asset API is where you can define the Url of the image in string format. To add Start Asset or End asset you just have to place the start_asset and or end_asset in oculu API.
Start Asset:
im_play_ep({video_id:xxx, start_asset :‘’});
End Asset:
im_play_ep({video_id:xxx, end_asset :‘’});
Start Asset + End Asset:
im_play_ep({video_id:xxx, start_asset :‘’, end_asset :‘’});
Options also works for im_play_op({options}) and im_play_lb({options});
im_play_lb({ video_id:1316823306, width:640, height:360}) : it will use the defined start asset in portal and without end asset beging defined in Oculu portal.

im_play_lb({ video_id:1316823306, width:640, height:360, start_asset:'', end_asset:''})
With having start Oculu portal we will override it with the url from google + adding end asset even without defining it in Oculu portal.

From the example above you can see that we are using same video so it should have same properties including start asset and end asset but by using the Oculu API we can override the start/end asset.