Playing a Youtube video
This page shows you how to play a youtube video using afterglow.
If you want to play a video which is hosted on Youtube, you should use the
data-youtube-id parameter. This example shows you how the result would look like.
<!DOCTYPE html> <html> <head> <title>afterglow player</title> <script src="//email@example.com"></script> </head> <body> <video class="afterglow" id="myvideo" width="960" height="540" data-youtube-id="5jidaSuRVKw"></video> </body> <html>
Using this basic lightbox setup, the player would look like this:
Read more about player parameters
If you want to learn more about the player parameters that are available, you should take a look at the player parameters section.
Updated less than a minute ago