Go
Not registered? Sign up!

Captions error message cannot load data from xml

Google Translate
11 posts | return to the Bug Reports forum | get the rss feed for this thread

Sep. 30, 2009Paula

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????

Oct. 03, 2009Andy

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?

Oct. 07, 2009Axel

Hi!

I have the same problem as Paula...

Thank You for your help...!!!

Oct. 20, 2009Paula

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

Oct. 20, 2009hobbs

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

We can't guess.

Oct. 29, 2009Paula

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!

Oct. 29, 2009hobbs

 
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.

Oct. 29, 2009Zachary Ozer

Backslash bug should be fixed.

Oct. 29, 2009hobbs

Thanks Zach.

Nov. 05, 2009Paula

Hobbs,

YOU ARE A GOD! Seriously, thank you.

Nov. 05, 2009hobbs

 
@Paula,

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

    Good Luck!

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.