Giter Site home page Giter Site logo

Webcam.js Error: No width and/or height for webcam. Please call set() first, or attach to a visible element. about laravel-spark-camera HOT 5 OPEN

DavidLambauer avatar DavidLambauer commented on May 12, 2024
Webcam.js Error: No width and/or height for webcam. Please call set() first, or attach to a visible element.

from laravel-spark-camera.

Comments (5)

ashkellerman avatar ashkellerman commented on May 12, 2024

Any updates on this @DavidLambauer ? I'm trying to get this working.

from laravel-spark-camera.

DavidLambauer avatar DavidLambauer commented on May 12, 2024

@ashleybakernz Nothing happened until I opened the Issue. Thank you for handling this one! :)

from laravel-spark-camera.

DavidLambauer avatar DavidLambauer commented on May 12, 2024

@ashbakernz could you figure it out, yet? Want to make it together? I'll think this Repo isn't supported anymore, but I'll like the functionality. We may can combine the forces? xD

https://media.giphy.com/media/6IMXN40a9E9Es/giphy.gif

from laravel-spark-camera.

cretueusebiu avatar cretueusebiu commented on May 12, 2024

It is supported, but I can't reproduce the issue on my end.

from laravel-spark-camera.

danieladarve avatar danieladarve commented on May 12, 2024

This is because the css included after the video modal is not being parsed.

<style>
    #profile-photo-camera-preview,
    #profile-photo-camera-preview video {
        width: 100% !important;
        height: auto !important;
        min-width: 100px;
        min-height: 100px;
    }
</style>

- Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <style>, as they will not be parsed.
- Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <style>, as they will not be parsed.

from laravel-spark-camera.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.