Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX: Style video elements, show descriptions #10040

Merged
merged 1 commit into from Jun 17, 2020
Merged

Conversation

CvX
Copy link
Contributor

@CvX CvX commented Jun 14, 2020

It's a stop gap – ideally we would generate a thumbnail for uploaded videos. For now, a bit of intentionality in the style and a pinch of context should do:

Before/after

light-before light-after
dark-before dark-after

@CvX CvX merged commit 7d289a4 into master Jun 17, 2020
@CvX CvX deleted the video-element-styling branch June 17, 2020 10:38
CvX added a commit that referenced this pull request Jul 17, 2020
This reverts commit 7d289a4.

Now that 36bad0c is in, and we have video previews on all platforms, the commit that's being reverted is no longer needed. In worst case scenario the video description is clipped under the video poster, if the video aspect ratio is other than 16:9. This commit removes descriptions and the custom style for the video elements.

# Conflicts:
#	app/assets/javascripts/pretty-text/addon/engines/discourse-markdown-it.js
#	test/javascripts/lib/pretty-text-test.js
CvX added a commit that referenced this pull request Jul 17, 2020
This reverts commit 7d289a4.

Now that 36bad0c is in and we have video previews on all platforms, the commit that's being reverted is no longer needed. In the worst case scenario, the video description is clipped under the video poster if the video aspect ratio is other than 16:9. This commit removes descriptions and the custom style for the video elements.

# Conflicts:
#	app/assets/javascripts/pretty-text/addon/engines/discourse-markdown-it.js
#	test/javascripts/lib/pretty-text-test.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants