Skip to content

Instantly share code, notes, and snippets.

@prismicdeveloper
Last active August 29, 2015 14:18
Show Gist options
  • Save prismicdeveloper/407c6960a6a7bb407c88 to your computer and use it in GitHub Desktop.
Save prismicdeveloper/407c6960a6a7bb407c88 to your computer and use it in GitHub Desktop.
var video = doc.get("article.video");
// Html is the code to include to embed the object, and depends on the embedded service
var html = video ? video.asHtml() : "";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment