Back to overview
Lights on
Lights off

2.1

The player component

In this lesson, I'm guiding you through the process of integrating your first mave video into a webpage. I start by emphasizing how simple it is - it's just a matter of copying a snippet of code and pasting it into your site.

I begin by demonstrating how to copy the embed code from the mave interface. Then, I switch over to Visual Studio Code, where I've prepared an HTML page for you to work with. This page is part of the resources available in our GitHub repository, which I point out how to access. The example I'm using is a webpage for a pizza-making course. I show you the basic layout of the page and explain that we want to add a video player in the middle as a trailer for the course. I then paste the mave player code into the appropriate spot in the HTML file. After that, I make a quick adjustment to the styling to ensure it fits well within the page layout.

To showcase mave's customization options, I navigate to our documentation page. I browse through the player options and decide to add a theme to our video player. I choose the Dolphin theme as an example and show you how to add this attribute to the player code.

Throughout this lesson, my aim is to demonstrate how straightforward it is to not only embed a mave video player into your webpage, but also to customize it to fit your site's design. I'm showing you that with just a few simple steps, you can have a fully functional, customized video player integrated into your website.

Mentor

David van Leeuwen

Developer

David van Leeuwen is a web developer with over 15 years of experience. Throughout his career, he has collaborated with multidisciplinary teams on projects for renowned companies such as Sonos, WeTransfer, and Red Bull.

David is currently leading the development of mave and will be the mentor if this course. He is enthusiastic about sharing his knowledge and helping you get started with video integration.

Don’t have a mave account?

Sign up today and get started for free with our 30-day trial.

The code for this lesson available on our Github

works with
Developer?
Our docs guide you through the process of embedding video, starting with simple steps for novices and advancing to manual configurations for experienced users. It outlines multiple hosting alternatives, including a default CDN, and highlights compatibility with popular web frameworks.
script
react
vue
1
2
3
4
5
🍪 Press 'Accept' to confirm that you accept we don't use cookies. Yes, this banner is just for show!
Accept