Hello,
When I put the MP4 video link as background nothing happens
I would like to know which link works to put an animated background
Hi, sorry you are having a problem with nightTab. Can you provide a few more details please:
URL: https://www.youtube.com/watch?v=Gv2ynaXDuOQ
Parameter> Background> Visual> Video> URL
Chrome: Version 90.0.4430.93 (Official build) (64 bits)
Windows
Thanks for those extra details. I'm afraid youtube videos can't be used as backgrounds. That URL is the address to a youtube _page_. I'm afraid nightTab only supports direct links to MP4 files, eg: https://pixabay.com/videos/download/video-40581_large.mp4
Hi, I found a way that you can make this work, but it's a 'hack-around' and requires VLC. I tested it myself.
I found a forum discussion to get the direct URL from a Youtube video. Here are the steps to follow:
Link to the actual discussion:
https://webapps.stackexchange.com/questions/47465/how-to-obtain-the-direct-link-to-a-youtube-video-file
Great find @Marcelx8! I think you just cracked it.
I think I hit a problem with my helper function not working well with the URL when using the method you found. But I might be able to change the way the src attribute is added to the background element to make this work.
I'll see what I can do.
Alternatively, a local file server can be set up that could contain all the backgrounds, images, icons, and other stuff you would like to use, I was able to download the provided video, and put it on an IIS server. Of course, this method requires a lot of setup and it's not exactly simple, just putting it out there, though.
@zombieFox I'm glad this helped. :)
@Dawid8plc you are right. Maybe even have a local folder location selectable to read images and videos from. Almost how a gallery would display the contents of the directory. I guess this topic now extends to adding new features 馃槃
Being able to use files from the drive would indeed be a really useful feature, although not sure if Chrome Extensions can access folders like that.
This has been asked before in other posts, (I'm too lazy to dig them out right now). But the tl;dr is because nightTab does not store user data (to a database or an account) it stores bookmarks and theme settings in the browsers local storage. So the space is very limited.
The background image feature which I added allows a user to search for a local file. That is as much as an extension can do, open local files but not access whole directories. (And in retrospect allowing users to access local images for the background has caused issues with hitting the max space in local storage [along with a few other issues]. Hosting is really the safer option.)
@Dawid8plc suggestion is what I have been recommending in other posts, users who want more videos or images have to host them somewhere. Then link to individual files with URLs. But this requires end users to do some set up on something like a private GitHub repo, or Imgur.
@zombieFox
Interesting, and thank you for your time to explain.
Most helpful comment
This has been asked before in other posts, (I'm too lazy to dig them out right now). But the tl;dr is because nightTab does not store user data (to a database or an account) it stores bookmarks and theme settings in the browsers local storage. So the space is very limited.
The background image feature which I added allows a user to search for a local file. That is as much as an extension can do, open local files but not access whole directories. (And in retrospect allowing users to access local images for the background has caused issues with hitting the max space in local storage [along with a few other issues]. Hosting is really the safer option.)
@Dawid8plc suggestion is what I have been recommending in other posts, users who want more videos or images have to host them somewhere. Then link to individual files with URLs. But this requires end users to do some set up on something like a private GitHub repo, or Imgur.