Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Jwplayer offline play


I would like to be able to use the jwPlayer 6 to play offline videos. The videos would still be in a web page but not require internet connection as they would be locally loaded. My target web browser is IE8

18 Community Answers

Ethan Feldman

JW Player Support Agent  
-5 rated :

We don’t support offline playback in this version.

JW Player

User  
3 rated :

Is there a version that does? thanks

Or can I use localhost with mampp or xammp

JW Player

User  
0 rated :

and this only needs to be flash for ie8 no html5 thanks for your help

Ethan Feldman

JW Player Support Agent  
1 rated :

V5 does.

JW Player

User  
0 rated :

will v6 support in the future and is there anything special I need for offline in v5? Also we purchased the pro version for v6, how can we apply to v5? And can I get v5 documentation?

thanks.

Ethan Feldman

JW Player Support Agent  
-1 rated :

No plans on supporting that.

V5 can be downloaded from – http://developer.longtailvideo.com/trac/browser/tags/mediaplayer-5.10

V5 docs are at – http://www.longtailvideo.com/jw5

JW Player

User  
0 rated :

I can play offline videos if I specify them in the jwplayer setup mode but not if I try to load a file. perhaps I am not specifying the files correctly?

Here is my code:
jwplayer('mediaplayer').setup({
'flashplayer': 'js/player.swf',
'controlbar': "bottom",
'playlist.position' : 'right',
'playlist.size': 360,
'width': '912',
'height': '370',
playlist: [{
file: currVideo.attr('rel'),
title: currVideo.attr('title')
}]

});

the file name is : videos/mobile.mp4

Here is how I load a new file...
jwplayer('mediaplayer').stop().load({file:$(this).attr('rel'), title:$(this).attr('title')}).play();

The load code will work if a run a localhost but I would like it to be completely offline.

thanks

Ethan Feldman

JW Player Support Agent  
-2 rated :

You can load a file just file the file variable. The JavaScript API won’t work offline.

JW Player

User  
2 rated :

it does work if I run xampp, even if I turn wireless off. Why is that?

thanks.

Ethan Feldman

JW Player Support Agent  
1 rated :

Yes, because xampp is a local server. wireless doesn’t need to be on for localhost to work.

JW Player

User  
2 rated :

Do you know of another javascript player with offline support?

thanks.

Ethan Feldman

JW Player Support Agent  
-5 rated :

No…

JW Player

User  
0 rated :

Sorry, I cant start JW5. I need to play offline files and I looked at the link you provided.
I downloaded the following files:
- player.swf - 113,505 bytes
- player.xml - 10,937 bytes
- jwplayer.min.js - 155,682 bytes

The player doesn't start, so I replaced "jwplayer.min.js" with "js/bin-debug/jwplayer.js" (292,821 bytes)

and still it doesn't work

which files do I need in order to have a fully functional JW5?
Thank you

Ethan Feldman

JW Player Support Agent  
-1 rated :

If you want to use player 5 offline, you can download it from here – http://www.longtailvideo.com/jw/upload/mediaplayer.zip

You need to edit jwplayer.js here and change every reference (I think 4 of them) of allowscriptaccess, from always, to never.

JW Player

User  
0 rated :

Thank you very much, it worked like a breeze even without editing jwplayer.js

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

3...

User  
0 rated :

do you know how to embed player of version 5?

thanks

3...

User  
0 rated :

when offline even the XAMPP cannot work for me... why?

but some browser on mobile phones still could work and some cannot... why?

thanks

This question has received the maximum number of answers.