Skip to content

Instantly share code, notes, and snippets.

@gsemino
Created October 10, 2017 18:25
Show Gist options
  • Save gsemino/8a167c50d95c3a992900474617b200a6 to your computer and use it in GitHub Desktop.
Save gsemino/8a167c50d95c3a992900474617b200a6 to your computer and use it in GitHub Desktop.
Sample html page with code for embedding a SYNQ video
<!DOCTYPE html>
<html>
<head>
<style>
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 0px;
height: 0;
overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 50%;
height: 50%;
}
</style>
</head>
<body>
<div class="video-container">
<iframe allowFullScreen src="https://player.synq.fm/embed/your-video-id-here"></iframe>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment