I have a web page that uses VideoJS to load and play videos such as “youtube”, “vimeo”, “mp4”.
Apparently the company stores all the videos on Kaltura and I got the task to use kaltura video in my VideoJS player.
Below is my code which is a function that checks whether the url is a youtube video, kaltura, vimeo or simply mp4. All types of video work fine except kaltura
Kaltura can be used on our SaaS but can also be self hosted using either the Community Edition [CE] or OnPrem.
Depending on that, the URL to the actual video may or may not contain the string ‘kaltura’.
Also, the Kaltura Server can serve the mp4 as is [what is called progressive download] or use adaptive bitrate protocols such as HLS, HDS and DASH, in which case, a corresponding manifest which contains the same video in different flavours [different bitrates and other params] will be served and the video will be served in segments.
What does your URL to the video look like and when you say “it does not work”, what is the behaviour you are seeing?
Thanks for the reply. By “not working” I mean that my VideoJS plugin doesn’t support kaltura videos. I think it is because the kaltura links are not pointing to the mp4 videos directly.
Depending on your conversion profiles, a conversion to several flavours will be attempted. When using adaptive bitrate protocols such as HLS, HDS and DASH, different flavours may be served during the playback session, depending on your available bandwidth and device. The file is segmented into fragments and is not served in one chunk.
Whenever possible, this method is obviously preferable to a progressive download.
Hi, thanks a lot for your help. I think this is what I need.
We built that prototype a few months ago ang we used VideoJS to support vimeo, youtube and mp4 videos. Also there is a videoJS plugin called Video.Js-Markers which allows to add marks on video progress bar.