vime
vime copied to clipboard
Hiding the 'more videos' in youtube?
I'm unsure if this is out of scope for what Vime is aiming for here, but having an option to remove the 'more videos' like we would if we were embedding manually would be great. I know Youtube keeps changing the rules and making this more difficult to do.
I don't think there's an option to remove more videos anymore? I know it sucks and I tried a lot but couldn't remove it.
https://developers.google.com/youtube/player_parameters#rel
ref - https://www.maxlaumeister.com/articles/hide-related-videos-in-youtube-embeds/
Okay I think we can have an option like hideMoreVideos
on vime-youtube
, and it'll place the poster over the video at the end. I'm not too sure about the black box when you pause feels odd, maybe some other idea to block the more videos popup.
I think the option to either use the poster image or cover the entire thing with a blank coloured box would be very useful. It's not the perfect solution, but it's so much better than those videos being visible.
Hi, it looks like this is still an issue. When using the <Embed> object in Svelte, I can pass params={{rel: 0}}
and it hides the black video bar when pausing and the videos at the end properly. I can't seem to pass params to the <Youtube> object though, it's not a property.
I also needed this functionality so I added a PR to expose params to youtube to fix this issue: https://github.com/vime-js/vime/pull/383