Giter Club home page Giter Club logo

Comments (4)

axyl avatar axyl commented on August 15, 2024 1

Using this as inspiration, I could get the right aspect ratio with the following...

    var player= videojs("recordedVideo", {
        controls: true,
        width: 1280,
        height: 720,
        plugins: {
            record: {
                audio: true,
                video: {
                    width: { min: 1280, ideal: 1280, max: 1280 },
                    height: { min: 720, ideal: 720, max: 720 },
                },
/*                video: {
                    mandatory: {
                        minWidth: 1024,
                        minHeight: 576,
                        maxWidth: 1024,
                        minHeight: 576
                    },
                },  */
                maxLength: 200,
                debug: true,
                frameWidth: 1280,
                frameHeight: 720
            }
        }
    })

It's probably device specific, but when I tried locking at 1024x576, Firefox wouldn't like it.

from videojs-record.

thijstriemstra avatar thijstriemstra commented on August 15, 2024

Have you tried using different constraints (width, height)? What does the RecordRTC console log display?

from videojs-record.

zang avatar zang commented on August 15, 2024

@axyl , you may need to clear cache and cookie and try again. It happened to me as well without clearing the above.

from videojs-record.

thijstriemstra avatar thijstriemstra commented on August 15, 2024

@axyl good to hear you got it to work, closing.

from videojs-record.

Related Issues (20)

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.