Documentations: Godlike HTML

Background Video

Youtube/Vimeo example:

<!-- START: Page Background -->
<div class="nk-page-background op-5" data-video="https://youtu.be/UkeDo1LhUqQ"></div>
<!-- END: Page Background -->

Self-Hosted example:

<!-- START: Page Background -->
<div class="nk-page-background op-5" data-video="mp4:assets/video/bg-2.mp4,webm:assets/video/bg-2.webm,ogv:assets/video/bg-2.ogv"></div>
<!-- END: Page Background -->

Data Attributes:

  • data-video – Youtube/Vimeo URL or Self-Hosted video;
Was this page helpful?