[ { "name": "interactiveVideo", "type": "group", "widget": "wizard", "label": "Interactive Video Editor", "importance": "high", "fields": [ { "name": "video", "type": "group", "label": "Upload/embed video", "importance": "high", "fields": [ { "name": "files", "type": "video", "label": "Add a video", "importance": "high", "description": "Click below to add a video you wish to use in your interactive video. You can add a video link or upload video files. It is possible to add several versions of the video with different qualities. To ensure maximum support in browsers at least add a version in webm and mp4 formats.", "extraAttributes": [ "metadata" ], "enableCustomQualityLabel": true }, { "name": "startScreenOptions", "type": "group", "label": "Start screen options (unsupported for YouTube videos)", "importance": "low", "fields": [ { "name": "title", "type": "text", "label": "The title of this interactive video", "importance": "low", "maxLength": 60, "default": "Interactive Video", "description": "Used in summaries, statistics etc." }, { "name": "hideStartTitle", "type": "boolean", "label": "Hide title on video start screen", "importance": "low", "optional": true, "default": false }, { "name": "shortStartDescription", "type": "text", "label": "Short description (Optional)", "importance": "low", "optional": true, "maxLength": 120, "description": "Optional. Display a short description text on the video start screen. Does not work for YouTube videos." }, { "name": "poster", "type": "image", "label": "Poster image", "importance": "low", "optional": true, "description": "Image displayed before the user launches the video. Does not work for YouTube Videos." } ] }, { "name": "textTracks", "type": "group", "label": "Text tracks (unsupported for YouTube videos)", "importance": "low", "fields": [ { "name": "videoTrack", "type": "list", "label": "Available text tracks", "importance": "low", "optional": true, "entity": "Track", "min": 0, "defaultNum": 1, "field": { "name": "track", "type": "group", "label": "Track", "importance": "low", "expanded": false, "fields": [ { "name": "label", "type": "text", "label": "Track label", "description": "Used if you offer multiple tracks and the user has to choose a track. For instance 'Spanish subtitles' could be the label of a Spanish subtitle track.", "importance": "low", "default": "Subtitles", "optional": true }, { "name": "kind", "type": "select", "label": "Type of text track", "importance": "low", "default": "subtitles", "options": [ { "value": "subtitles", "label": "Subtitles" }, { "value": "captions", "label": "Captions" }, { "value": "descriptions", "label": "Descriptions" } ] }, { "name": "srcLang", "type": "text", "label": "Source language, must be defined for subtitles", "importance": "low", "default": "en", "description": "Must be a valid BCP 47 language tag. If 'Subtitles' is the type of text track selected, the source language of the track must be defined." }, { "name": "track", "type": "file", "label": "Track source (WebVTT file)", "importance": "low" } ] } }, { "name": "defaultTrackLabel", "type": "text", "label": "Default text track", "description": "If left empty or not matching any of the text tracks the first text track will be used as the default.", "importance": "low", "optional": true } ] } ] }, { "name": "assets", "type": "group", "label": "Add interactions", "importance": "high", "widget": "interactiveVideo", "video": "video/files", "poster": "video/startScreenOptions/poster", "fields": [ { "name": "interactions", "type": "list", "field": { "name": "interaction", "type": "group", "fields": [ { "name": "duration", "type": "group", "widget": "duration", "label": "Display time", "importance": "low", "fields": [ { "name": "from", "type": "number" }, { "name": "to", "type": "number" } ] }, { "name": "pause", "label": "Pause video", "importance": "low", "type": "boolean" }, { "name": "displayType", "label": "Display as", "importance": "low", "description": "Button is a collapsed interaction the user must press to open. Poster is an expanded interaction displayed directly on top of the video", "type": "select", "widget": "imageRadioButtonGroup", "options": [ { "value": "button", "label": "Button" }, { "value": "poster", "label": "Poster" } ], "default": "button" }, { "name": "buttonOnMobile", "label": "Turn into button on small screens", "importance": "low", "type": "boolean", "default": false }, { "name": "label", "type": "text", "widget": "html", "label": "Label", "importance": "low", "description": "Label displayed next to interaction icon.", "optional": true, "enterMode": "p", "tags": [ "p" ] }, { "name": "x", "type": "number", "importance": "low", "widget": "none" }, { "name": "y", "type": "number", "importance": "low", "widget": "none" }, { "name": "width", "type": "number", "widget": "none", "importance": "low", "optional": true }, { "name": "height", "type": "number", "widget": "none", "importance": "low", "optional": true }, { "name": "libraryTitle", "type": "text", "importance": "low", "optional": true, "widget": "none" }, { "name": "action", "type": "library", "importance": "low", "options": [ "H5P.Nil 1.0", "H5P.Text 1.1", "H5P.Table 1.1", "H5P.Link 1.3", "H5P.Image 1.1", "H5P.Summary 1.10", "H5P.SingleChoiceSet 1.11", "H5P.MultiChoice 1.16", "H5P.TrueFalse 1.8", "H5P.Blanks 1.14", "H5P.DragQuestion 1.14", "H5P.MarkTheWords 1.11", "H5P.DragText 1.10", "H5P.GoToQuestion 1.3", "H5P.IVHotspot 1.2", "H5P.Questionnaire 1.3", "H5P.FreeTextQuestion 1.0" ] }, { "name": "adaptivity", "type": "group", "label": "Adaptivity", "importance": "low", "optional": true, "fields": [ { "name": "correct", "type": "group", "label": "Action on all correct", "fields": [ { "name": "seekTo", "type": "number", "widget": "timecode", "label": "Seek to", "description": "Enter timecode in the format M:SS" }, { "name": "allowOptOut", "type": "boolean", "label": "Allow the user to opt out and continue" }, { "name": "message", "type": "text", "widget": "html", "enterMode": "p", "tags": [ "strong", "em", "del", "a", "code" ], "label": "Message" }, { "name": "seekLabel", "type": "text", "label": "Label for seek button" } ] }, { "name": "wrong", "type": "group", "label": "Action on wrong", "fields": [ { "name": "seekTo", "type": "number", "widget": "timecode", "label": "Seek to", "description": "Enter timecode in the format M:SS" }, { "name": "allowOptOut", "type": "boolean", "label": "Allow the user to opt out and continue" }, { "name": "message", "type": "text", "widget": "html", "enterMode": "p", "tags": [ "strong", "em", "del", "a", "code" ], "label": "Message" }, { "name": "seekLabel", "type": "text", "label": "Label for seek button" } ] }, { "name": "requireCompletion", "type": "boolean", "label": "Require full score for task before proceeding", "description": "For best functionality this option should be used in conjunction with the \"Prevent skipping forward in a video\" option of Interactive Video." } ] }, { "name": "visuals", "label": "Visuals", "importance": "low", "type": "group", "fields": [ { "name": "backgroundColor", "type": "text", "label": "Background color", "widget": "colorSelector", "default": "rgb(255, 255, 255)", "spectrum": { "showInput": true, "showAlpha": true, "preferredFormat": "rgb", "showPalette": true, "palette": [ [ "rgba(0, 0, 0, 0)" ], [ "rgb(67, 67, 67)", "rgb(102, 102, 102)", "rgb(204, 204, 204)", "rgb(217, 217, 217)", "rgb(255, 255, 255)" ], [ "rgb(152, 0, 0)", "rgb(255, 0, 0)", "rgb(255, 153, 0)", "rgb(255, 255, 0)", "rgb(0, 255, 0)", "rgb(0, 255, 255)", "rgb(74, 134, 232)", "rgb(0, 0, 255)", "rgb(153, 0, 255)", "rgb(255, 0, 255)" ], [ "rgb(230, 184, 175)", "rgb(244, 204, 204)", "rgb(252, 229, 205)", "rgb(255, 242, 204)", "rgb(217, 234, 211)", "rgb(208, 224, 227)", "rgb(201, 218, 248)", "rgb(207, 226, 243)", "rgb(217, 210, 233)", "rgb(234, 209, 220)", "rgb(221, 126, 107)", "rgb(234, 153, 153)", "rgb(249, 203, 156)", "rgb(255, 229, 153)", "rgb(182, 215, 168)", "rgb(162, 196, 201)", "rgb(164, 194, 244)", "rgb(159, 197, 232)", "rgb(180, 167, 214)", "rgb(213, 166, 189)", "rgb(204, 65, 37)", "rgb(224, 102, 102)", "rgb(246, 178, 107)", "rgb(255, 217, 102)", "rgb(147, 196, 125)", "rgb(118, 165, 175)", "rgb(109, 158, 235)", "rgb(111, 168, 220)", "rgb(142, 124, 195)", "rgb(194, 123, 160)", "rgb(166, 28, 0)", "rgb(204, 0, 0)", "rgb(230, 145, 56)", "rgb(241, 194, 50)", "rgb(106, 168, 79)", "rgb(69, 129, 142)", "rgb(60, 120, 216)", "rgb(61, 133, 198)", "rgb(103, 78, 167)", "rgb(166, 77, 121)", "rgb(91, 15, 0)", "rgb(102, 0, 0)", "rgb(120, 63, 4)", "rgb(127, 96, 0)", "rgb(39, 78, 19)", "rgb(12, 52, 61)", "rgb(28, 69, 135)", "rgb(7, 55, 99)", "rgb(32, 18, 77)", "rgb(76, 17, 48)" ] ] } }, { "name": "boxShadow", "type": "boolean", "label": "Box shadow", "default": true, "description": "Adds a subtle shadow around the interaction. You might want to disable this for completely transparent interactions" } ] }, { "name": "goto", "label": "Go to on click", "importance": "low", "type": "group", "fields": [ { "name": "type", "label": "Type", "type": "select", "widget": "selectToggleFields", "options": [ { "value": "timecode", "label": "Timecode", "hideFields": [ "url" ] }, { "value": "url", "label": "Another page (URL)", "hideFields": [ "time" ] } ], "optional": true }, { "name": "time", "type": "number", "widget": "timecode", "label": "Go To", "description": "The target time the user will be taken to upon pressing the hotspot. Enter timecode in the format M:SS.", "optional": true }, { "name": "url", "type": "group", "label": "URL", "widget": "linkWidget", "optional": true, "fields": [ { "name": "protocol", "type": "select", "label": "Protocol", "options": [ { "value": "http://", "label": "http://" }, { "value": "https://", "label": "https://" }, { "value": "/", "label": "(root relative)" }, { "value": "other", "label": "other" } ], "optional": true, "default": "http://" }, { "name": "url", "type": "text", "label": "URL", "optional": true } ] }, { "name": "visualize", "type": "boolean", "label": "Visualize", "description": "Show that interaction can be clicked by adding a border and an icon" } ] } ] } }, { "name": "bookmarks", "importance": "low", "type": "list", "field": { "name": "bookmark", "type": "group", "fields": [ { "name": "time", "type": "number" }, { "name": "label", "type": "text" } ] } }, { "name": "endscreens", "importance": "low", "type": "list", "field": { "name": "endscreen", "type": "group", "fields": [ { "name": "time", "type": "number" }, { "name": "label", "type": "text" } ] } } ] }, { "name": "summary", "type": "group", "label": "Summary task", "importance": "high", "fields": [ { "name": "task", "type": "library", "options": [ "H5P.Summary 1.10" ], "default": { "library": "H5P.Summary 1.10", "params": {} } }, { "name": "displayAt", "type": "number", "label": "Display at", "description": "Number of seconds before the video ends.", "default": 3 } ] } ] }, { "name": "override", "type": "group", "label": "Behavioural settings", "importance": "low", "optional": true, "fields": [ { "name": "startVideoAt", "type": "number", "widget": "timecode", "label": "Start video at", "importance": "low", "optional": true, "description": "Enter timecode in the format M:SS" }, { "name": "autoplay", "type": "boolean", "label": "Auto-play video", "default": false, "optional": true, "description": "Start playing the video automatically" }, { "name": "loop", "type": "boolean", "label": "Loop the video", "default": false, "optional": true, "description": "Check if video should run in a loop" }, { "name": "showSolutionButton", "type": "select", "label": "Override \"Show Solution\" button", "importance": "low", "description": "This option determines if the \"Show Solution\" button will be shown for all questions, disabled for all or configured for each question individually.", "optional": true, "options": [ { "value": "on", "label": "Enabled" }, { "value": "off", "label": "Disabled" } ] }, { "name": "retryButton", "type": "select", "label": "Override \"Retry\" button", "importance": "low", "description": "This option determines if the \"Retry\" button will be shown for all questions, disabled for all or configured for each question individually.", "optional": true, "options": [ { "value": "on", "label": "Enabled" }, { "value": "off", "label": "Disabled" } ] }, { "name": "showBookmarksmenuOnLoad", "type": "boolean", "label": "Start with bookmarks menu open", "importance": "low", "default": false, "description": "This function is not available on iPad when using YouTube as video source." }, { "name": "showRewind10", "type": "boolean", "label": "Show button for rewinding 10 seconds", "importance": "low", "default": false }, { "name": "preventSkipping", "type": "boolean", "default": false, "label": "Prevent skipping forward in a video", "importance": "low", "description": "Enabling this options will disable user video navigation through default controls." }, { "name": "deactivateSound", "type": "boolean", "default": false, "label": "Deactivate sound", "importance": "low", "description": "Enabling this option will deactivate the video's sound and prevent it from being switched on." } ] }, { "name": "l10n", "type": "group", "label": "Localize", "importance": "low", "common": true, "optional": true, "fields": [ { "name": "interaction", "type": "text", "label": "Interaction title", "importance": "low", "default": "Interaction", "optional": true }, { "name": "play", "type": "text", "label": "Play title", "importance": "low", "default": "Play", "optional": true }, { "name": "pause", "type": "text", "label": "Pause title", "importance": "low", "default": "Pause", "optional": true }, { "name": "mute", "type": "text", "label": "Mute title", "importance": "low", "default": "Mute, currently unmuted", "optional": true }, { "name": "unmute", "type": "text", "label": "Unmute title", "importance": "low", "default": "Unmute, currently muted", "optional": true }, { "name": "quality", "type": "text", "label": "Video quality title", "importance": "low", "default": "Video Quality", "optional": true }, { "name": "captions", "type": "text", "label": "Video captions title", "importance": "low", "default": "Captions", "optional": true }, { "name": "close", "type": "text", "label": "Close button text", "importance": "low", "default": "Close", "optional": true }, { "name": "fullscreen", "type": "text", "label": "Fullscreen title", "importance": "low", "default": "Fullscreen", "optional": true }, { "name": "exitFullscreen", "type": "text", "label": "Exit fullscreen title", "importance": "low", "default": "Exit Fullscreen", "optional": true }, { "name": "summary", "type": "text", "label": "Summary title", "importance": "low", "default": "Open summary dialog", "optional": true }, { "name": "bookmarks", "type": "text", "label": "Bookmarks title", "importance": "low", "default": "Bookmarks", "optional": true }, { "name": "endscreen", "type": "text", "label": "Submit screen title", "importance": "low", "default": "Submit screen", "optional": true }, { "name": "defaultAdaptivitySeekLabel", "type": "text", "label": "Default label for adaptivity seek button", "importance": "low", "default": "Continue", "optional": true }, { "name": "continueWithVideo", "type": "text", "label": "Default label for continue video button", "importance": "low", "default": "Continue with video", "optional": true }, { "name": "more", "type": "text", "label": "Default label for more player options", "importance": "low", "default": "More player options", "optional": true }, { "name": "playbackRate", "type": "text", "label": "Set playback rate", "importance": "low", "default": "Playback Rate", "optional": true }, { "name": "rewind10", "type": "text", "label": "Rewind 10 Seconds", "importance": "low", "default": "Rewind 10 Seconds", "optional": true }, { "name": "navDisabled", "type": "text", "label": "Navigation is disabled text", "importance": "low", "default": "Navigation is disabled", "optional": true }, { "name": "sndDisabled", "type": "text", "label": "Sound is disabled text", "importance": "low", "default": "Sound is disabled", "optional": true }, { "name": "requiresCompletionWarning", "type": "text", "label": "Warning that the user must answer the question correctly before continuing", "importance": "low", "default": "You need to answer all the questions correctly before continuing.", "optional": true }, { "name": "back", "type": "text", "label": "Back button", "importance": "low", "default": "Back", "optional": true }, { "name": "hours", "type": "text", "label": "Passed time hours", "importance": "low", "default": "Hours", "optional": true }, { "name": "minutes", "type": "text", "label": "Passed time minutes", "importance": "low", "default": "Minutes", "optional": true }, { "name": "seconds", "type": "text", "label": "Passed time seconds", "importance": "low", "default": "Seconds", "optional": true }, { "name": "currentTime", "type": "text", "label": "Label for current time", "importance": "low", "default": "Current time:", "optional": true }, { "name": "totalTime", "type": "text", "label": "Label for total time", "importance": "low", "default": "Total time:", "optional": true }, { "name": "singleInteractionAnnouncement", "type": "text", "label": "Text explaining that a single interaction with a name has come into view", "importance": "low", "default": "Interaction appeared:", "optional": true }, { "name": "multipleInteractionsAnnouncement", "type": "text", "label": "Text for explaining that multiple interactions have come into view", "importance": "low", "default": "Multiple interactions appeared.", "optional": true }, { "name": "videoPausedAnnouncement", "type": "text", "label": "Video is paused announcement", "importance": "low", "default": "Video is paused", "optional": true }, { "name": "content", "type": "text", "label": "Content label", "importance": "low", "default": "Content", "optional": true }, { "name": "answered", "type": "text", "label": "Answered message (@answered will be replaced with the number of answered questions)", "importance": "low", "default": "@answered answered", "optional": true }, { "name": "endcardTitle", "type": "text", "label": "Submit screen title", "importance": "low", "default": "@answered Question(s) answered", "description": "@answered will be replaced by the number of answered questions.", "optional": true }, { "name": "endcardInformation", "type": "text", "label": "Submit screen information", "importance": "low", "default": "You have answered @answered questions, click below to submit your answers.", "description": "@answered will be replaced by the number of answered questions.", "optional": true }, { "name": "endcardInformationOnSubmitButtonDisabled", "type": "text", "label": "Submit screen information when submit button is disabled", "importance": "low", "default": "You have answered @answered questions.", "description": "@answered will be replaced by the number of answered questions.", "optional": true }, { "name": "endcardInformationNoAnswers", "type": "text", "label": "Submit screen information for missing answers", "importance": "low", "default": "You have not answered any questions.", "optional": true }, { "name": "endcardInformationMustHaveAnswer", "type": "text", "label": "Submit screen information for answer needed", "importance": "low", "default": "You have to answer at least one question before you can submit your answers.", "optional": true }, { "name": "endcardSubmitButton", "type": "text", "label": "Submit screen submit button", "importance": "low", "default": "Submit Answers", "optional": true }, { "name": "endcardSubmitMessage", "type": "text", "label": "Submit screen submit message", "importance": "low", "default": "Your answers have been submitted!", "optional": true }, { "name": "endcardTableRowAnswered", "type": "text", "label": "Submit screen table row title: Answered questions", "importance": "low", "default": "Answered questions", "optional": true }, { "name": "endcardTableRowScore", "type": "text", "label": "Submit screen table row title: Score", "importance": "low", "default": "Score", "optional": true }, { "name": "endcardAnsweredScore", "type": "text", "label": "Submit screen answered score", "importance": "low", "default": "answered", "optional": true }, { "name": "endCardTableRowSummaryWithScore", "type": "text", "label": "Submit screen row summary including score (for readspeakers)", "importance": "low", "default": "You got @score out of @total points for the @question that appeared after @minutes minutes and @seconds seconds.", "optional": true }, { "name": "endCardTableRowSummaryWithoutScore", "type": "text", "label": "Submit screen row summary for no score (for readspeakers)", "importance": "low", "default": "You have answered the @question that appeared after @minutes minutes and @seconds seconds.", "optional": true }, { "name": "videoProgressBar", "type": "text", "label": "Video Progressbar", "importance": "low", "default": "Video progress", "optional": true } ] } ]