Skip to content

@ryanoshea /index.html
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Firefox HTML5 <video> loop jQuery Workaround
<!DOCTYPE html>
<html>
<head>
<title>desktop</title>
<style type="text/css">
#video1 {
max-width: 100%;
max-height: 100%;
}
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js"></script>
<script type="text/javascript">
$("#video1").bind('ended', function(){
this.play();
});
</script>
</head>
<body>
<video id="video1" src="desktop.webm" autoplay loop></video>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.