PDA

View Full Version : Javascript Boxee-App Creator [help]



Fuzzgtp
July 23rd, 2009, 11:17 AM
Alright, started this app and going alright so far except I still cant get any piece of a jsactions to work >< which makes testing impossible

What this does right now is :
- You take a screenshot of the video you want to make jsactions for and crop the screenshot so its just the video (make sure the OSD is showing)
- goto

http://www.fuzzthed.com/applications/js_interface_flash.php, select your image and click "upload file"

http://webpages.charter.net/gskaggs/tutorial/1.jpg

-the image is imported into flash. Follow the on screen directions so we can get all the coordinates for your app

http://webpages.charter.net/gskaggs/tutorial/2.jpg

-When your sastified click export
http://webpages.charter.net/gskaggs/tutorial/4.jpg

-And here's the part where its not working yet. All the variables are sent out to php which dynamically creates your new jsactions file. Unfortunately, since I have been unable to get any jsactions to work, im stuck ;( You can see all the coordinates exported in the url.

http://webpages.charter.net/gskaggs/tutorial/5.jpg

anyone able to make me a generic jsactions file where i can insert all the coordinates from my php/flash script?

Sniperking
July 23rd, 2009, 03:46 PM
Hope someone is able to help you out, i cant as java script is a little to complicated for me at the moment and that's why i cant wait for this application.

Good Luck

riegersn
July 23rd, 2009, 09:37 PM
fuzzgtp, you can't really have 1 generic file that you can plug coords into. it wont always work the same way. question, are you on linux? what functions are you having problems with? how are you testing these scripts?

we hope to have the js api documentation available as soon as possible. hopefully this will provide a better understanding of how it all works.

ps. its better to try and figure out the api for the player in question and use that for communication instead of just 'clicking' which tends to be unreliable.

leahcim
July 24th, 2009, 05:37 AM
Thank you for doing this work Fuzzgtp, the tool you are creating will be a big help in interacting with flash and silverlight players where the api used to get the content cannot be reverse engineered.

I am trying also trying to figure out how the jsactions interface works, had no success yet. I am really looking forward to the api documentation being released.

I myself spent a fair bit of time trying to figure out the api for an irish catch up tv service (www.rte.ie/player), I used WireShark and FireBug but couldn't find out where the content is streamed from.

In the end I tried to use the jsactions method to control the player but I couldn't get it to work either.

Luckily for me another member of this forum (aledoux) is creating an application to do just what I want, he seems to be having more success.

BTW: Well done to the boxee team (and application contributors) for creating such a wonderful piece of software.