[BUG] RevBrowser fails to render from htmltext property if no url was loaded before.
Andre Garzia
andre at andregarzia.com
Tue Jan 19 08:00:59 EST 2010
Jan,
I just woke up and saw this email, I already won my day! Thanks for the tip,
this is going to save me!
Cheers
andre
On Tue, Jan 19, 2010 at 4:34 AM, Jan Schenkel <janschenkel at yahoo.com> wrote:
> The eaésiest workaround is to first open a blank page; so on opening the
> revBrowser instance, I set the initial URL to "about:blank" and that seems
> to do the trick.
> Maybe this should be the default URL for new revBrowser instances - either
> that or they should make it very clear in the docs that a valid URL is
> required :-)
>
> HTH,
>
> Jan Schenkel
> =====
> Quartam Reports & PDF Library for Revolution
> <http://www.quartam.com>
>
> =====
> "As we grow older, we grow both wiser and more foolish at the same time."
> (La Rochefoucauld)
>
>
> --- On Mon, 1/18/10, Andre Garzia <andre at andregarzia.com> wrote:
> >
> > 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
> >
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
--
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode
mailing list