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

Forums

/

Have to hit captions button

14 replies [Last post]

Hi

I'm using last JW Player 4.6 and captions-1 plugin. I have to hit the cc button to make the captions appear.

I have put captions.state=true although when reading the plugin documentation I assume this is the default. But no result.

I didn't have any problems with 4.4 player and captions plugin.

Please have a look at: http://eyetech.optometrists.captiv8online.com/animations/show/cataract-surgery

Thank you
Joop

try this

sa.addVariable('captions<strong>.file</strong>', '/files/documents/1275.xml');

Hi hobbs

Thanks but that doesn't help.

Also when I have activated the captions by clicking twice on the cc button and then pause the video the captions show on top of the related animations slide.

Again a new thing.

No progress yet with the new player. My client was looking so much forward to his fms 3.5 server and the dynamic streaming...

We are also using a modified version of the audiodescription plugin because the original starts playing sound before the animation starts. If have tried using the original again but it starts the sound before the video just as it did and it doesn't change anything else..

Maybe I'm overlooking something

Joop

For the images:
anytime that you use a playlist, ALL* of the File Properties flashvars must come from the playlist. *EXCEPTIONS: streamer and type can be global (in your player code instead of the playlist).<media:thumbnail url="/files/documents/1252.jpg" />
Reference: File Properties flashvars http://developer.longtailvideo.com/trac/wiki/FlashVars#Fileproperties

About the captions on top of the related content:
1) the D-Related plugin was written a long time ago and may not be using the current methods of determining placement,
2) the D-Related plugin was written by a third-party developer to be stand-alone (my guess) and may not play well with other functions/plugins.

Audiodescription used to start off on its own merry way regardless of the loading/playing of the video content. I believe thas was fixed some time ago. Have you tried the latest audiodescription plugin from the Subversion repository?

Meanwhile...

I'm preparing a test page based upon your code, playlist, captions, etc., but it may be tomorrow???

hobbs,

Thank you for the feedback!! I knew I was missing things.

Hi hobbs

Any testing done yet? Is a while and problem still remains:

http://kate.joopvanduin.captiv8beta.co.uk/animations/show/lasik

Still have to click cc twice to appear and captions flicker

Thanks
Joop

 
I can't really do a Test Page using your files, because your server rejects connections from other domains.

This is the player embedding code and playlist that I recommend you use, based upon testing with my versions of your files:

    <script src="http://kate.joopvanduin.captiv8beta.co.uk/js/swfobject.js"></script>

    <div id="player"><div id="videoplayerflash"><a href="http://www.macromedia.com/go/getflashplayer" target="_new">Get the Flash Player</a> to see this player.</div></div>

    <script type="text/javascript">
      var sa = new SWFObject('http://kate.joopvanduin.captiv8beta.co.uk/swf/mediaplayer.swf', 'mpl', '595', '354', '9.0.124');
      sa.addParam('allowscriptaccess',      'always');
      sa.addParam('allowfullscreen',        'false');
      sa.addParam('menu',                   'false');
      sa.addParam('seamlesstabbing',        'true');
      sa.addVariable('streamer',            'rtmpe://video.captiv8online.com/captiv8beta');
      sa.addVariable('file',                'http://kate.joopvanduin.captiv8beta.co.uk/files/documents/mediaplayer/19_dynamic_streaming.xml');
      sa.addVariable('icons',               'true');
      sa.addVariable('displayclick',        'none');
      sa.addVariable('plugins',             'captions-1');
    //sa.addVariable('plugins',             'captions-1,drelated-1');
    //sa.addVariable('plugins',             'captions-1,drelated-1,http://kate.joopvanduin.captiv8beta.co.uk/swf/audiodescription');
      sa.addVariable('captions.fontsize',   '10');
      sa.addVariable('captions.file',       'http://kate.joopvanduin.captiv8beta.co.uk/files/documents/162.xml');
      sa.addVariable('captions.state',      'true');
      sa.addVariable('drelated.dxmlpath',   'http://kate.joopvanduin.captiv8beta.co.uk/files/documents/mediaplayer/en_9_19_related_animations.xml');
      sa.addVariable('drelated.dskin',      'http://kate.joopvanduin.captiv8beta.co.uk/swf/grayskin.swf');
      sa.addVariable('drelated.dposition',  'bottom');
      sa.addVariable('drelated.dtarget',    '_self');
      sa.addVariable('screencolor',         'CCCCCC');
      sa.addVariable('backcolor',           '6E99DD');
      sa.addVariable('frontcolor',          'FFFFFF');
      sa.addVariable('autostart',           'true');
      sa.addVariable('repeat',              'none');
      sa.write('videoplayerflash');
    </script>

Test the plugins one-at-a-time; there may still be some incompatible interaction between the captions and the drelated plugins.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
  <channel>
    <item>
      <title>LASIK</title>
      <description>LASIK</description>
      <media:group>
        <media:content bitrate="1500" url="167.flv" width="595" />
        <media:content bitrate="1000" url="166.flv" width="595" />
        <media:content  bitrate="700" url="163.flv" width="595" />
        <media:content  bitrate="500" url="165.flv" width="595" />
        <media:content  bitrate="150" url="164.flv" width="595" />
      </media:group>
      <jwplayer:captions>http://kate.joopvanduin.captiv8beta.co.uk/files/documents/162.xml</jwplayer:captions>
      <jwplayer:type>rtmp</jwplayer:type>
      <jwplayer:audiodescription.file>http://kate.joopvanduin.captiv8beta.co.uk/files/documents/audiodescription.mp3</jwplayer:audiodescription.file>
    </item>
  </channel>
</rss>

From: http://livedocs.adobe.com/flex/201/langref/flash/external/ExternalInterface.html

Note: When embedding SWF files within an HTML page,
      make sure that the id and name attributes
      of the <object> and <embed> tags
      do not include characters such as: . (period), -, +, *, /, and \.

Sorry, should have known that, all content is protected.

Thanks for your suggestions, I will have a play around.

Many thanks

Hi hobbs

Nothing seems to work.

If I run everything locally on my pc it runs like a train. Same files, same adobe streaming server 3.5

It seems that when I'm running it over the web, during buffering the captions get messed up, either disappear or flicker.

Any ideas left?

Hi

Still looking at this problem.

I'm sure it has something to do with the buffering because:

1) When I play the animation locally with same FMS Streaming Server it runs fine, captions are shown and don't flicker and I don't have to click the cc button twice.

2) When using the online version, and changing the settings from streaming to progressive download, the first time I play the animation the captions is behaving in the same weird way as when streaming. BUT when I play the animation again (the flv file has been downloaded and is in the browsers cache) the captions are fine!!!!

It is a buffering related issue. When the player is buffering the captions are messed up.

Any ideas?

Hi

By the way, the caption problems appear on the jw site as well.

http://www.longtailvideo.com/addons/plugins/84/Captions

If you play this video for the first time (clear your cache) there is a lot of buffering (I have a slow internet connection) and the captions do not appear or just for a moment.

After having the video in my browsers cache it is fine.

Regards
Joop

Works fine for me.

Hi Zach

Nice to know it works for you, but why doesn't it work for me?

Did you test it under the same conditions as I did? A little bit more detail might be helpful to me.

Thank you!

Hi Joop,

Can you describe your system a bit more? Are you on a Mac or PC? What version of Flash are you using? What browser?

Best,

Zach