[BUG] RevBrowser fails to render from htmltext property if no url was loaded before.

Andre Garzia andre at andregarzia.com
Mon Jan 18 14:23:53 EST 2010


If you create a revbrowser object on windows xp and didn't set it to go to
any url (pass empty in revbrowseropen) and then tries to set the content by
setting the htmltext property of the revbrowserinstance, it will fail to set
and will not render.

If you set the url property to some url and then after rendering, you set
the htmltext property, it will work.

It appears that revbrowser will not instantiate on windows if it is not told
to load a url.

bz#8549

http://quality.runrev.com/qacenter/show_bug.cgi?id=8549

This is a blocker to anyone trying to use RevBrowser to render custom media
players or displays. For example, I use it to play youtube videos but not
youtube home page, I assemble a htmltext using merge and set it, this is
elegant for the temporary page never touches the disk but it is not working
on windows, on the mac it works great. I also use it to play audio and video
files using JW FLV player which works quite well on macs but on windows is
failing.

If I set the revbrowser to some other url and then try to set it to my
htmltext, then it works ok. I believe the activeX or whichever thing is used
to load the browser component on windows fails to initialize if not pointed
to an url.

Cheers and votes welcome.

Andre
PS: will by beer and chocolates for voters during next revolution
conference.

-- 
http://www.andregarzia.com All We Do Is Code.



More information about the use-livecode mailing list