Site configuration - use <visit url="variableFromJavascript"> ?

Hello guys,



I’m trying to fix The Daily Show and The Colbert Report plugins. I so far fixed the clips part by adding a manual click after a video is loaded (the clips are not autostarting and need to be clicked).



Is there a way to use code something like this (but actually working):


<run script="var myVariable = 'http://google.com';" /><br />
<visit url="myVariable" /><br />




The problem is, I can watch those shows on my laptop, but when started from Plex I get "Sorry, this video is unavailable from your location" - I'm from Bulgaria.
The plugins' site configurations are locking to the right flash player, but to actually make them work I need to just change the url from:

http://media.mtvnservices.com/mgid:cms:episode:thedailyshow.com:411191


to:

http://media.mtvnservices.com/player/prime/mediaplayerprime.1.12.1.swf?uri=mgid:cms:episode:thedailyshow.com:411191



I am doing this in javascript, but I couldn't find a way to tell WebKit to change to that page, window.location.href doesn't change the browser's location as in a normal web browser.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.