Aluminium

VideoBox component

The video box consist of three different elements (BaseContainer, BaseButton, BaseIcon) it also has a slot with the slot name content to fill the content area in the left top.

You can attach functionality by using the: v-on:play attribute

Example snippet:

<VideoBox 
  :autoplay="true"
  v-on:play="play"
  url="https://s3.eu-central-1.amazonaws.com/secrid-files/videos/alluminium.mp4"
>
  <p slot="content" class="lead serif">Aluminium</p>
</VideoBox>

Attributes

attribute description type accepted values default
autoplay autoplay video Boolean - false
url (is required) url to video String - -