]> cat aescling's git repositories - mastodon.git/commit
Fix expanded video player issues (#13541)
authorThibG <thib@sitedethib.com>
Sat, 25 Apr 2020 10:16:05 +0000 (12:16 +0200)
committerGitHub <noreply@github.com>
Sat, 25 Apr 2020 10:16:05 +0000 (12:16 +0200)
commitc955f98d36868e85b0f1939a3a1c58c00babd4e8
treeeffaf743cd9f3d552b8754694369bafdcb596e3d
parent46b2cc184fab294f540b3cc1ffa3d9e6ac2c9fbf
Fix expanded video player issues (#13541)

Fixes #13536

- Expanding a paused video doesn't autoplay anymore
- Default volume level for the expanded video inherited from the original video

Position/playing state/volume are carried over from the original video player
to the modal, but they're not reported back to the modal as it would require
deeper changes.
app/javascript/mastodon/components/status.js
app/javascript/mastodon/containers/status_container.js
app/javascript/mastodon/features/status/components/detailed_status.js
app/javascript/mastodon/features/status/containers/detailed_status_container.js
app/javascript/mastodon/features/status/index.js
app/javascript/mastodon/features/ui/components/video_modal.js
app/javascript/mastodon/features/video/index.js