stamat / youtube-background

ESM / jQuery plugin for creating video backgrounds from YouTube, Vimeo or video file links.
https://stamat.github.io/youtube-background/
MIT License
176 stars 54 forks source link

"explore video" pops up when the video is paused. #63

Closed haikal-shah closed 8 months ago

haikal-shah commented 8 months ago

Referring to the image below; when I paused the video player, the "explore video" tab popped up at the bottom of the screen. Is there a way to disable it?

Thank you for taking your time to read this.

image

stamat commented 8 months ago

Hey bud @haikal-shah ✨ Unfortunately we cannot disable this since Sept 2018... as mentioned in this changelog https://developers.google.com/youtube/player_parameters#release_notes_08_23_2018

We do pass rel=0 and showinfo=0 query parameters, but like this changelog says, they are not effective anymore.

You can either zoom the iframe so the recommended videos will appear under the fold via css, or when the video is paused you can add a linear gradient form the bottom of the video to cover them lol, or you can upload the video via vimeo or host it by yourself as an mp4.

Basically this small package was intended to be used as a looping background (in this case the recommended videos will never appear since it loops. But the community requested extra player features, so that's why the extensive capabilities.

Hope this helps ☺️ Thanks for using this package, it means a lot!

haikal-shah commented 8 months ago

Hello @stamat

Thank you very much for taking the time to read and respond to the thread. As someone who's new to the programming world, I really appreciate the warm welcoming message for using the package, especially since it's my first issue thread haha.

You've earned a new follower! I will close the thread and hope to see you again πŸ‘‹

stamat commented 8 months ago

@haikal-shah welcome to the programming world! My advice would be that you never give up! When things seem hard know that everything has a reason and that everything is solvable!

May our paths cross again! Best of luck friend! πŸ‘‹ ✨