Comments (11)
Thanks.
Unfortunately, I have no Android to check that Android bug.
from vegas.
Can you check it with iPhone/iPad? I don't have those, but I'm guessing the bug is also there.
from vegas.
@DePalmo FYI the bug is not present on iOS
I have a Android/iOS specific internal app that used vegas and ran in to this issue. I ended up implementing a similar full screen effect using the pure css techniques outlined in this article http://css-tricks.com/perfect-full-page-background-image/ and the accepted answer in this SO question http://stackoverflow.com/a/9724124
This might be a good solution if you have good css support on targeted platforms.
from vegas.
@jaysalvat you can use http://www.browserstack.com to see the problem. i ran into the problem when i use samsung galxy s3. but with browserstack you can see scaling problems on several mobile devices.
do you think you will fix that?
from vegas.
I have noticed the same issue. On a iPhone is the background with and height perfect, but not on a android phone. Is there a simple solution for this little bug?
from vegas.
Hello.
I still not have an Android phone to fix it.
It's an open-source project you know. You can all try to fix the bug and provide a fix for the community :)
from vegas.
Hi there,
maybe this is an important hint for solving the android bug: on my samsung phone (s2) after reloading a page, most pages have the correct stretched background effect. maybe this is an interesting fact and the solution for this problem is only a few changes away? ;-)
from vegas.
Hi,
Problem is that android devices interprates "position: fixed" wrong.
I made quick solution today (needs to write it nicer and still fix one bug on android when widow resizes).
The solutuin is to add whole vegas images in another container which is positioned fixed and images should be positioned absolute then.
I added this line at 15: (right after init)
if ($(".vegas-container").length == 0){ $('body').prepend($("<div></div>").addClass('vegas-container').css({ position: "fixed", left: "0px", top: "0px", width: "100%", height: "100%" })) }
And then changed line:
$new.hide().prependTo(body).fadeIn(options.fade, function() { to: $new.hide().prependTo(".vegas-container").fadeIn(options.fade, function() {
And ofc changed the images positioning from:
$new.css({ position: "fixed", left: "0px", top: "0px" }).
To:
$new.css({ position: "absolute", left: "0px", top: "0px" })
Solution written quickly and not tested precisely.
from vegas.
Hi,
sadly this hack didn't work for me.
Version 1.3.4 on Motorola Tablet MZ604, Android 3.1
from vegas.
Hello I found the same problem of other users.
On PCs and laptops pictures you can clearly see, while on some mobile devices are seen deformed.
In addition to my site also http://vegas.jaysalvat.com/ browsing our site with some devices and browser images are seen deformed, ie not adapt automatically.
You see evil on:
Galaxy Tab 2 => browser => "Internet" default
Samsung s2 plus => browser => "Internet" by default.
While with the same devices but using "firefox" or "chrome" you can clearly see.
So it's a problem of the default browser of Android.
Have you any suggestions?
from vegas.
Thanks for the info.
Unfortunately I can't do much without android device.
I've started to work on Vegas v2 which will drop support of old browsers and will use background-size: cover. I hope it will work better on those devices.
from vegas.
Related Issues (20)
- how to play video from youtube HOT 1
- Slideshow picture and movies HOT 1
- Strange Glitch with Blur transition HOT 1
- Blur transition blinks in Chrome HOT 2
- Vegas asynchronous load HOT 2
- Optimize images for faster loading HOT 2
- Effect kenburns reverse HOT 3
- Using option to use playsinline for videos? HOT 1
- Using sprite image HOT 1
- Vegas & m4q
- Video Error: Uncaught (in promise) DOMException on vegas.min.js:10
- jQuery inside wrapper
- Three Video Format (mp4,webm,ogv)? HOT 1
- Overlay issue - Overlay does not show HOT 2
- why cannot my image fill my div ?
- Adding a custom overlay adds a gray background at the bottom of the slider
- None of the images are showing HOT 1
- Incorrect padding in Firefox HOT 1
- :: THE AUDIO OF THE VIDEOS DOES NOT SOUND :: HOT 1
- Image transition issue with cover:false HOT 1
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 vegas.