-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Bower normalization & updates * ES Linting * Add v1 AAT schemas & made updates * Tested in AAT v1 * README Adjustments
- Loading branch information
1 parent
6f4b8c4
commit d31aa47
Showing
7 changed files
with
219 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
{ | ||
"name": "adapt-vimeo", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/adaptlearning/adapt-vimeo.git" | ||
}, | ||
"version": "3.1.1", | ||
"framework": ">=5.19.1", | ||
"homepage": "https://github.com/adaptlearning/adapt-vimeo", | ||
"issues": "https://github.com/adaptlearning/adapt-vimeo/issues/new", | ||
"issues": "https://github.com/adaptlearning/adapt-vimeo/issues", | ||
"component": "vimeo", | ||
"displayName": "Vimeo Player", | ||
"description": "Vimeo Player for Adapt", | ||
"targetAttribute": "_vimeo", | ||
"displayName": "Vimeo", | ||
"description": "Media player for when content needs to be streamed from the video hosting platform, Vimeo.", | ||
"main": "/js/adapt-vimeo.js", | ||
"keywords": [ | ||
"adapt-plugin", | ||
"adapt-component" | ||
], | ||
"license": "GPL-3.0", | ||
"private": true, | ||
"authors": [ | ||
"Dan Storey <[email protected]>" | ||
], | ||
"license": "GPL-3.0", | ||
"private": true, | ||
"devDependencies": { | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,23 @@ | ||
{ | ||
"name": "adapt-vimeo", | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/adaptlearning/adapt-vimeo.git" | ||
}, | ||
"version": "3.1.1", | ||
"framework": ">=5.19.1", | ||
"homepage": "https://github.com/adaptlearning/adapt-vimeo", | ||
"issues": "https://github.com/adaptlearning/adapt-vimeo/issues/new", | ||
"issues": "https://github.com/adaptlearning/adapt-vimeo/issues", | ||
"component": "vimeo", | ||
"displayName": "Vimeo Player", | ||
"description": "Vimeo Player for Adapt", | ||
"targetAttribute": "_vimeo", | ||
"displayName": "Vimeo", | ||
"description": "Media player for when content needs to be streamed from the video hosting platform, Vimeo.", | ||
"main": "/js/adapt-vimeo.js", | ||
"keywords": [ | ||
"adapt-plugin", | ||
"adapt-component" | ||
], | ||
"license": "GPL-3.0", | ||
"private": true, | ||
"authors": [ | ||
"Dan Storey <[email protected]>" | ||
], | ||
"license": "GPL-3.0", | ||
"private": true, | ||
"devDependencies": { | ||
"@semantic-release/commit-analyzer": "^9.0.2", | ||
"@semantic-release/git": "^10.0.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
{ | ||
"$anchor": "vimeo-component", | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"type": "object", | ||
"$merge": { | ||
"source": { | ||
"$ref": "component" | ||
}, | ||
"with": { | ||
"required": [ | ||
"_media" | ||
], | ||
"properties": { | ||
"_supportedLayout": { | ||
"type": "string", | ||
"title": "Supported layout", | ||
"default": "both", | ||
"enum": [ | ||
"full-width", | ||
"half-width", | ||
"both" | ||
], | ||
"_adapt": { | ||
"editorOnly": true | ||
} | ||
}, | ||
"instruction": { | ||
"type": "string", | ||
"title": "Instruction", | ||
"description": "This is the instruction text", | ||
"default": "Select the play button to start the video.", | ||
"_adapt": { | ||
"translatable": true | ||
} | ||
}, | ||
"_setCompletionOn": { | ||
"type": "string", | ||
"title": "Set completion of Video on", | ||
"description": "Defines what media event should trigger completion of this component.", | ||
"default": "play", | ||
"enum": [ | ||
"inview", | ||
"play", | ||
"ended" | ||
], | ||
"_backboneForms": "Select" | ||
}, | ||
"_media": { | ||
"type": "object", | ||
"title": "Media settings", | ||
"properties": { | ||
"_source": { | ||
"type": "string", | ||
"title": "Source URL", | ||
"description": "The URL of the Vimeo video you want to be displayed. This can be a direct, or an embed link", | ||
"default": "", | ||
"_backboneForms": { | ||
"editorAttrs": { | ||
"placeholder": "//www.vimeo.com/288344114" | ||
} | ||
} | ||
}, | ||
"_autoplay": { | ||
"type": "boolean", | ||
"title": "Autoplay", | ||
"description": "Specifies whether or not the video will automatically start to play when the player loads (where supported).", | ||
"default": false | ||
}, | ||
"_loop": { | ||
"type": "boolean", | ||
"title": "Loop", | ||
"description": "Whether to play the video on a loop or not.", | ||
"default": false | ||
}, | ||
"_pauseWhenOffScreen": { | ||
"type": "boolean", | ||
"title": "Pause playback when video is no longer in view.", | ||
"default": false | ||
} | ||
} | ||
}, | ||
"_transcript": { | ||
"type": "object", | ||
"title": "Transcript", | ||
"default": {}, | ||
"properties": { | ||
"_setCompletionOnView": { | ||
"type": "boolean", | ||
"title": "Mark this component as complete when transcript is shown", | ||
"default": true | ||
}, | ||
"_inlineTranscript": { | ||
"type": "boolean", | ||
"title": "Enable inline transcript", | ||
"default": false | ||
}, | ||
"_externalTranscript": { | ||
"type": "boolean", | ||
"title": "Enable linked transcript file", | ||
"default": false | ||
}, | ||
"inlineTranscriptButton": { | ||
"type": "string", | ||
"title": "Inline transcript open button label", | ||
"default": "", | ||
"_adapt": { | ||
"translatable": true | ||
} | ||
}, | ||
"inlineTranscriptCloseButton": { | ||
"type": "string", | ||
"title": "Inline transcript close button label", | ||
"default": "", | ||
"_adapt": { | ||
"translatable": true | ||
} | ||
}, | ||
"inlineTranscriptBody": { | ||
"type": "string", | ||
"title": "Inline transcript", | ||
"default": "", | ||
"_adapt": { | ||
"translatable": true | ||
}, | ||
"_backboneForms": "TextArea" | ||
}, | ||
"transcriptLinkButton": { | ||
"type": "string", | ||
"title": "Linked transcript file button label", | ||
"default": "", | ||
"_adapt": { | ||
"translatable": true | ||
} | ||
}, | ||
"transcriptLink": { | ||
"type": "string", | ||
"isObjectId": true, | ||
"title": "Linked transcript file source", | ||
"_backboneForms": { | ||
"type": "Asset", | ||
"media": "other" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.