Skip to content

Instantly share code, notes, and snippets.

@trinker
Created April 5, 2018 16:17
Show Gist options
  • Save trinker/607346272da9e01bda81a57ab37282ad to your computer and use it in GitHub Desktop.
Save trinker/607346272da9e01bda81a57ab37282ad to your computer and use it in GitHub Desktop.
Embed a youtube video at a specific start/stop time
<!-- http://www.brucelawson.co.uk/2010/a-minimal-html5-document/ -->
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>blah</title>
</head>
<body>
<iframe width="854" height="480" src="https://www.youtube.com/embed/8SGif63VW6E?list=PLNtpLD4WiWbw9Cgcg6IU75u-44TrrN3A4?rel=0;start=246;end=292" frameborder="0" encrypted-media" allowfullscreen></iframe>
<!-- The key is to add `?rel=0;start=246;end=292` to the end of the embed code url -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment