Skip to content

text-track-display position is wrong when no control bar #7681

Closed

Description

Description

The vjs-text-track-display is moved up whenever there is user interaction or when playback is paused, so that it's not obscured by the control bar. This functionality should not be enabled when the controls are disabled.

Steps to reproduce

  1. Edit sandbox/index.html and remove the line control
  2. Open the example in a browser, and enter the following in the console:
player.textTracks()[0].mode="showing"
player.play()
  1. Move the mouse over the video. Observe the text track position
  2. Stop moving the mouse, or move it outside the video. Observe the text track position

Results

Expected

The position of the bottom of the text track display should be consistent.

Actual

When the mouse is moving over the video (or when the video is paused) the text track display is higher.

Additional Information

versions

videojs

v7.18.1 but presumably others

browsers

Chrome, Safari

OSes

Windows, Android, iOS, MacOs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions