Top
Using Video player parameters
  • 1 minute to read
  • Print
  • Dark
    Light

Using Video player parameters

  • Print
  • Dark
    Light

You can use embed script to include videos in your application. Example of embed script is  shown below,

<iframe scrolling="no" frameborder="0" allowfullscreen="true" 
mozallowfullscreen="true" webkitallowfullscreen="true" 
style="width: 560px; height: 315px; " 
src="//whatfix.com/video/f1c5fc80-9e0b-11e3-9315-00265a7a1bf4" >
</iframe>

Various parameters can be used to customize the play and player. The src portion (//whatfix.com/video/f1c5fc80-9e0b-11e3-9315-00265a7a1bf4) can be updated to include additional parameters.

Using YouTube player parameters

Documentation for YouTube embed URL parameters - Youtube player parameters

As an example, YouTube uses the rel parameter to stop related videos to appear after play. This parameter can be passed as //whatfix.com/video/f1c5fc80-9e0b-11e3-9315-00265a7a1bf4 ? rel=0

Similarly, other parameters can be used.

Using Wistia player parameters

Documentation for Wistia iframe embed parameters - Wistia player parameters

As an example, Wistia uses playerColor parameter to change the base color of the player. This parameter can be passed as //whatfix.com/video/f1c5fc80-9e0b-11e3-9315-00265a7a1bf4 ? playerColor=ff0000.

Similarly, other parameters can be used.

Using Vimeo player parameters

Documentation for Vimeo embed parameters - Vimeo Player Parameters

As an example, Vimeo uses loop parameter to play the video again after it ends. This parameter can be passed as //whatfix.com/video/f1c5fc80-9e0b-11e3-9315-00265a7a1bf4 ?loop =true.

Similarly, other parameters can be used.

Was this article helpful?