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 hidden or 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> |
A couple quick questions....
playerKXSDPIwKERSv <-- where does this come from or is it just something I make up?
// URL to the video file
file: 'http://dl.dropboxusercontent.com/s/mbzd7oe5yl11jjb/turcon.mp4',
I CANNOT FIND WHERE THIS COMES FROM? Running nginx on a ubuntu server - if I have these two questions answered, it would be GREATLY appreciated!
i need jwplayer play with openload video
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello i want to know about the file movies, i want put my friend link at my web.. can i do that? if can, where i can put the script?
Example file: 'http://dl.dropboxusercontent.com/s/mbzd7oe5yl11jjb/turcon.mp4', .... i must change into ? because i just want to make it url for a while, so not make it my hosting so heavy.. please help me, because almost 1 month i cannot use jw player at my web.. thanks before .. regrads