Want to upload or use YouTube, Vimeo or other video formats as xAPI Content? You can do it, by adding uploading or using URL of the video in Grassblade xAPI Companion.
You can upload or add the following multimedia content:
- HLS (.m3u8)
- MPEG Dash (.mpd), and
It will work as xAPI content and you can get advanced video tracking to analyse user behaviour.
To add your video or audio as xAPI Content, follow the given steps:
Copy video or audio URL from the source.
Go to WordPress dashboard > xAPI Content > Add New
Scroll down to xAPI Content Details section, Select Video option from upload section.
Select Choose file option to upload your video file or enter your Video URL.
Step 5: In Override global settings, do the following recommended settings.
Videos are responsive and have a fixed aspect ratio, so let’s say you have used YouTube video which has a 16:9 (or 1.7777) aspect ratio. Your settings would be:
- Lock Aspect Ratio: Checked. (clickingwill automatically set height based on width.)
- Width: 100%
- Height: 56.25%
Based on your UI and preference, you can change the Width/Height in the same ratio.
Learn More: UI and Responsive Content Settings
Step 6: Click Update to publish your video and enable xAPI tracking to it.
If you’re facing any problems while using video content, feel free to contact us.