Problem/Motivation

Ableplayer Audio does not show captions.

Steps to reproduce

Drupal version: 9.5.3
Install Ableplayer (3.0.0-alpha)

Set the field formatter for media display to be Ableplayer Audio.
Upload an audio file and transcript (Ableplayer Media Caption field). The Transcript does not show!

(Video file and transcript show as expected).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Natkeeran created an issue. See original summary.

themusician’s picture

Thank you for the feedback. I believe the plugin that handles captions will either need to be extended for audio file output or updated.

themusician’s picture

I made some progress on this.

The audio plugin code has not been looked at for some time so there was some necessary cleanup.

It now knows about captions but does not show the output in the caption window. I am not sure why at this point in time. No errors are being thrown.

Able Player audio with an open caption window, but no words are in the caption output

If someone is trying to recreate this on a fresh install, the code does not make Able Player the default audio player upon install. To do that go to admin/structure/media/manage/audio/display and select Able Player Audio as the formatter.

I also noticed, and this could be a 10.x quirk, that the Able Player Caption media type has the file field disabled upon a fresh install. To fix that, go to /admin/structure/media/manage/able_player_caption/form-display and drag or move via weight the file filed into the display section.

Clone the work in progress branch if you would like to try it out. It should work on 9.x core as well.
https://git.drupalcode.org/project/ableplayer/-/tree/bronsem/3340900

themusician’s picture

Status: Active » Fixed

This is fixed in the alpha6 version released.

natkeeran’s picture

Yes, fixed thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.