Skip to content

Instantly share code, notes, and snippets.

@rads
Created February 19, 2010 22:34
Show Gist options
  • Save rads/309300 to your computer and use it in GitHub Desktop.
Save rads/309300 to your computer and use it in GitHub Desktop.
function playVideo(videoid, url, lectureid) {
$("<embed>").attr({
width: 1,
height: 1,
autohref: true,
target: "quicktimeplayer",
autoplay: true,
dontflattenwhensaving: true,
kioskmode: true,
cache: true,
href: url,
src: url
}).appendTo("body");
return false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment