{
    "fallbackId": "belmar-multiresolution-remote",

    "repositoryUrl": "repository",
    "manifestFileName": "data.json",

    "defaultLayout": "presenter-presentation",

    "defaultLanguage": "en",

    "defaultAudioStream": "presenter",

    "defaultVideoPreview": "/config/default_preview_landscape.jpg",
    "defaultVideoPreviewPortrait": "/config/default_preview_portrait.jpg",

    "logLevel": "INFO",

    "ui": {
        "hideUITimer": 2000,
        "hideOnMouseLeave": true
    },

    "accessibility": {
        "clickWithSpacebar": false
    },

    "progressIndicator": {
        "showTotal": true,
        "parentContainer": "progressIndicator",
        "side": "left",
        "visible": true,
        "showHandler": true,
        "hideHandlerOnMouseOut": true,
        "showRemainingProgress": true,
        "inlineMode": false
    },

    "preferences": {
        "currentSource": "dataPlugin",
        "sources": {
            "cookie": {
                "consentType": "necessary"
            },
            "dataPlugin": {
                "context": "preferences"
            }
        }
    },

    "videoContainer": {
        "overPlaybackBar": true,

        "restorePlaybackRate": true,
        "restoreVolume": true,

        "multiStreamMaxDesyncTime": 0.5,

        "restoreVideoLayout": {
            "enabled": true,
            "global": true
        },
        "restoreLastTime": {
            "enabled": true,
            "remainingSeconds": 5
        },

        "dynamicLayout": {
            "landscapeVerticalAlignment": "align-bottom",
            "portraitHorizontalAlignment": "align-center"
        }
    },

    "buttonGroups": [
        {
            "enabled": true,
            "groupName": "options",
            "description": "Configuration options",
            "icon": "settings-icon.svg",
            "order": 4,
            "side": "right",
            "tabIndex": 10,
            "parentContainer": "playbackBar"
        }
    ],

    "cookieConsent": [
        {
            "type": "necessary",
            "title": "Necessary",
            "description": "Cookies required for proper operation.",
            "required": true
        },
        {
            "type": "preferences",
            "title": "Preferences",
            "description": "Cookies used to store user preferences that can be configured in the application. If disabled, some of these features may not work properly.",
            "required": false
        },
        {
            "type": "analytical",
            "title": "Analytical",
            "description": "Cookies used to analyze user behavior and thus provide clues about future improvements in the application.",
            "required": false
        },
        {
            "type": "marketing",
            "title": "Marketing",
            "description": "Cookies used to better tailor ads to user preferences.",
            "required": false
        }
    ],

    "plugins": {
        "es.upv.paella.testPlugin": {
            "enabled": true,
            "side": "left",
            "order": 3
        },
        "es.upv.paella.testPlugin2": {
            "enabled": true,
            "side": "right"
        },
        "es.upv.paella.nStreams": {
            "enabled": true,
            "contentId": "n-streams",
            "icon": "present-mode-4.svg",
            "title": "Multiple streams"
        },
        "es.upv.paella.singleVideo": {
            "enabled": false,
            "dualVideoContentIds": [
                "presenter-presentation-dynamic",
                "presenter-2-presentation-dynamic",
                "presenter-presenter-2-dynamic",
                "presenter-presentation",
                "presenter-2-presentation",
                "presenter-presenter-2"
            ],
            "validContent": [
                { "id": "presenter", "content": ["presenter"], "icon": "present-mode-2.svg", "title": "Presenter" },
                { "id": "presentation", "content": ["presentation"], "icon": "present-mode-1.svg", "title": "Presentation" },
                { "id": "presenter-2", "content": ["presenter-2"], "icon": "present-mode-1.svg", "title": "Presentation" }
            ]
        },
        "es.upv.paella.singleVideoDynamic": {
            "enabled": true,
            "dualVideoContentIds": [
                "presenter-presentation-dynamic",
                "presenter-2-presentation-dynamic",
                "presenter-presenter-2-dynamic",
                "presenter-presentation",
                "presenter-2-presentation",
                "presenter-presenter-2"
            ],
            "validContent": [
                { "id": "presenter", "content": ["presenter"], "icon": "present-mode-2.svg", "title": "Presenter" },
                { "id": "presentation", "content": ["presentation"], "icon": "present-mode-1.svg", "title": "Presentation" },
                { "id": "presenter-2", "content": ["presenter-2"], "icon": "present-mode-1.svg", "title": "Presentation" }
            ]
        },
        "es.upv.paella.dualVideo": {
            "enabled": false,
            "validContent": [
                { "id": "presenter-presentation", "content": ["presenter","presentation"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" },
                { "id": "presenter-2-presentation", "content": ["presenter-2","presentation"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" },
                { "id": "presenter-presenter-2", "content": ["presenter","presenter-2"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" }
            ],
            "tabIndexStart": 20
        },
        "es.upv.paella.dualVideoPiP": {
            "enabled": true,
            "validContent": [
                { "id": "presenter-presentation-pip", "content": ["presenter","presentation"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" },
                { "id": "presenter-2-presentation-pip", "content": ["presenter-2","presentation"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" },
                { "id": "presenter-presenter-2-pip", "content": ["presenter","presenter-2"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" }
            ],
            "dualVideoContentIds": [
                "presenter-presentation-dynamic",
                "presenter-2-presentation-dynamic",
                "presenter-presenter-2-dynamic",
                "presenter-presentation",
                "presenter-2-presentation",
                "presenter-presenter-2"
            ],
            "tabIndexStart": 20
        },
        "es.upv.paella.dualVideoDynamic": {
            "enabled": true,
            "validContent": [
                { "id": "presenter-presentation-dynamic", "content": ["presentation","presenter"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" },
                { "id": "presenter-2-presentation-dynamic", "content": ["presenter-2","presentation"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" },
                { "id": "presenter-presenter-2-dynamic", "content": ["presenter","presenter-2"], "icon": "present-mode-3.svg", "title": "Presenter and presentation" }
            ],
            "pipContentIds": [
                "presenter-presentation-pip",
                "presenter-2-presentation-pip",
                "presenter-presentation-2-pip"
            ],
            "allowSwitchSide": false
        },
        "es.upv.paella.tripleVideo": {
            "enabled": true,
            "validContent": [
                { "id": "presenter-presenter-2-presentation", "content": ["presenter","presenter-2","presentation"], "icon": "present-mode-4.svg", "title": "Presenter and presentation" },
                { "id": "presenter-2-presenter-3-presentation", "content": ["presenter-2","presenter-3","presentation"], "icon": "present-mode-4.svg", "title": "Presenter and presentation" }
            ]
        },
        "es.upv.paella.imageVideoFormat": {
            "enabled": true,
            "order": 3
        },
        "es.upv.paella.htmlVideoFormat": {
            "enabled": true,
            "order": 1
        },
        "es.upv.paella.mp4VideoFormat": {
            "enabled": true,
            "order": 2
        },
        "es.upv.paella.hlsVideoFormat": {
            "enabled": true,
            "order": 0,
            "audioTrackLabel": "name",
            "enableCache": true,
            "forceNative": false,
            "hlsConfig": {
            },
            "corsConfig": {
                "withCredentials": false,
                "requestHeaders": {
                    "Access-Control-Allow-Credentials": false
                }
            }
        },
        "es.upv.paella.hlsLiveVideoFormat": {
            "enabled": true,
            "order": 0,
            "enableCache": true,
            "hlsConfig": {
            },
            "corsConfig": {
                "withCredentials": false,
                "requestHeaders": {
                    "Access-Control-Allow-Credentials": false
                }
            }
        },
        "es.upv.paella.audioVideoFormat": {
            "enabled": true
        },

        "es.upv.paella.playPauseButton": {
            "enabled": true,
            "order": 1,
            "tabIndex": 1,
            "container": "playbackBar",
            "side": "left",
            "description": "Play/pause",
            "ariaLabel": "Play/pause",
            "id": "playPauseButton"
        },

        "es.upv.paella.testFoldableButton": {
            "enabled": "true",
            "side": "left",
            "order": 10
        },

        "es.upv.paella.testVideoContainerButton": {
            "enabled": true,
            "side": "left",
            "_parentContainer": "videoContainer",
            "parentContainer": "testButtonGroup",
            "description": "Test menu plugin",
            "closeOnSelect": false,
            "menuTitle": "Test Video Container Button"
        },

        "es.upv.paella.testPopUpButton": {
            "enabled": true,
            "side": "right",
            "parentContainer": "testButtonGroup",
            "description": "Test popup button",
            "menuTitle": "Test Pop Up",
            "popUpType": "no-modal"
        },

        "es.upv.paella.testPopUp2Button": {
            "enabled": true,
            "side": "right",
            "order": 2,
            "minContainerSize": 500,
            "popUpType": "timeline"
        },

        "es.upv.paella.testButtonGroupPlugin": {
            "enabled": true,
            "groupName": "testButtonGroup",
            "order": 3,
            "side": "right",
            "parentContainer": "options",
            "menuTitle": "Options",
            "popUpType": "no-modal",
            "moveable": true,
            "resizeable": false
        },

        "es.upv.paella.videoCanvas": {
            "enabled": true,
            "order": 1
        },

        "es.upv.paella.testVideoCanvas": {
            "enabled": false,
            "order": 0
        },

        "es.upv.paella.audioCanvas": {
            "enabled": true,
            "order": 1
        },

        "es.upv.paella.cookieDataPlugin": {
            "enabled": false,
            "order": 0,
            "context": ["default","trimming","preferences"]
        },

        "es.upv.paella.localStorageDataPlugin": {
            "enabled": true,
            "order": 0,
            "context": ["default","trimming","preferences"]
        },

        "es.upv.paella.testCaptionsPlugin": {
            "enabled": true
        },

        "es.upv.paella.vttManifestCaptionsPlugin": {
            "enabled": true
        },

        "es.upv.paella.dfxpManifestCaptionsPlugin": {
            "enabled": true
        },

        "es.upv.paella.testEventLogPlugin": {
            "enabled": true
        },

        "es.upv.paella.defaultShortcuts": {
            "enabled": true,
            "validPlaybackRates": [0.75, 2, 1, 1.5],
            "skipBackwards": 10,
            "skipForward": 10,
            "order": 1
        },

        "es.upv.paella.collisionTestShortucts": {
            "enabled": false,
            "order": 2
        },

        "es.upv.paella.testProgressIndicatorPlugin": {
            "enabled": true
        },

        "es.upv.paella.nonInteractiveButtonTest": {
            "enabled": true,
            "parentContainer_": "videoContainer",
            "order": 6
        },

        "es.upv.paella.dynamicWidthButton": {
            "enabled": true,
            "parentContainer_": "videoContainer",
            "order": 5,
            "tabIndex": 3
        },

        "es.upv.paella.canvasButtonPluginTest": {
            "enabled": true,
            "content": ["presenter", "presentation"],
            "side": "right",
            "description": "Test canvas button",
            "ariaLabel": "Test canvas button"
        },


        "es.upv.paella.qualitySelector": {
            "enabled": true,
            "side": "right",
            "parentContainer": "videoContainer"
        },

        "es.upv.paella.testMenuTitleElement": {
            "enabled": true,
            "moveable": true,
            "resizeable": true,
            "popUpType": "no-modal",
            "minContainerSize": 500,
            "tabIndex": 2,
            "order": 2,
            "closeActions": {
                "clickOutside": false,
                "closeButton": true
            }
        }
    }
}
