Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

download plugin

27 replies [Last post]
Reply

i was wondering if it be possible to add a download plugin so customer can download the video from the stream screen tx

Reply
Reply

@Ethan, really useful plugin.
Is that possible also with Playlist?.

Reply

Not sure...

Reply

@Ethan, Please try to create one! Its really useful and this is exactly what I'm looking for.

Can't waiting to use jw player 5.0+

Thanks for Replay :)

Reply

You should try this plugin out and see if it suits your needs ;)

Reply

@Ethan, Bro I am OK with look but the problem is when I'm using Play-list (XML File), it uses the link (location) that I gave for Preview not (info) the link that given for Download :(

This is my Play-list Example:

<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <title>Play-list Example</title>
  <info>http://www.bengaltiger.ucoz.com/</info>
<tracklist>
<track>
  <title>track 1</title>
  <annotation>artist</annotation>
  <image>http://www.site.com/image.jpg</image>
  <info>http://www.anysite.com/mp3/lds_uy7/</info>
  <location>http://www.site.com/track1.mp3</location>
  <meta rel="type">sound</meta>
</track>
<track>
  <title>track 2</title>
  <annotation>artist</annotation>
  <image>http://www.site.com/image.jpg</image>
  <info>http://www.anysite.com/mp3/hkj-h7/</info>
  <location>http://www.site.com/track2.mp3</location>
  <meta rel="type">sound</meta>
</track>
</tracklist>
</playlist>

any solution man?..

Reply

Any link man?

Reply

yea i have one please visit this->> http://tinyurl.com/754opju

Reply

@Ethan, One more question, the 'Download Plugin' work with JW Embedder only? Or it can be embed with SWFObject 2.2 & HTML OBJECT Embedding also?

Reply

This plugin only works with the JW Embedder, as it is a JavaScript plugin.

Your link works fine, it brings me to download the mp3 file via QuickTime in my browser.

Reply

Thank you Ethan
I was looking for your replay.

This link is not a direct link 'http://www.anysite.com/mp3/hkj-h7/'
Its a link where user go for download like this->> http://www.mediafire.com/?u4jz1tojy4jq2u4

So, it shouldn't brings you to download the mp3 file via QuickTime'
It should have gone to another link that I give for download users

I want people to go to this link:
http://www.mediafire.com/?u4jz1tojy4jq2u4

Not in this link:
http://www.site.com/track1.mp3

To do that Plugin should go to the link that in <info> </info>
not the link that in <location> </location>

Another question : how to make it open in a new Tab or new window?

Reply

*****It should have gone to another link that I give for user's download****

Reply

Look at the demo again - http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/18559/download-plugin

There is a variable called "downloadlink", which you need to set. ;)

Reply

Bro are you telling me to replace <info> with <downloadlink>?
I'm not getting it, the playlist that created in that Demo page is with JW Embedder code and I created a xml file with XSPF code so?
I am confused.

And what about the question 'open in a new Tab or new Window?'

Reply

You need to add downloadlink for each item, is what I am saying, bro.

Reply

Where should I add downloadlink in XML file?..

Can you show me an example?
Like where should I add downloadlink for item 1, 2 or track 3 that in Playlist.xml file Bro?

Reply

OK I got it :)
I have to replace <info> with <downloadlink> its working :D

New question:
How to keep always Download Logo at the top, I mean it shows up only when muse over of the player or when player not playing.
But I like to keep it always show at the top.

And please tell me how to make it open in NEW window/Tab? its awful to jump in same window for download link every time for each item.

Reply

Glad you got it.

This plugin uses document.location (in JS).

var goDownload = function() {
        var item = player.getPlaylistItem();
        if(item['download.link']) {
            document.location = item['downloadlink'];
        } else if(config.link) {
            document.location = config.link;
        } else {
            document.location = item.file;
        }
    };

To change this to be a new window, try:

var goDownload = function() {
        var item = player.getPlaylistItem();
        if(item['download.link']) {
            window.open(item['downloadlink']);
        } else if(config.link) {
            window.open(config.link);
        } else {
            window.open(item.file);
        }
    };

I think that should work.

Reply

:) You thinking is right, its working! 'open in new window'

One lest question:
How to keep always Download Logo at the top? I mean its shows up only when we mouse over at the player or when player not playing.
But I like to keep it always show up at the top, and if possible it will be much better if we can add it into the Control bar.

Reply

Great! :)

That is the default of the "dock" icon, it will fade.

It is not possible to move this icon to the controlbar, it only works in the dock.

Reply

Hmmmm!

Will thanks for all your help Ethan :)

Reply

Sorry 'Well'
:P

Reply

Np ;) :P :)

Reply

can the download link be automatically changed while a video is played?
actually i am using phpmotion with jw player and just want to enable downloading of videos.
so putting the download link in each video is not possible.

Reply

Probably if you modify the plugin to pull the file or something...

Reply

can u please help me somehow,
if there's an option of downloading in the click menu,or other button like the download plugin it would be great.
and like youtube why cant we change the quality settings, i mean 240p,360p,720,etc in jw?
thanx.

Reply

I can't , because I can't help you make / modify a plugin. We are going to add that dropdown menu in a future version anyways.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options