Skip to content

Fix overwriting style of extended-video-player#4237

Merged
Gargron merged 1 commit intomastodon:masterfrom
lynlynlynx:fix-video-player
Jul 17, 2017
Merged

Fix overwriting style of extended-video-player#4237
Gargron merged 1 commit intomastodon:masterfrom
lynlynlynx:fix-video-player

Conversation

@lynlynlynx
Copy link
Copy Markdown
Contributor

Though size of extended-video-player is already fixed to 80vw*80vh in components.scss, player size was also set to original video size in extended_video_player.js.
Video size is fixed to 80vw*80vh, so video player's size must also be fixed to 80vw*80vh.

Thank you for your reporting bug @sorin-davidoi on #4220 .
I was not aware about it, because this bug occurred only when video is posted to its own instance. I only checked videos from another instance.

Though size of extended-video-player is already fixed to 80vw*80vh in components.scss, player size was also set to original video size in extended_video_player.js. Video size is fixed to 80vw*80vh, so video player's size must also be fixed to 80vw*80vh.
@Gargron Gargron merged commit 681c33d into mastodon:master Jul 17, 2017
@lynlynlynx lynlynlynx deleted the fix-video-player branch July 17, 2017 17:23
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