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

Option to open videos in a custom web view window to override CSS #5

Open
agentcooper opened this issue Jun 21, 2022 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@agentcooper
Copy link
Owner

A new option should be added to Open videos select in Preferences.

The goal is to allow blocking various distractions like related videos when the video is paused or finished.

It can be achieved with a custom web view window with some injected CSS. An option to modify that CSS should be added to Preferences as well.

Screenshot 2022-06-21 at 13 48 00

Screenshot 2022-06-21 at 13 49 54

These can be blocked with:

.ytp-pause-overlay {
  display: none !important;
}

.videowall-endscreen {
  display: none !important;
}
@agentcooper agentcooper added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jun 21, 2022
@jacksongoode
Copy link

Is it possible to open the video within a webview in the app itself? Another alternative would be to pass the url to open video a user-specified command to an app like iina '<url>. This would be a quick solution to avoiding opening a web browser.

@agentcooper
Copy link
Owner Author

@jacksongoode Web view option is not available yet. However you can already use a custom URL to open in IINA, see #7 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants