Basic player

This page shows you a basic afterglow setup.

This is the basic afterglow setup.

<!DOCTYPE html>
<html>
  <head>
    <title>afterglow player</title>
    <script src="//cdn.jsdelivr.net/npm/afterglowplayer@1.x"></script>
  </head>
  <body>
    <video class="afterglow" id="myvideo" width="1280" height="720">
    	<source type="video/mp4" src="/path/to/myvideo.mp4" />
    </video>
  </body>
<html>

Remember, that you must provide at least the four attributes for the video element that are provided in this example.

This is, what the player would look like with this very basic setup:

๐Ÿ“˜

Read more about the player parameters

If you want to learn more about the player parameters, you should take a look at the player parameters guide.