sydseter / strobe-proxy-plugin-skeleton

This is a boiler plate skeleton for developing strobe proxy plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSMF proxy plugin skeleton for Strobe

Skeleton boiler palte code to create a OSMF proxy plugin

NB: If you are working on a development server you may need to set up ssh-agent-forwarding

####Building the plugin with mxmlc

Download and install flex with the flex installer (ubuntu only, see Flex installer README for how to install flex on Mac OSX and Windows)

From the root directory of this repository. Do the following from the terminal:

mxmlc src/StrobeProxySkeletonPlugin.as -library-path+=libs -sp="src/" -static-link-runtime-shared-libraries=true -o bin-debug/StrobeProxySkeletonPlugin.swf

For testing you can set up a vhost and point it to the bin-debug folder. Copy the following files to the bin-debug folder if not allready there.

cp html-template/StrobeMediaPlayback.swf bin-debug/
cp html-template/crossdomain.xml bin-debug/
cp html-template/index.template.html bin-debug/index.html

You need to edit the html file and replace the domain name localhost with the name of your vhost

If you want to just work in a folder directly on the root of your webserver you can do this:

# Assumming /var/www is the root of your webserver
sudo su
mkdir /var/www/StrobeProxySkeletonPlugin
cp -r bin-debug/*  /var/www/StrobeProxySkeletonPlugin/

####Debugging

If you want firebug/chrome style debugging you can do the following:

# Calls console.log
console.log("Hello Foxy lady");
# calls console.error
console.error("Hello Foxy lady");
# creates a javascript alert box (does not require firebug or chrome)
console.alert("Hello Foxy lady");

I have mentinoned some possibilities in the flex installer README if you want other powertools.

About

This is a boiler plate skeleton for developing strobe proxy plugins


Languages

Language:ActionScript 100.0%