revlet plugin detection

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

revlet plugin detection

Post by ukimiku » Sat Nov 28, 2009 6:49 pm

How can a web page detect whether the Runrev plugin needed for revlets is installed in the user's browser?

Thanks

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: revlet plugin detection

Post by bn » Sat Nov 28, 2009 6:56 pm

ukimiku,
in the html file that is generated when a revlet is built, the test.htm there is a section for plug-in detection
<!-- This script determines if the plugin is installed, and if so shows the 'plugin' DIV, otherwise it shows the 'noplugn' DIV -->
..... javascript.......
<!-- Plugin detection script finishes above this line -->
regards
Bernd

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Re: revlet plugin detection

Post by ukimiku » Sat Nov 28, 2009 7:40 pm

Thanks, Bernd, I have not yet tried this out. I am considering switching my web hosting to On-Rev but have a couple questions first - one of which just got answered :)

Regards,

bn
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 4163
Joined: Sun Jan 07, 2007 9:12 pm

Re: revlet plugin detection

Post by bn » Sat Nov 28, 2009 8:31 pm

ukimiku,
you can host the revlet on any server, no need for on-rev for that. So you should be able to try a revlet on your present host.
To make a revlet just take a stack, in the file menue go to stand alone settings, uncheck in mac, windows and linux the built for option. In the web option check built for web. Try auto-detect, which is the default, and built the revlet. It will save the revlet to a folder you indicate with 2 files, the revlet and a test.htm file. I rename the test.htm file to index.htm and upload the folder. The folder name is the the url. myWebsite.myAddress.com/thefoldername will start your Revlet if you put the folder into the public folder. It is fun.
regards
Bernd

ukimiku
Posts: 101
Joined: Thu Oct 22, 2009 10:45 am

Re: revlet plugin detection

Post by ukimiku » Sun Nov 29, 2009 9:08 am

Thanks, Bernd,

the revlet idea was the first I had for my first client. I turns out he wasn't very precise about his needs, and now it is clear that most people who are going to use my program will not be allowed to install anything on their (company) computer, so I can't pursue the revlet venue any further, unfortunately. The next option, one that will work without installing third-party plugins, is an On-Rev account with irev scripting enabled. Since my product will be used as a standalone as well as online, the changes I will have to make to the code will be minimal this way, saving a lot of work hours and thus, money.

Thanks for detailing the revlet building process. I find the feeling to build for web just as fascinating and fun as you do... :)

Regards,

Post Reply