Skip to content

Instantly share code, notes, and snippets.

@NathanLawrence
Created October 19, 2018 15:29
Show Gist options
  • Select an option

  • Save NathanLawrence/02b0940f5472e1c2fc1aa7a93adc0ed6 to your computer and use it in GitHub Desktop.

Select an option

Save NathanLawrence/02b0940f5472e1c2fc1aa7a93adc0ed6 to your computer and use it in GitHub Desktop.
Pym.js Template
<p data-pym-src="https://www.path.to/the/thing/you/uploaded.html">Loading...</p><script type="text/javascript" src="https://pym.nprapps.org/pym-loader.v1.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script type="text/javascript" src="https://pym.nprapps.org/pym.v1.min.js"></script>
</head>
<body style="margin:0;">
<div class="content">
<!-- Paste the content you want to embed here!!! -->
</div>
<script type="text/javascript">
var pymChild = new pym.Child({ polling: 500 });
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment