Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android Chrome Background Image Loads Then Disappears #77

Closed
tomvonpcc opened this issue May 5, 2015 · 11 comments
Closed

Android Chrome Background Image Loads Then Disappears #77

tomvonpcc opened this issue May 5, 2015 · 11 comments

Comments

@tomvonpcc
Copy link

Hi, first, thanks for the excellent work! I'm having and issues on my Nexus 7 (Android 5.1, Build LMY470) in Google Chrome (42.0.2311.111). The background image seems to load but then it disappears. I'm using the following code. Please let me know if you have any questions and thanks in advance for your help!

<div id="video-box">
    <div id="header">
        <h1>Headline</h1>
    </div>
    <div id="video-overlay"></div>
    <div id="overlay-text">
        Body Text
    </div>
    <div id="feature-video"></div>
</div>
$(document).ready(function () {
    jQuery("#overlay-text").fitText(1.5);
    $('#feature-video').vide('/img/header-video',{
        muted: true,
        loop: true,
        autoplay: true,
        resizing: true
    });
});
#video-box {
    position: relative; 
    #feature-video {
        z-index: 1; 
    }
    #feature-video, #video-box {
        width: 100%; 
        height: 500px;
    }
    #header {
        z-index: 3;
        background: #000000;
        color: #ffffff;
        text-align: center;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        height: 80px;
        opacity: .7;
        h1 {
            margin: 0;
            padding: 0;
            font-size: 200%;
            font-weight: normal;
            line-height: 80px;
        }
    }
    #video-overlay {
        z-index: 2;
        position: absolute;
        top: 80px;
        right: 0;
        bottom: 0;
        left: 0;
        background: url(/img/pattern.png);
        opacity: 1;
    }
    #overlay-text {
        z-index: 4;
        position: absolute;
        top: 80px;
        right: 0;
        bottom: 0;
        left: 0;
        color: #2bb4b2;
        line-height: 100%;
        text-align: center;
        margin-top: 125px;
        text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff;
    }
}
@vodkabears
Copy link
Owner

😫

#35

@vodkabears vodkabears added the bug label May 12, 2015
@vodkabears
Copy link
Owner

Reproduced on Android 4.4+

@tomvonpcc
Copy link
Author

I'm not sure but I think it might have something to do with video trying to be loaded but not ultimately loading. I think that's why the poster may load and then disappear. I had the same issue when using a straight up html5 video tag. Hope that helps.

@vodkabears
Copy link
Owner

@vodkabears
Copy link
Owner

Thanks for the report.

@tomvonpcc
Copy link
Author

No problem. Happy to help out.

@maxms
Copy link

maxms commented May 27, 2015

Hello,

Wondering if there will be a fix for this soon? Any workaround until then?

Thank you!

@vodkabears
Copy link
Owner

Hi. It will be fixed this week.

@maxms
Copy link

maxms commented May 27, 2015

Thank you for your response and for this great plug-in!

Mary Makowsky
Max Media Solutions
303-404-8672
http://www.maxms.com

Website design and development

Ilya Makarov wrote:

Hi. It will be fixed this week.


Reply to this email directly or view it on GitHub
#77 (comment).

@vodkabears
Copy link
Owner

@maxms
Copy link

maxms commented May 28, 2015

Thank you so much! Works perfectly:

http://www.maxms.com/sbu/

:)

Mary Makowsky
Max Media Solutions
303-404-8672
http://www.maxms.com

Website design and development

Ilya Makarov wrote:

https://github.com/VodkaBears/Vide/releases/tag/0.3.5


Reply to this email directly or view it on GitHub
#77 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants