Api Video Media Factory
ApiVideoMediaFactory is a wrapper around VideoOptions to create URL for the different api.video media items (HLS, MP4, thumbnails). It also stores the token session for private videos.
Parameters
video Options
The VideoOptions to use
on Error
The callback to call when an error occurs