Jwplayer offline play

This thread may refer to an older version of JW Player! Check our articles for the most up-to-date information.
This Q&A thread was imported from our previous system and could apply to an older product.
  • 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

  • We don’t support offline playback in this version.

     
    Up Down 0 rated
  • Is there a version that does? thanks

    Or can I use localhost with mampp or xammp

    Up Down 0 rated
  • and this only needs to be flash for ie8 no html5 thanks for your help

    Up Down 0 rated
  • V5 does.

     
    Up Down 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.

    Up Down 0 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

     
    Up Down 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

    Up Down 0 rated
  • You can load a file just file the file variable. The JavaScript API won’t work offline.

     
    Up Down 0 rated
  • it does work if I run xampp, even if I turn wireless off. Why is that?

    thanks.

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

     
    Up Down 0 rated
  • Do you know of another javascript player with offline support?

    thanks.

    Up Down 0 rated
  • No…

     
    Up Down 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

    Up Down 0 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.

     
    Up Down 0 rated
  • Thank you very much, it worked like a breeze even without editing jwplayer.js

    Up Down 0 rated
  • Np

     
    Up Down 0 rated
  • do you know how to embed player of version 5?

    thanks

    Up Down 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

    Up Down 0 rated

This QA is closed.

Still don't have JW Player? Get It Here