revBrowser and Flash?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
revBrowser and Flash?
I'm tinkering with revBrowser and my panoramas. It's fine for those tests that are set up as HTML5 only, but I normally publish these as Flash & HTML5. When I try to view one of those I get "blocked plugin" rather than the interactive content.
Example of HTML5 test content: http://panoramaphotographer.com/testhtml5/
Example of Flash content (sniffer will deliver HTML5 if Flash isn't available): http://panoramaphotographer.com/arcadia/foot/
So...
a) Is there a way to get revBrowser to work with Flash content?
b) Is there a way to control what the browser request tells the server so I could, for example, pretend Flash isn't installed (and trigger the relevant sniffer)?
In case it's relevant:
Mac OS X 10.9.4
LiveCode 7.0
Example of HTML5 test content: http://panoramaphotographer.com/testhtml5/
Example of Flash content (sniffer will deliver HTML5 if Flash isn't available): http://panoramaphotographer.com/arcadia/foot/
So...
a) Is there a way to get revBrowser to work with Flash content?
b) Is there a way to control what the browser request tells the server so I could, for example, pretend Flash isn't installed (and trigger the relevant sniffer)?
In case it's relevant:
Mac OS X 10.9.4
LiveCode 7.0
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: revBrowser and Flash?
Hi thatKeith,
It sounds like you are using our older browser implementation. Our new browser uses the CEF framework and seems to be compatible with both of the links you have provided. Try the following script within a button on a fresh stack-
Kind Regards,
Neil Roger
--
LiveCode Support Team ~ http://www.runrev.com
--
It sounds like you are using our older browser implementation. Our new browser uses the CEF framework and seems to be compatible with both of the links you have provided. Try the following script within a button on a fresh stack-
Code: Select all
on mouseUp
put revBrowserOpenCef(the windowId of this stack, "http://panoramaphotographer.com/arcadia/foot/") into tBrowserId
revBrowserSet tBrowserId, "visible", true
revBrowserSet tBrowserId, "rect", the rect of this card
end mouseUp
Neil Roger
--
LiveCode Support Team ~ http://www.runrev.com
--
Re: revBrowser and Flash?
Thanks Neil! That's brilliant, it works perfectly.
Is there any background info on the new 'Cef' version of the revBrowserOpen function?
k
Is there any background info on the new 'Cef' version of the revBrowserOpen function?
k
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: revBrowser and Flash?
Hi Keith,
We have section in our release notes that discusses the implementation of CEF browser. You can directly access these here-
http://downloads.livecode.com/livecode/ ... -6_7_0.pdf
and your are looking for page 21
Neil Roger
--
LiveCode Support Team ~ http://www.runrev.com
--
We have section in our release notes that discusses the implementation of CEF browser. You can directly access these here-
http://downloads.livecode.com/livecode/ ... -6_7_0.pdf
and your are looking for page 21

Neil Roger
--
LiveCode Support Team ~ http://www.runrev.com
--
Re: revBrowser and Flash?
Thanks - as the saying goes, I am excite! 

Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: revBrowser and Flash?
Because the CEF browser (revBrowserOpenCEF) has currently local-PDF-disadvantages on Mac let me add this note.
On MacOS 10.10 (Yosemite) and LC 6.7/7.0 and the newest FlashPlayer plugin installed (=currently NPAPI Plug-in version 15.0.0.189) your two examples work also, with all functionality to (shift-) ctrl/opt/cmd, when using the 'old' revBrowserOpen.
On MacOS 10.10 (Yosemite) and LC 6.7/7.0 and the newest FlashPlayer plugin installed (=currently NPAPI Plug-in version 15.0.0.189) your two examples work also, with all functionality to (shift-) ctrl/opt/cmd, when using the 'old' revBrowserOpen.
shiftLock happens