Ableplayer Audio does not show captions

Created on 10 February 2023, almost 2 years ago
Updated 28 March 2023, over 1 year ago

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

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Natkeeran

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Natkeeran
  • πŸ‡ΊπŸ‡ΈUnited States theMusician

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

  • πŸ‡ΊπŸ‡ΈUnited States theMusician

    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.

    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

  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States theMusician

    This is fixed in the alpha6 version released.

  • πŸ‡¨πŸ‡¦Canada Natkeeran

    Yes, fixed thanks.

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

Production build 0.71.5 2024