Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Captions error message cannot load data from xml

10 replies [Last post]

S my videos have been working fine no issues captions worked just file for weeks. Now as of this afternoon I am getting an adobe plash player 10 error

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: http://plugins.longtailvideo.com/captions-1.swf cannot load data from block.xml.
at com.jeroenwijering.plugins::Captions()

does anyone know what's going on????

Hi.
I have a similar problem. The captions worked just fine, but now, even if the player shows CC on the bottom, the caption is not shown.
My captions are embeded in the mp4 movie.
What can be the problem? Maybe the Flash player or the Caption plugin?

Hi!

I have the same problem as Paula...

Thank You for your help...!!!

I am still having this issue with Internet explorer and not firefox... any one know whats going on?

Posting a link to your Test Page showing the error would be a good place to start.

We can't guess.

Sure, the video is here
http://www.commonhealth.virginia.gov/greenvid.htm
at this point the captions work sometimes on some peoples computers sometimes in IE and sometimes in FF it seems SO random!

 
You are using swfobject v2.0 loaded from this URI, yet your Flash embedding code is the format for SWFObject v1.5.
http://www.commonhealth.virginia.gov/swfobject2.js

I highly recommend that you load swfobject v2.2 from Googles CDN using this code:

    <script src="http://www.google.com/jsapi"></script>

    <script>
      google.load('swfobject', '2.2');
    </script>

Then place this Flash embedding code in the head element of your HTML document:

    <script type="text/javascript">
      var flashvars =
      {
        'file':                        'http://commonhealth.virginia.gov/Green.flv',
        'plugins':                     'captions-1',
        'captions.file':               'http://commonhealth.virginia.gov/Green.xml',
        'image':                       'http://commonhealth.virginia.gov/images/chTV.jpg',
        'logo':                        'http://commonhealth.virginia.gov/assets/icons/drsIcon.png',
        'id':                          'playerID'
      };

      var params =
      {
        'allowscriptaccess':           'always',
        'allowfullscreen':             'true'
      };

      var attributes =
      {
        'id':                          'playerID',
        'name':                        'playerID'
      };

      swfobject.embedSWF('http://commonhealth.virginia.gov/player.swf', 'college1player', '640', '500', '9.0.124', false, flashvars, params, attributes);
    </script>

Since your video file is 640x480, you should size the player to 640x500 to allow for the controlbar height of 20px.

And place this HTML division element where you want the player to appear:

<div id="college1"><a id="college1player" href="Smile.wmv"><img src="chTV.jpg" alt="Download Clip 1 in WMV Format" width="320" height="240"></a></div>

Until somebody fixes the Forum, do a search & replace in your code editor to get rid of the backslashes in front of all of the single & double quote symbols.

Backslash bug should be fixed.

Thanks Zach.

Hobbs,

YOU ARE A GOD! Seriously, thank you.

 
@Paula,

You're welcome...   (now back down to earth)

    Good Luck!