Skip to content

Cannot disable PIP button #486

@Cicno

Description

@Cicno

Hi, I'm trying to set some options and it's not working. I've tried many things, but the options doesn't work, here is my code:

var options = {
    controls: true,
    bigPlayButton: false,
    loop: false,
    width: 320,
    height: 240,
    fluid: true,
    frameWidth: 320,
    frameHeight: 240,
    plugins: {
        record: {
            muted: false,
            audio: true,
            video: true,
            maxLength: 10,
            debug: true,
            videoMimeType: 	'video/webm;codecs=vp9',
            videoRecorderType: 'auto',
            videoFrameRate: 20,
            displayMilliseconds: false,
            pip: false
        },
    },
    controlBar: {
        // hide fullscreen and volume controls
        volumePanel: false,
        recordToggle: false,
        deviceButton: false,
        cameraButton: false,
        fullscreenToggle: false
    },
    video: {
        // video media constraints: set resolution of camera
        width: 320,
        height: 240
    }
};

1- The video options to change set resolution of camera, is not changing anything
2- The pip true or false doesn't hide the button
3- The frame rate doesn't change if I put 1 or 200

I don't see any error at JavaScript, but the options are not working, these options are not working or I'm doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions