Video-InfoBox Component

Description

Vide0-InfoBox Component will display a background video inside of a box with a title and description. Optionally, a link can also be added. Height of the box can be set.

Demo

With link

Without link

Available attributes:

Excluded attributes will default to the following:

HTML

<video-infobox
    data-videoURL="https://www.w3schools.com/howto/rain.mp4"
    data-height="500px"
    data-title="Title"
    data-description="Description of video or content."
    data-linkURL="https://www.google.com">
</video-infobox>

<script src="videoInfoBox.min.js"></script>

Javascript