Embedding video on your website

Blank 8/10/2019 02:04 - 8/10/2019 02:04
Developers

In Kademi platform, you also can embed video in your website by using jwplayer

Step 1: Upload your video into Kademi platform (of course, it's important part!)

 

Step 2: Create img tag with class is jw-player

 

Step 3: Specify src of img tag is path name to your uploaded video.. 

Note: src MUST be /path/to/your/upload/video with /alt-640-360.png. We'll automatically create preview photo from your video.

 

Step 4: Run initialzing js stuff

doInitVideos();

Note: By default, we'll automatically run this script for initialzing video but if it's not running, please run this function.

Note: You need include init-theme.js file into your website for can run this function.