This is the basic afterglow setup.
<!DOCTYPE html> <html> <head> <title>afterglow player</title> <script src="//email@example.com"></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.
Updated less than a minute ago