canusx / open-video-ads

Automatically exported from code.google.com/p/open-video-ads
0 stars 0 forks source link

Initialization error when running from a domain other than the one where the player is hosted. #154

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Embeding a FlowPlayer instance without allowscriptaccess set 
to 'always' will fail with an ActionScript Security Error 2060 when the 
OpenX Plugin is loaded and the embeding is done from a domain different to 
the one where the player is hosted.

What is the expected output? What do you see instead?
This error happens because the Plugin is trying to manipulate the DOM tree 
or trying to run JavaScript from within ActionScript. The only case where 
this would be neccesary is if you are running companion ads, otherwise, 
the plugin should not try to initialize any javascript functions on the 
page where it is embeded. (specially, if running from another domain)

What version of the product are you using? On what operating system?
FlowPlayer 3.1.5 (Commercial version) and OpenAd Streamer 0.4.0 - December 
10, 2009 everyhting is running CentOS 5 (Server) and Windows Vista 32bit 
(Client) with Internet Explorer 8

Please provide any additional information below.
This is a common problem. The recent Google Analytics plugins for 
FlowPlayer had this problem too. but I'm not sure how the author fixed it. 
Probably changing System.security.allowDomain? but I'm not sure. 

Original issue reported on code.google.com by jalt...@gmail.com on 19 Dec 2009 at 1:14

GoogleCodeExporter commented 9 years ago
Looking to resolve in this next release...

Original comment by paul.sch...@gmail.com on 19 Feb 2010 at 11:57

GoogleCodeExporter commented 9 years ago
Hi,

I use flow player with openx. I can see ad in video with my browser but i share 
video to facebook then I see 'flow initilazition security error'. when will you 
publish new version ? it is very necessery for me. 

Original comment by bahadcel...@gmail.com on 10 Aug 2010 at 7:34