-
-
Save clonesia/b993a324082f12d4875b6d17f99d9c86 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title> | |
JW Player Reponsive Video | |
</title> | |
<script type="text/javascript" src="//cdn.jsdelivr.net/jwplayer/5.10/jwplayer.js"> | |
</script> | |
<style type="text/css"> | |
html, body { | |
height: 100%; | |
width: 100%; | |
padding: 0; | |
margin: 0; | |
} | |
#player { | |
height: 100%; | |
width: 100%; | |
padding: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="player"> | |
</div> | |
<script type="text/javascript"> | |
jwplayer("player").setup({ | |
file: "http://testing.grappler.tk/files/2013/01/trailer_1080p.mp4", | |
image: "http://testing.grappler.tk/files/2013/01/trailer_1080p.jpg", | |
height: "100%", | |
width: "100%", | |
stretching: "exactfit", | |
flashplayer:"//cdn.jsdelivr.net/jwplayer/5.10/player.swf" | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment