Comments (4)
This is the image resolution
And this is what I see on my tablet
from lovelace-animated-background.
@Villhellm Any advices?
from lovelace-animated-background.
Seems that the rendered resolution for the background is 960 x 600, on a tablet with 1920 x 1200...
from lovelace-animated-background.
Sadly, I believe the author passed away a year or so ago from what I saw on the HA forum. I had the same issue with a 1920x1200 tablet and my custom 1920x1200 cinemagraphs. I "fixed" it by modifying animated-background.js around line 450 thusly:
video { width: 1280px; height: 800px; position: absolute; top: 0; left: 0; }
The end result is 1920x200 cinemagraphs that play full-screen with no clipping on my 1920x1200 display. You can play with the resolution but that's what worked for me. I think there's either some bad math in the code or the author was trying to accommodate as many variables as possible. With my above change, anything other than 1920x1200 videos and display will likely result in a video that doesn't fill the entire screen.
Also, in case you run into issues with .webm files, I was able to get those working by hard-coding "type='video/webm'" in the doc_body line around line 433. Again, all of your videos will have to be webm if you make that change.
Hope this helps.
from lovelace-animated-background.
Related Issues (20)
- Bug report: Configuration options overriding each other HOT 1
- display_user_agent: true does not do anything HOT 1
- Read animations from folders HOT 2
- Weather: day and night
- rpi 3b+ video stutter
- Bug report HOT 1
- No longer lets tablet display timeout HOT 1
- Clarify HACS install procedures please. HOT 2
- Switching by days of the week + sunrise or sunset HOT 1
- [Feature Request] Allow configuring opacity of the background HOT 2
- Simple question- help
- Lil suggestion I use for my theme. Transparent Sidebar HOT 1
- Local stored animated backgrounds?? HOT 2
- Dashboard nest hub
- Add variable video playback speeds
- Play next video in array after current one finishes
- WARNING: 2023.4.0b0 or newer break Animated Background HOT 42
- problem in new versions of HA HOT 9
- snow wallpaper animation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lovelace-animated-background.