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

Integrated autoplay button in video player #4335

Closed
wants to merge 10 commits into from

Conversation

ubello64
Copy link

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

#1181

Description

Adds a button that toggles Auto Play when in player mode, shows shortcut on hover

Screenshots

screengrab_ft

Testing

Tested functionality in full window and regular to ensure next video played

Desktop

Ubuntu 22.04.3 LTS
FreeTube version: 0.19.1

Additional context

This line in videoJS.css caused FreeTube to crash today, unsure of why this is
thiscausedft_tocrash

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 14, 2023 20:20
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 14, 2023

.video-js .vjs-play-control .vjs-icon-placeholder {
/*
.video-js .vjs-play-control .vjs-icon-placeholder {spinner
Copy link
Member

@ChunkyProgrammer ChunkyProgrammer Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it crashing because of the added "spinner"?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry just caught that extra reference to 'spinner' that shouldn't be there - FreeTube is now fine

auto-merge was automatically disabled November 14, 2023 20:44

Head branch was pushed to by a user without write access

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 14, 2023 20:44
@PikachuEXE
Copy link
Collaborator

I suggest you to use a different branch name next time
gh pr checkout 4335 will try to switch to development but can't checkout easily :S

@PikachuEXE
Copy link
Collaborator

Strange focus style (happens after click, not related to autoplay enable state)
image

I could not tell from that button whether autoplay is enabled or not
image

}
.vjs-icon-spinner:before {
content: "\f10b";
}
.vjs-button > .vjs-icon-spinner:before {
font-size: 1.66666666667em;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor indent issue but you should use an editor/update the editor you are using to read and enforce rules in https://github.com/FreeTubeApp/FreeTube/blob/development/.editorconfig file
See https://editorconfig.org

Suggested change
font-size: 1.66666666667em;
font-size: 1.66666666667em;

@ubello64
Copy link
Author

Closing pull request - don't want to cause potential merge conflict. Feature also does not help end user determine whether or not if Auto play is on. Will open another pull request when the main issue is resolved

@ubello64 ubello64 closed this Nov 16, 2023
auto-merge was automatically disabled November 16, 2023 19:50

Pull request was closed

@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 16, 2023
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.

3 participants