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

Forums

/

Local Plugins on Licensed Player?

19 replies [Last post]

Hey everyone,

I know you can ...Hey everyone,

I know you can reference local plugins by modifying basedir in SPloader.as, but is it possible to reference local plugins in the licensed player? The source available in the trac is understandably the watermaked version.

Jeroen, is it possible to include the fla's and com dirs in the zip download when we download through our license?

You can reference local plugins without modifying the player. If the plugin reference looks like a path it will be treated as such. Examples:

Local plugin 'myplugin.swf':
plugins=./myplugin

Remote plugin from the repository + a local plugin in subdirectory:
plugins=remoteplug-1,./plugins/myplugin

Hi Tengil,

Sorry, but thats just not the behavior I'm seeing. When ever I try to reference as a path, it just uses that path with the basedir of plugins.longtailvideo.com. Even a complete url will result in

plugins.longtailvideo.com/http://example.com/myplugin.swf

I've set up your exact example here:
http://abavtooldev.pearsoncmg.com/VPCaptions/

with the plugin located in the same dir as the swf
http://abavtooldev.pearsoncmg.com/VPCaptions/myplugin.swf

The activity window in Safari shows the player is attempting to pull from plugins.longtailvideo.com

http://plugins.longtailvideo.com/myplugin.swf forbidden

I'm really interested in this question too as I have a licensed player and would like to have the plugin locally. I'm finding that when I can't access the plugin remotely, the player doesn't display at all (admittedly this is when I am working on the test server, which is disconnected - but I'd like to be able to work in this way).

You're right. It only works with the players included in the plugin SDK. See my tests here:

http://tengil.org/dev/jwplayer/test/localplugins/

I don't see why it can't do it right. Some insiders care to explain?

Anyway, what's the difference between the licensed and the unlicensed players? If it's only the jwplayer splash at start, it shouldn't be a problem removing it when you build your own from source. As long as you've bought a license it shouldn't be a problem.

interesting topic, it's nice that you found some solution to load plugin from any website we want because many developers work on special projects and would not want to share their work for specific website

Just to re-awaken this topic - even with a fully qualified URL, the player still tries to load the plugin from the longtailvideo website - I've performed a trace and it actually uses the full path like this:

HTTP GET http://plugins.longtailvideo.com/http://localhost/scripts/spectrumvisualizer-1.swf HTTP/1.1

It would be great if this could be fixed.

@Steve,

What version are you using?

Since about v4.4.141, using a URI loads from the URI instead of longtail.

I'm having exactly the same problem! I've purchased the licensed player and have spent about 3 hours trying to get this to work. Even with a fully qualified URL for the plugin it still loads it relative to http://plugins.longtailvideo.com/

e.g. if setting the plugins var to "http://www.test.com/test-1" (or with the .swf on the end)

the URL that it actually tries to load is

http://plugins.longtailvideo.com/http://www.test.com/test-1.swf

I've tried setting it as a path like /test-1 and ./test-1 and the full URL with the domain and http:// and it still loads it relative to http://plugins.longtailvideo.com/!!!

Very, very annoying. I can't find any way to get it to work! I'm running 4.4.198 of the licensed player. This is preventing us from finishing a site.

I'm using 4.4.198 (detail from menu-clicking on the player) it's the licensed version.

Maybe this version has a bug on this particular aspect as Noodles has the same problem on the same version?

Hello everyone. Does anyone have any more information on this one.

I had some great help on a firefox player ready bug, so it would be great if we can solve this as it's the only problem I have remaining!

Thanks

Steve

Contact Longtail Video directly on this one.

Just to clear up this thread to ensure the correct information is here...

All versions of the player load the plugins from Amazon S3 Servers (where we host them).

There isn't a player that allows for you to host them yourself. There is nothing stopping you from modifying the sourcecode to pull the plugins from your own directory.

Nonsense.

The unlicensed players since v4.4.141 load the plugins from anywhere if you use a URI.

Erm, this question is on licensed playes and this is the official response I got from long tail... it's below (and it's also the exact behaviour I'm getting no matter what I put in - it always tries to load it remotely)...

Steve,

All versions of the player that we have produced loads the plugins from Amazon S3 Servers (where we host them).

We do not offer a player that allows for you to host them yourself. With that being said, obviously, there is nothing stopping you from modifying the sourcecode to pull the plugins from your own directory.

Best Regards,

Darjan

Whatever...

So just modify the source. Jimb has posted the instructions several times.

all of have to do is open up the flash editor and editor the actionscript just few link like

HTTP GET http://plugins.longtailvideo.com/http://localhost/scripts/spectrumvisualizer-1.swf HTTP/1.1

then close the action script save it and repacked back in to swf and run it again simple as that.

Hi Lollie,

Thanks for your helpful information. The link was really useful and I appreciate your helpful attitude.

Steve

I realize that this topic is just about two years old. However, I wanted to find out if this is still an issue or has the player been updated to compensate for this?

Thanks,

- MT

This is possible. Please do not bump old threads.