Basic player

This page shows you a basic afterglow setup.

This is the basic afterglow setup.

<!DOCTYPE html>
    <title>afterglow player</title>
    <script src="//"></script>
    <video class="afterglow" id="myvideo" width="1280" height="720">
    	<source type="video/mp4" src="/path/to/myvideo.mp4" />

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.