• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

How to enable Closed Captions in OSMF 2.0 player using CaptioningPlugin.swf

Guest
Apr 04, 2014 Apr 04, 2014

Copy link to clipboard

Copied

Is this the proper way to use the captioningplugin.swf?

Friday, April 04, 2014 3:03 PM

Example of player with captioningplugin.swf but it does not work.

http://www.csus.edu/cached/PA-Video/strobeplayer.html

If we set

 <GenerateCCInfo>true</GenerateCCInfo> in Server.xml and use plugin_captioning=http://www2.csus.edu/video/assets/players/10.1/plugins/CaptioningPlugin.swf


with the the following markup will Closed Captions work with OSMF 2. player

<!-- System Region DEFAULT (must exist) --> <div class="completelyhidden" id="mediaDir">pa</div><div class="completelyhidden" id="filename"></div><div class="completelyhidden" id="youtube_source">sacstate_videoplayer</div>

<div class="completelyhidden" id="billboard"></div><div class="completelyhidden" id="captionFile"></div>

<div class="ss-videoplayer-container" id="ss_videoplayer_container"><header><h1>Education Fair Geared to Latino Community</h1></header>

<div class="ss-videoplayer backdrop" id="videoplayer_backdrop">

<script type="text/javascript"> swfobject.registerObject("sacstate_video", "10.1.0", "http://www2.csus.edu/video/assets/players/10.1/scripts/expressInstall.swf"); </script>

<div id="strobeplayer"><object height="360" id="sacstate_video" width="640"><param name="movie" value="http://www2.csus.edu/video/assets/players/StrobeMediaPlayback.swf?src=http://video2.csus.edu/hds-vod..."/>

<param name="allowFullScreen" value="true"/><param name="hasCaptions" value="true"/><object data="http://www2.csus.edu/video/assets/players/StrobeMediaPlayback.swf?src=http://video2.csus.edu/vod/prj..." height="360" type="application/x-shockwave-flash" width="640"><param name="allowFullScreen" value="true"/><param name="hasCaptions" value="true"/>

<div><p><video controls="controls" height="360" id="sacstate_video_html5" poster="http://www.csus.edu/cached/PA-Video/video/Es_El_Momento_20130824/Es_El_Momento_20130824.jpg" width="640">

<source src="http://video2.csus.edu/hls-vod/prj/disted/ams_web_archive/2013/ANTH0001/Es_El_Momento_20130824_M.m3u..."/>

<source src="http://www2.csus.edu/video/assets/ams_setting_check.m4v"/> Your browser does not support Flash Player 10.1 or the HTML5 video element.  </video></p></div></object></object></div>

<div id="sacstate_videoplayer"></div></div></div>

Views

471

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 07, 2014 Apr 07, 2014

Copy link to clipboard

Copied

LATEST

I MHO, this is adobe media server forum for player issues you will have to post to some other forum.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines