Skip to content

Conversation

@tf
Copy link
Member

@tf tf commented Oct 20, 2020

REDMINE-17746, REDMINE-17677

@tf tf mentioned this pull request Oct 20, 2020
@coveralls
Copy link

coveralls commented Oct 20, 2020

Coverage Status

Coverage remained the same at 99.193% when pulling 7568fcd on tf:player-controls-changes into 73f43a2 on codevise:master.

@tf tf force-pushed the player-controls-changes branch 2 times, most recently from 562111f to 69e5bb3 Compare October 22, 2020 10:56
tf added 6 commits October 26, 2020 09:05
Fix text tracks position accordingly.

REDMINE-17746
* Display big play button on poster when the element has not yet
  played. Return to unplayed state on end.

* Allow passing `via` option to player actions to store whether the
  player was played or paused via the play/pause button. That way we
  can display the animated play and pause icons on the video/poster
  when the element autoplays/autopauses or the poster is clicked. When
  clicking play/pause button, displaying the icons seems redundant.

REDMINE-17746
* Display time and text tracks menu on poster and aligned to the right
  to match inset position of classic controls.

* Keep big play/pause button which now resembled big button on classic
  poster.

* Display bar background only in stand alone mode.

REDMINE-17746, REDMINE-17677
Pulling file lookup up into the content element lets us use the poster
file instead of the id to determine whether audio controls are in
stand alone mode. This ensures the mode is set correctly, when an
image file is deleted from the entry: The id might still be present in
the configuration, but the file itself can no longer be looked up.

Already before, we started moving towards passing file objects instead
of ids for the actual audio and video files. So this change makes
things more consistent.

REDMINE-17746
So far `playBlessed` action only unmuted the first time it is
dispatched. This made it impossible to pause players by clicking the
poster since clicking the poster always tried to unmute by dispatching
`playBlessed`. Before the introduction of the mute/unmute button, this
could not happen since there was no way to mute the entry again.

REDMINE-17746
@tf tf force-pushed the player-controls-changes branch from b3a3391 to 7568fcd Compare October 26, 2020 08:07
@tf tf added this to the v15.4 milestone Oct 26, 2020
@tf tf changed the title [WIP] Player controls changes Player controls changes Oct 26, 2020
@tf tf merged commit 78be38e into codevise:master Oct 26, 2020
@tf tf deleted the player-controls-changes branch October 26, 2020 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants