The player is optimized for iframe embedding using a specific address like:
https://staging.paratii.video/embed/<video_id>
<iframe webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen="true" src="https://staging.paratii.video/embed/6?autoplay=1&loop=1&playsinline=1&fullscreen=1&type=mini" width="570" height="320" frameborder="0"></iframe>
https://paratii-video.github.io/paratii-embed/
use iframe browser specific attributes and fullscreen=1 in query parameters
use autoplay=1 in query parameters
use loop=1 in query parameters
Available modes are:
- mini: optimized above 570 pixel width
- tiny: optimized above 340 pixel width
use type=<mode> in query parameters
Video will not automatically enter fullscreen mode when playback begins.
use playsinline=1 in query parameters
Player is available for oEmbed at:
https://staging.paratii.video/oembed
Mini version (570x320) is provided by default.
We are working on submission to most popular oEmbed providers.
I order to add Paratii as oembed provider in your Wordpress site, and embed it easily, you can add the following snippet inside functions.php
wp_oembed_add_provider( "https://portal.paratii.video/play/*", "https://portal.paratii.video/oembed/" );
or you can just download and install our plugin.
Just copy and paste the video url in the editor and ualà!
Tweeted videos will play directly inside your timeline using Paratii Player. Look & feel can be tested pasting a video url at https://cards-dev.twitter.com/validator
Shared videos will play directly inside Telegram Mobile app
Videos play inside feed, using IPFS Paratii Gateway, just if posted as a post comment.