-
Notifications
You must be signed in to change notification settings - Fork 68
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
Experimental support for video player #1081
Conversation
Here's a post I came across recently that could help with testing! |
I know this is in draft at the moment, but I'd like to just chime in that there is the option to only add partial support for videos in this PR! We can extend video player functionality in future PRs to support edge cases 😊 Additionally, I'm not sure if you've noticed, but I've added an extra type to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, I just wanted to say, this is super awesome, nice work! I especially love all the new settings! I think this is going to be a big hit.
I left some comments on the code, and I also had some overall thoughts after testing.
- It seems like the preview of videos with no image from Lemmy are completely blank. I think we should at least have some icon to stand in, like the web icon for URLs with no preview. However, now that we have an in-app video player, we can use a video icon instead of the globe icon.
- Some videos like this one never play. If there's an easy way to figure out which videos we support and which ones we don't, we can show the latter ones in the browser.
- From your demo, it looks like some videos play with a white background. Is there any way to make that black?
Resolved.
Resolved
At the moment , I have no way of checking for this. |
Once again, thanks for working on this! I'll be testing it out over the next few days to see if I can find any issues running it. I'll do a code review of it once I've tested it out 😄 |
Just did some quick testing on this and there are a couple of things I'd like to adjust, but they might be better suited for separate PRs given that this one is already quite large! What are your thoughts on merging this in first, and then applying additional PRs in the future? @micahmo |
I guess it depends on what you had in mind (whether the user experience will be poor without your suggestions, or whether they're more like enhancements). I think it also depends on whether you're planning a full release soon. But I'm totally fine with getting this in now. 😊 |
The main thing I had in mind was to adjust the logic to work alongside
I did a quick code review and I think the core implementation of the video player (video player widgets, video settings, etc.) are good, so there shouldn't be many changes coming from there! Thanks again for implementing all those settings, especially for the first implementation 😁 And of course, @ggichure feel free to let me know if you'd prefer to work on my proposed changes (in which case, I can go into some more details about them) 😅
I'd like to get initial/experimental video support in for the next full release, but I don't have a timeline for when the full release will be. I don't think there is a rush to get a full release soon either since the current version should already be compatible with Lemmy 0.19.4! |
Agreed on all points! 😊 |
@hjiangsu ,Sure, do go ahead with the proposed changes. |
BTW, since this PR introduces new settings, keep in mind it'll have conflicts with #1348. I don't really care which ones goes first. 😊 |
I'll go ahead and merge this in first! |
Pull Request Description
mp4,mov
etcIssue Being Fixed
Issue Number: #383
Screenshots / Recordings
video_player.mov
Checklist
semanticLabel
s where applicable for accessibility?