You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Building in plugins Created Nov 21, 2009

This thread is solved

Views: 1386     Replies: 5     Last reply Nov 27, 2009  
You must login first before you can use this feature

skrichten

Posts: 7

Registered:
Nov 16, 2009

Building in plugins

Posted: Nov 21, 2009

I've been trying to get my plugin built into the player using the instructions from...

http://flowplayer.org/documentation/developer/building-in-plugins.html

I've done everything in the instructions but it is not working. It works for the control plugin but not for mine. I can build my plugin separately with no problem.

Here is the relevant snippet from the core build.properties...

# 3.1.5
plugin.buildfiles=tracking/build.xml,controls/build.xml,controls/build-tube.xml,controls/build-skinless.xml

# for plugins that can be built inside the player

plugin-classes=../tracking/src/actionscript  ../controls/src/actionscript 

Here is my builtinconfig.as...


package  {
import org.flowplayer.controls.Controls;
import com.globalGrind.flowPlayer.TrackingPlugin;
public class BuiltInConfig {
private var controls:org.flowplayer.controls.Controls;
public static const config:Object = { 
	key:"xxxxxxxxxxxxxx", 
	logo: null, 
	plugins: 
	{ 
		controlz: { "url":"org.flowplayer.controls.Controls" },
		tracking: { "url":"com.globalGrind.flowPlayer.TrackingPlugin", "google_id":  "UA-xxxxxxxx-1" }
	}
	}
}
}

When I do a build I see the control plugin gets built but it does not seem to even try to build my "tracking" plugin... I don't see any echo showing the plugin name. If I can provide any other info to help shed light on the problem, please let me know.

skrichten

Posts: 7

Registered:
Nov 16, 2009

» Building in plugins

Posted: Nov 21, 2009

Reply to: Building in plugins, from skrichten
Ugh.. I think I finally see the problem... I'm guesing I need to make a private var of the type of my plugin in builtinconfig.as like it does for the controls.

Edge
Vizmu Media ------------------- http://vizmu.com/

Posts: 576

Registered:
Nov 29, 2008

» » Building in plugins

Posted: Nov 21, 2009

Reply to: » Building in plugins, from skrichten
Got a typo ->z @ controlz: { "url":"org.flowplayer.......

skrichten

Posts: 7

Registered:
Nov 16, 2009

» » » Building in plugins

Posted: Nov 21, 2009

Reply to: » » Building in plugins, from edge
Na that was just a test to see if the names were arbitrary. it seems that they are.

skrichten

Posts: 7

Registered:
Nov 16, 2009

» » Building in plugins

Posted: Nov 23, 2009

Reply to: » Building in plugins, from skrichten
So adding the private variable helped... it now tries to build my plugin when I do a player build. However, it is not finding a compiled library I need for my plugin. I have it setup correctly for when the plugin is built separately, but what needs to be done when building the plugin into the player?

dherbst

Posts: 75

Registered:
Apr 20, 2009

» » » Building in plugins

Posted: Nov 27, 2009

Reply to: » » Building in plugins, from skrichten
Try adding the folder to the 'plugin-libs' property.