-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Start video if clicking timestamp in description #627
Comments
What about the following patch? diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr
index e060fe4..217963f 100644
--- a/src/invidious/comments.cr
+++ b/src/invidious/comments.cr
@@ -482,7 +482,7 @@ def replace_links(html)
end
anchor["href"] = "javascript:void(0)"
- anchor["onclick"] = "player.currentTime(#{length_seconds})"
+ anchor["onclick"] = "player.currentTime(#{length_seconds}); player.play();"
end
end
|
LGTM, mind opening a PR? |
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked. |
Stale yourself, bot! This is a good suggestion. As far as I can see, on my iPhone X, the video plays after every time stamp I click in the description box. Should this issue be closed? |
I'm not sure what OP means.
|
This issue has been automatically marked as stale and will be closed in 30 days because it has not had recent activity and is much likely outdated. If you think this issue is still relevant and applicable, you just have to post a comment and it will be unmarked. |
Stale yourself again, bot! |
If clicking a timestamp in description the video does not start and I thought something is broken. I had to click the timestamp in description and than the play button.
I think it makes sense that the video starts automatically after clicking the timestamp.
Example: https://invidio.us/watch?v=tBiPumGnVT4
The text was updated successfully, but these errors were encountered: