Well, If I try to access the audio or video tag directly with WebViewMBS.EvaluateJavascript(), it doesn't work for some reason, so I have this workaround:
(1) write javascript to assign the properties I want from the audio and video tags to innerHTML of hidden DIV tags (2) get the HTML from the WebView which has the audio and / or video tags I need information from (3) add the javascript code to the html and reload it into the WebView using loadHTMLString() (4) use WebViewMBS.EvaluateJavascript() to get the contents of the hidden DIV Thanks, Aaron ===== On May 3, 2011, at 9:33 AM, Aaron Andrew Hunt wrote: > Sorry, poorly worded. I wasn't trying to return the object to RB, just get > some values. > > I'm saying that it doesn't do what it is supposed to do. The javascript > doesn't work. Apple's own javascript doesn't work with WebViewMBS, while it > does work with Safari: > <http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/ControllingMediaWithJavaScript/ControllingMediaWithJavaScript.html> > > Thanks, > Aaron _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
