Page 1 of 1
Playing flash on a card.
Posted: Fri Aug 15, 2008 9:25 pm
by keyless
Does anyone have a stack that demos playing flash movie using revBrowser?
Posted: Sat Aug 16, 2008 12:18 am
by Mark
Dear keyless,
This one ueses an external
http://www.f-ab.net/
More information can be found here:
http://thread.gmane.org/gmane.comp.ide. ... cus=112498
I also have a simple Dilbert stack, which uses revBrowser to show a flash movie. You find it at the bottom of this page:
http://economy-x-talk.com/developers.html
Best regards,
Mark
Posted: Sat Aug 16, 2008 6:10 pm
by keyless
Thanks Mark. Your widget shows me that it can be done fairly easy.
The external way looks interesting, but unless they are going to release it, not much help.
I am hoping to see a stack with someone using a flash player in revBrowser on a card like one would use the QT Player. I've been wondering if it can be done seamlessly, where one couldn't even tell it was done in revBrowser.
To add to this, I am seeing more and more of the Web flash players have API's. I'm wondering if anyone has figured out how to communicate with the API's from rev. In page it is very easy to create html buttons using the API's, and would love to see if this could be done form buttons on the card, (while video is playing).
I know flash playing in a browser is sand-boxed, so I'm not sure how one could pass the javascript needed to the API.
Posted: Sat Aug 16, 2008 11:02 pm
by SparkOut
I have done this with a browser in Rev playing a swf help video file. The stack had the swf embedded, which was written out to a temporary file and the browser then initialised to point to that location, and a bit of tidying up afterwards. Never tried with hotspots and embedded script though.
Posted: Sat Aug 16, 2008 11:28 pm
by Mark
Hi Sparkout,
Have you thought of turning your standalone into an http server, have the browser object connect to it and return the flash movie data directly through the socket, instead of writing it do disk first?
Best,
Mark
Posted: Sat Aug 16, 2008 11:35 pm
by SparkOut
Hi Mark,
That sounds an intriguing idea, which I never thought to do. Writing the help file to the temporary specialFolderPath was as good a solution as it needed to be at the time.
Making the standalone into a server is a bit beyond my expertise, or at least my expectation of my expertise level.
Posted: Mon Aug 18, 2008 10:35 pm
by keyless
I've come up with a way to add HTML text into the page loaded in the browser (using VBscript and a DIV as an object). If the page had a running script looking for this added text maybe it could pass it to the players API or maybe I could inject script and the running script could run it. Anyone a good web scripter.
In this case I'd like to avoid having the page served. I'm hoping to create a lean controlable player.