I will add more details to this issue later. This came out of the accessibility BOF as a big issue.

Comments

Anonymous’s picture

Each video hosting company deals with captions differently, but to begin with, perhaps adding additional field options like a checkbox for users to indicate captions are available.

mgifford’s picture

+1 Looking forward to being able to either indicate if they are available through the video hosting company or put a link to the text file of the transcript if it isn't.

Which web hosting companies (other than Youtube) offer some support for captioning and are also supported by the Media module?

Mike

Hanno’s picture

Version: » 7.x-1.x-dev

Closed caption is provided in a separate file (format Text Track, RealText or SAMI). Maybe we can start with adding a filefield for closed caption accepting these formats?

Hanno’s picture

A better solution (a cck text field, so that users don't have to edit a file) is provided here: http://developmentseed.org/blog/2008/jun/17/editing-multilingual-video-c...

Hanno’s picture

Status: Active » Closed (duplicate)

Ah, there is recently a module launched aiming to provide an API for closed captions: http://drupal.org/project/media_captions
Mark this issue as closed (duplicate) as the closed captions issues can now be handled in that particular project.

mgifford’s picture

Would be great if there were D7 versions of http://drupal.org/project/media_universalsubtitles & http://drupal.org/project/media_captions

I'd like accessibility to be boiled in by default rather than an extra you have to seek out and download. So hopefully when there are D7 versions of these modules they are at least featured from the Media module page.

coderintherye’s picture

So is it pretty much decided then that any effort spent here would be better spent on getting a 7.x. version of media_captions?

Hanno’s picture

@nowarninglabel not sure, but as both modules are maintained by @aaron, I suppose he has the idea to use the media_captions module for this functionality, also in D7. @aaron, is that correct?

Hanno’s picture

Status: Closed (duplicate) » Needs work

changed this to needs work as for now there is no clarity on the question raised by @nowarninglabel if captions should be handled by a media_captions module for D7 or integrated in the media module.

Dave Reid’s picture

Status: Needs work » Closed (duplicate)

They should be handled as a separate project.

mgifford’s picture

Ultimately it is the project maintainers who need to decide this.

In general I'm not in favour of pushing out accessibility features into a separate module. Perhaps it could be a sub-module. It's just if it's a whole separate but related project then it's just not going to be used by the community as a whole.

Making a sub-module to make it easy for people who use the Media module to add in captioning would be useful for everyone. I'd hope it's just a matter of finding the resources to develop this.

If the existing maintainers don't have time to do this (which is completely understandable) I would hope there would be interest in a patch if it is developed.

I'm leaving this as a duplicate for now, but wanted to add this reservation.

coderintherye’s picture

At BADCamp, Dave gave some indication that he may be willing to re-evaluate having media captions live under the Media module.

It also looks like a 6.x release of http://drupal.org/project/media_captions is coming along. Maybe creating a 7.x sandbox and trying to keep it in synch with the Media 7.x release would be encouraging to the module maintainers for getting it into the main module itself?

babusaheb.vikas’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

Actually for close captioning we dont need to use the caption module.

Here is how i made it work .

Created 3 file field. 1 for flv upload , 2nd for image upload, 3rd for caption upload. Right click and get the url and put the flasvars in jw player.

Now create a content and upload your media file, default image, caption file ( .SRT format) . We should use .srt for captioning purpose in JWPLAYER.

Now put this tag in body field of that node .

[jwplayer
|config=sample
|file=URL OF your flash file (.flv or .mp4)
|image=http://localhost/transcript1/sites/default/files/Penguins_0.jpg
|backcolor=000066
|frontcolor=3333FF
|lightcolor=FFCC00
|captions.file=URL of your caption file in .srt format]

Mind the captions.file flashvar . It will show you the caption while video plays. you can get more help on the http://www.longtailvideo.com/ regarding JW flash vars.

Here is small snapshot of the .srt file i used. It must be in this format.
1
00:00:08,000 --> 00:00:10,000
- Nothing is going on.
2
00:00:10,500 --> 00:00:12,500
You liar!
3
00:00:13,500 --> 00:00:15,000
Are you?

Hanno’s picture

Thanks for sharing this.

Some reasons for having it in the module or as a special field:
- it would be great to have the text in a text field with a (special) editor, for revisioning, translation and workflow
- special caption handling for the search index, and search results
- a video might have captions for several languages
- there are several file formats to export the captions to (html5 uses webtt, iOs uses SMIL)