Sindbad~EG File Manager
[
{
"name": "doors",
"type": "list",
"label": "Doors",
"entity": "door",
"min": 24,
"max": 24,
"field": {
"name": "contentGroup",
"type": "group",
"fields": [
{
"name": "doorCover",
"type": "image",
"label": "Door image",
"description": "Image that will be used for the door. Needs to have a size ratio of 1:1 if you want the left half fit the right half."
},
{
"name": "previewImage",
"type": "image",
"label": "Background image",
"description": "Image that should appear inside the door. Will be the door's number by default."
},
{
"name": "type",
"type": "select",
"label": "Content type",
"description": "Content type that shoud optionally pop up when the door is opened.",
"options": [
{
"value": "audio",
"label": "Audio"
},
{
"value": "image",
"label": "Image"
},
{
"value": "link",
"label": "Link"
},
{
"value": "text",
"label": "Text"
},
{
"value": "video",
"label": "Video"
}
]
},
{
"name": "audio",
"type": "audio",
"label": "Audio",
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "type",
"equals": "audio"
}
]
}
},
{
"name": "image",
"type": "library",
"label": "Image",
"options": [
"H5P.Image 1.1"
],
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "type",
"equals": "image"
}
]
}
},
{
"name": "link",
"type": "library",
"label": "Link",
"options": [
"H5P.Link 1.3"
],
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "type",
"equals": "link"
}
]
}
},
{
"name": "text",
"type": "library",
"label": "Text",
"options": [
"H5P.AdvancedText 1.1"
],
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "type",
"equals": "text"
}
]
}
},
{
"name": "video",
"type": "video",
"label": "Video",
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "type",
"equals": "video"
}
]
}
},
{
"name": "autoplay",
"type": "boolean",
"label": "Autoplay",
"default": false,
"widget": "showWhen",
"showWhen": {
"type": "or",
"rules": [
{
"field": "type",
"equals": "audio"
},
{
"field": "type",
"equals": "video"
}
]
}
}
]
},
"widgets": [
{
"name": "VerticalTabs",
"label": "Default"
}
]
},
{
"name": "behaviour",
"type": "group",
"label": "Behavioural settings",
"description": "These options will let you override behaviour settings.",
"importance": "low",
"fields": [
{
"name": "backgroundImage",
"type": "image",
"label": "Calendar background image",
"optional": true
},
{
"name": "backgroundMusic",
"type": "audio",
"label": "Background music",
"optional": true
},
{
"name": "autoplay",
"type": "boolean",
"label": "Autoplay background music",
"description": "If set, the background music will play automatically once the content is opened. Please note: Some browsers' media policy may prevent autoplay.",
"default": false,
"optional": true
},
{
"name": "snow",
"type": "boolean",
"label": "Let it snow",
"description": "Will add some snow falling in front of the calendar. It never rains in Southern California, it never snows on IE11.",
"default": false,
"optional": true
},
{
"name": "doorImageTemplate",
"type": "image",
"label": "Door image template",
"description": "If an image is set, it will be used for every door unless a specific door image is set for a single door.",
"optional": true
},
{
"name": "hideDoorBorder",
"type": "boolean",
"label": "Hide door border",
"default": false,
"optional": true
},
{
"name": "hideNumbers",
"type": "boolean",
"label": "Hide door numbers",
"default": false,
"optional": true
},
{
"name": "hideDoorKnobs",
"type": "boolean",
"label": "Hide door knobs",
"default": false,
"optional": true
},
{
"name": "hideDoorFrame",
"type": "boolean",
"label": "Hide door frame",
"default": false,
"optional": true
},
{
"name": "randomize",
"type": "boolean",
"label": "Random order",
"description": "Shuffle the order of the doors. If the \"save content state\" option is set in the H5P settings, that order will stay the same when the user returns later.",
"default": false,
"optional": true
},
{
"name": "keepImageOrder",
"type": "boolean",
"label": "Keep order of images",
"description": "Shuffle doors, but keep the door cover images at their fixed positions starting with 1 in the upper left corner down to 24 in the lower right corner.",
"default": false,
"optional": true,
"widget": "showWhen",
"showWhen": {
"rules": [
{
"field": "randomize",
"equals": true
}
]
}
},
{
"name": "designMode",
"type": "boolean",
"label": "Design mode",
"description": "When in design mode, all doors can be opened. Otherwise, the doors can only be opened in December on and after the respective day indicated by the door number.",
"default": true,
"optional": true
}
]
},
{
"name": "l10n",
"type": "group",
"common": true,
"label": "Localization",
"importance": "low",
"fields": [
{
"name": "nothingToSee",
"type": "text",
"label": "Nothing to see",
"importance": "low",
"default": "There is nothing to see here!\ud83c\udf84"
},
{
"name": "dummy",
"type": "text",
"label": "Dummy",
"importance": "low",
"default": "Dummy",
"widget": "none"
}
]
},
{
"name": "a11y",
"type": "group",
"common": true,
"label": "Accessibility",
"importance": "low",
"fields": [
{
"name": "door",
"type": "text",
"label": "Door",
"importance": "low",
"default": "Door"
},
{
"name": "locked",
"type": "text",
"label": "Locked",
"importance": "low",
"default": "Locked. It is not time to open this one yet."
},
{
"name": "content",
"description": "Announce the content. @door is a variable and will be replaced with the related door description.",
"type": "text",
"label": "Content of",
"importance": "low",
"default": "Content of @door"
},
{
"name": "mute",
"type": "text",
"label": "Mute audio",
"importance": "low",
"default": "Mute audio"
},
{
"name": "unmute",
"type": "text",
"label": "Unmute audio",
"importance": "low",
"default": "Unmute audio"
},
{
"name": "closeWindow",
"type": "text",
"label": "Close window",
"importance": "low",
"default": "Close window"
}
]
}
]
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists