You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Captions fails when timedtext.xml is served from a different host? Created Nov 4, 2009

This thread is solved

Views: 4086     Replies: 3     Last reply Aug 8, 2011  
You must login first before you can use this feature

ant.leonard

Posts: 2

Registered:
Nov 4, 2009

Captions fails when timedtext.xml is served from a different host?

Posted: Nov 4, 2009

Hi there,

The captions plugin works great except when the timedtext.xml file is served from a different host to the swf file. Doing this I get the following error on loading up the player.

303: Failed to load a resource: cannot access the resource file (try loosening Flash security settings): Error #2048

I hate to bring up the competition but this is trivially possible using another popular player. You can see this by looking at the source of this example page I've set up.

http://www-users.york.ac.uk/~apbl500/flow/flowexample.html

This could be a showstopper for me as I can't expect my users to either change their Flash settings or only host captions on the server I'll be using to serve up flowplayer.

Is there a way around this? Any help would be very gratefully received.

Best wishes,
Anthony.

dherbst

Posts: 75

Registered:
Apr 20, 2009

» Captions fails when timedtext.xml is served from a different host?

Posted: Nov 4, 2009

Reply to: Captions fails when timedtext.xml is served from a different host?, from ant.leonard
This is probably because your jw site has a fully open crossdomain.xml file (which is considered a pretty big security risk in some circles).

http://www.longtailvideo.com/crossdomain.xml

Whereas the flowplayer.org site has no crossdomain.xml file,http://flowplayer.org/crossdomain.xml results in a 404 error.

Therefore the swf's cannot download content from any site that is not where the swf file was loaded from:http://www-users.york.ac.uk in this case.

You might want to review this article and read up on crossdomain.xml to get a better understanding of flash security:

http://kb2.adobe.com/cps/142/tn_14213.html

ant.leonard

Posts: 2

Registered:
Nov 4, 2009

» » Captions fails when timedtext.xml is served from a different host?

Posted: Nov 11, 2009

Reply to: » Captions fails when timedtext.xml is served from a different host?, from dherbst
Hi ddrama,

That explains it. Sneaky eh!

I hope you can configure crossdomain.xml to allow access from some sites but not others, without compromising security too much, but I guess that's not a flowplayer issue.

Much appreciated.

Best wishes,
Anthony.