Access to browser javascript functions?
Posted: Thu May 27, 2010 3:17 pm
Hi Folks,
I've got a revlet that allows users to record and submit a video back to the server. Aft er they click "Send Video" in the revlet and the upload completes I'd like to enclosing web page to refresh showing them the uploaded file. Is there any way I can trigger a call to a javascript function? I see the revBrowserExecuteScript() function, and that looks like exactly what I need, except that it seems to work in a browser embedded in the revlet rather than the browser the revlet is embedded in. I can think of a few hacky work-arounds ( set a timer script in the HTML that calls out to the server checking for a completed upload and refreshs the page when it finds one), but I was hoping this would be possible in a more straightforward way.
Thanks,
Matt
I've got a revlet that allows users to record and submit a video back to the server. Aft er they click "Send Video" in the revlet and the upload completes I'd like to enclosing web page to refresh showing them the uploaded file. Is there any way I can trigger a call to a javascript function? I see the revBrowserExecuteScript() function, and that looks like exactly what I need, except that it seems to work in a browser embedded in the revlet rather than the browser the revlet is embedded in. I can think of a few hacky work-arounds ( set a timer script in the HTML that calls out to the server checking for a completed upload and refreshs the page when it finds one), but I was hoping this would be possible in a more straightforward way.
Thanks,
Matt