revBrowser madness
Bob Sneidar
bobs at twft.com
Thu Jun 24 16:47:59 EDT 2010
I worked with revbrowser for a bit and made some inquiries. The revbrowser is not a proper Rev object. What it does is "draw" the video within the bounds of the rect you define. There are no rev events it will process. Anything happening within the bounds of that rect are ignored by Rev. That is why the RevBrowser example draws the rect inside a Rev window, with other controls outside the rect of the video.
I wanted to make a full screen video that went away once the user clicked on the video, but alas, NO MOUSE CLICKS! No events inside the rect are processed, EVEN if there is a rev object "behind" the video rect! See? There is absolutely no interaction with the video rect at all.
Bob
On Jun 24, 2010, at 12:27 PM, Simon Lord wrote:
> I've posted a JPG of the issue here:
>
> http://www.marelina.com/miscellaneous/bad-url.jpg
>
> This stack is built off the sample browser stack which comes with
> RunRev. I have pretty much everything I need except for this
> insidious issue. As long as the mouse is within the bounds of the
> revBrowser display then the URL *never* gets updated. I've tried a
> multitude of methods to try and trap the mouse position, load success
> etc. Nothing is working. The only way to get the URL to update is if
> I move the mouse outside the red bounds—and that's just a bad
> solution.
>
> on idle, mouseWithin, mouseLeave, mouseEnter etc. None of these is
> triggered while the mouse is within the revBrowser. I can't even get
> code to execute when the loading is successful. It's really just
> plain bonkers.
>
> Any ideas?
> _______________________________________________
> 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
More information about the use-livecode
mailing list