Skip to content

Instantly share code, notes, and snippets.

@DreadKnight
Created January 10, 2013 23:16
Show Gist options
  • Save DreadKnight/4506640 to your computer and use it in GitHub Desktop.
Save DreadKnight/4506640 to your computer and use it in GitHub Desktop.
oembed conversion?
if ($embed == 1) echo '<div class="embed"><iframe frameborder="0" height="520" width="400" src="http://sketchfab.com/embed/' . $r['embed'] . '?autostart=1&transparent=1&autospin=1&controls=0&watermark=0&desc_button=0&stop_button=0"></iframe></div>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment