Control Rev App from web?

Trevor DeVore lists at mangomultimedia.com
Thu Jan 29 01:42:24 EST 2004


On Jan 28, 2004, at 3:40 PM, michael wrote:

> Hi, I just discovered Revolution and am in the midst of learning all 
> about it. I have a project being planned out and I think Rev might be 
> perfect for it.
>
> I know you can display web or ftp contentm and I did see a web browser 
> stack somewhere out there that would use the end-users default browser 
> or a specified one...  I need to have an integrated web browser in my 
> app.  So this leads me to my question.
> Can controls be embedded in a web page to command  an apps 
> stacks/cards to launch? I am assuming yes, and will continue to 
> research..  An example would be,  prompting a media file linked on web 
> to play in the apps own player.  Or would I need to pull the links to 
> the media file located either on remote server or local.... using a 
> card field or some other relevent approach?
> Thanks!!

Hi michael.  AFAIK you can only embed a browser in a Windows Revolution 
stack using the DLL from 
<http://www.altuit.com/webs/altuit2/RunRev/altBrowser.htm>.  I don't 
know all of the features of the DLL but if there isn't a direct method 
of communication between the DLL and Revolution you could try embedding 
links in the web pages that make requests to 
"127.0.0.1:YourFavoritePort?command=media&filename=blah.mov".  
Revolution can "listen" to ports on the computer and could process 
requests that way.  I haven't tried this but it may work.

Perhaps someone else has some other ideas.


-- 
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com



More information about the use-livecode mailing list