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

add option/button to copy video id in video page and playlists #2652

Open
junguler opened this issue Nov 3, 2024 · 12 comments
Open

add option/button to copy video id in video page and playlists #2652

junguler opened this issue Nov 3, 2024 · 12 comments
Assignees
Labels
Completion to revise (rethink, improve, tweak) (this feature or structure) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥

Comments

@junguler
Copy link

junguler commented Nov 3, 2024

PROBLEM:
as you know youtube videos in a playlist, be it our own watch_later playlist or others have some extra junk added to them which makes linking them to other websites or downloading a bunch of them a pain

SOLUTION:
add button to copy video id in video page and playlist pages

ALTERNATIVES:
nothing i can think of

RELEVANCE / SCOPE:
this would help achievers and people like me who have low internet speeds be able to quickly get a list of ids ready to download via yt-dlp or other programs

"SIDE EFFECTS":
not sure if this would negatively affect anyone

CONTEXT:
no other context

SHORT Table (Summary)
Problem not having an option to copy video id
Solution adding the button or option to do so
Scope achievers - people with low speed internet
@junguler junguler added Feature request Wish or idea good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥ labels Nov 3, 2024
@hychanbn1009
Copy link
Contributor

Hi @junguler ,I would like to clarify the requirement. You want a button below the player and copy the video id?
For the play list, you want to copy the playlist id? or just return video id of current video? Thank you!

image

@junguler
Copy link
Author

junguler commented Nov 8, 2024

You want a button below the player and copy the video id?

yes

For the play list, you want to copy the playlist id? or just return video id of current video?

for playlists i want a button beside the 3 dots in every video in a list to copy individual video id, something like this

Untitled

@hychanbn1009
Copy link
Contributor

May I work on this issue? Also I would like to know which icon should I use for this function? I saw other icon using svg. Any suggestion or standard on the svg icon?

@hychanbn1009
Copy link
Contributor

Hi, I just want to update the process of the copy video button. Below is the copy video button below the player and it can turn off/on in the menu. When i clicked the button, the video id will be copied to my clipboard example: KoFSQeOAYz4
image

Playlist copy video button is similar. When you clicked the button, it will extract the video id for that individual video. Below is the photos.
image
image

@junguler how do you think?

@junguler
Copy link
Author

this is exactly what i want, amazing work

just one question, does this feature appear in https://www.youtube.com/playlist?list=WL and other people's playlists too?

as an aside note do you think is it possible to automatically insert a space after the id, so i could just paste them one by one inside the terminal or a text file without needing to space manually?

@hychanbn1009
Copy link
Contributor

this is exactly what i want, amazing work

just one question, does this feature appear in https://www.youtube.com/playlist?list=WL and other people's playlists too?

as an aside note do you think is it possible to automatically insert a space after the id, so i could just paste them one by one inside the terminal or a text file without needing to space manually?

Yes, for this feature, it will apply when the url contain list=
It can insert a space after the video ID. However, this may confuse other users who only want the video ID. If you want a list of video IDs in the playlist, creating a new button is a better idea.

@junguler
Copy link
Author

i understand your reasoning and i agree, no i don't think any extra feature is necessary

i think i will have to find a solution on my own about that issue since it's so niche

thanks again i hope to see you make this a pull request and eventually merge it

hychanbn1009 added a commit to hychanbn1009/youtube that referenced this issue Dec 6, 2024
ImprovedTube added a commit that referenced this issue Dec 6, 2024
@ImprovedTube
Copy link
Member

hi! @junguler

some extra junk added to them which makes linking them to other websites or downloading a bunch of them a pain

v=videoID list= listID index=_ pp= ______
the downloading or publishing software should be able to clean /process the needed ID only.
(or that could be a personal automation / workflow regex )
Or another, global extension to shorten URLs, when copy pasting, removing any unnecessary or private parameter. - So if i had read this earlier i might have moved it accordingly. Compare: code-charity/Wish-Factory#11 (makes sense?)

as an aside note do you think is it possible to automatically insert a space after the id, so i could just paste them one by one inside the terminal or a text file without needing to space manually?

the other playlist type which is a list of video ids?

a(r)chievers - people with low speed internet

the slower the internet, the greater achievements 🤫

@ImprovedTube
Copy link
Member

btw, sorry @junguler @hychanbn1009 , that we merged and accepted this even it is enabled by default like the other 3 buttons there. (This was my task to see and/or maybe you guys almost noticed /consider that? why or why not?)
(it shouldn't be on by default since not many percent of our users will use it often)
(but so by now it got tested enough million of times already! #2750)

(Also unfortunately the space of the 3 buttons enabled by default is limited and we should make it nicer on small screens. While a majority of people might appreciate all three (screenshot, repeat & pip), only screenshot is unique (loop and pip are available per right click anyways) - so we could/should adjust this too anytime.

@junguler
Copy link
Author

v=videoID list= listID index=_ pp= ______ the downloading or publishing software should be able to clean /process the needed ID only. (or that could be a personal automation / workflow regex ) Or another, global extension to shorten URLs, when copy pasting, removing any unnecessary or private parameter. - So if i had read this earlier i might have moved it accordingly. Compare: code-charity/Wish-Factory#11 (makes sense?)

hello @ImprovedTube, my reasoning for wanting something like this in my browser is that i work with a short terminal window (11 lines at most) and when wanting to download a list of more than say 10 or so links it'll scroll and bug out my fish shell, but if it's shortened it fits without any issues

i understand what i want is too niche, most people won't have this issue

the other playlist type which is a list of video ids?

i want to copy individual video ids but with an extra space at the end of it so i just ctrl+v links one by one quickly so "m4lsso3rcao" becomes "m4lsso3rcao "

the slower the internet, the greater achievements 🤫

oh i agree, i never let it win

btw, sorry @junguler @hychanbn1009 , that we merged and accepted this even it is enabled by default like the other 3 buttons there. (This was my task to see and/or maybe you guys almost noticed /consider that? why or why not?) (it shouldn't be on by default since not many percent of our users will use it often) (but so by now it got tested enough million of times already! #2750)

oh you won't get any push back from me, i like this feature but i noticed it isn't present in the watch later playlist page? honestly i didn't have the time to notice it because i usually only go to youtube for a one extended session rather than opening it several times during the day

i too agree that its better for it to not be on by default since most people set and forget and don't usually tinker

(Also unfortunately the space of the 3 buttons enabled by default is limited and we should make it nicer on small screens. While a majority of people might appreciate all three (screenshot, repeat & pip), only screenshot is unique (loop and pip are available per right click anyways) - so we could/should adjust this too anytime.

i agree with your reasoning as well specially since i watch youtube at 133% zoom and the section under the video player is way too crowded as it is

i'm perfectly happy with any decision and direction you want to take this issue in, i'm just one guy but you have to look at the big picture and decide on features for everyone who uses this extension

@ImprovedTube ImprovedTube added Completion to revise (rethink, improve, tweak) (this feature or structure) and removed Feature request Wish or idea labels Dec 31, 2024
@ImprovedTube
Copy link
Member

hi @junguler terminal can be unlimited, can't?

i'm just one guy but you have to look at the big picture and decide on features for everyone who uses this extension

Yes the more users, the more perfectionism can be rationally applied.
So it is compelling to wonder what the three of us could have done greater already in this little mission (five if you
count the feature request and AI). - By recency @hychanbn1009 might be one of the most likely persons in the world to think of these buttons again or all three of us. - Even if your use-case isn't common, this simple feature could makes sense in more situations, might be worth /fun to think about, sum up, finish, add a short cut key option. - Or if not this one, then maybe the next one.

While our kind of public mission is often neglected #1881 and unfunded. Open source funds might invest in frameworks for developers only, but not products for everyone and especially not yet in brave situations like our's (working with no API, making maintenance more frustrating at times)
🤔

@junguler
Copy link
Author

yes, couldn't agree more with what you said, what's ironic is the big guy who used to be a little guy now doesn't want to cater to us little guys, it's so frustrating to see how money and fame corrupts people but it's a story as old as time itself

the sad thing is even if that judge manages to turn google to a bunch of little googles they all will eventually turn back to big googles and make life even worse for us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completion to revise (rethink, improve, tweak) (this feature or structure) good first issue A GitHub standard for inviting (new) contributors *Congratulations in advance!* help wanted Just an old github standard we add automatically. (The team can remove it when working on it.) up-for-grabs (a github standard for inviting new contributors) - Welcome! ♥
Projects
Status: No status
Development

No branches or pull requests

3 participants