Created
February 26, 2014 12:13
-
-
Save ph3nx/9228471 to your computer and use it in GitHub Desktop.
This is how you setup the jwplayer with a self-hosted video file. The official documentation: http://www.longtailvideo.com/support/jw-player/28833/quick-start-guide
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
<!-- JW Player Library --> | |
<script src="http://jwpsrv.com/library/MCK8hplLEeOY0CIACmOLpg.js"></script> | |
<!-- div for the player --> | |
<div id='playerKXSDPIwKERSv'></div> | |
<!-- Script to display video file in the player div --> | |
<script type='text/javascript'> | |
jwplayer('playerKXSDPIwKERSv').setup({ | |
// URL to the video file | |
file: 'http://dl.dropboxusercontent.com/s/mbzd7oe5yl11jjb/turcon.mp4', | |
// URL to the image that should be shown before the video is started | |
image: 'http://img22.myimg.de/tssbgc4e50.png', | |
title: 'Turcon', | |
width: '100%', | |
aspectratio: '16:9' | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i need jwplayer play with openload video