Created
October 4, 2012 23:31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link href="stylesheets/skins.css" media="screen" rel="stylesheet" type="text/css"></link> | |
<script src="http://vjs.zencdn.net/c/video.js"></script> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> | |
</head> | |
<body> | |
<video controls class="video-js vjs-default-skin"> | |
<source type="video/mp4" src="http://video-js.zencoder.com/oceans-clip.mp4"></source> | |
</video> | |
<script type="text/javascript"> | |
var video = document.getElementsByTagName('video')[0]; | |
var player = _V_(video); | |
player.addEvent('play', function(evt) { | |
$('.video-js').css('display', 'block') // dont do this!!! | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment