Go
Not registered? Sign up!

Have to hit captions button

Google Translate
12 posts | return to the Plugins forum | get the rss feed for this thread

Oct. 19, 2009Joop van Duin

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

Oct. 19, 2009hobbs

try this
sa.addVariable('captions.file', '/files/documents/1275.xml');

Oct. 19, 2009Joop van Duin

Hi

Also the image is not showing, see http://eyetech.optometrists.captiv8online.com/animations/show/clear-vision-for-all-distances

Joop

Oct. 19, 2009Joop van Duin

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

Oct. 19, 2009hobbs

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

Oct. 19, 2009Joop van Duin

hobbs,

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

Nov. 03, 2009Joop van Duin

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

Nov. 03, 2009hobbs

 
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 \.

Nov. 04, 2009Joop

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

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

Many thanks

Nov. 04, 2009Joop

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?

Nov. 19, 2009Joop van Duin

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?

Nov. 19, 2009Joop van Duin

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

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.