adaptlearning / adapt-youtube

A YouTube Player component for Adapt
GNU General Public License v3.0
6 stars 2 forks source link

Schema issue preventing component rendering form in AAT v1 #31

Closed joe-allen-89 closed 2 months ago

joe-allen-89 commented 4 months ago

Subject of the issue/enhancement/features

Originally raised during v1 testing - https://github.com/cgkineo/adapt-authoring/issues/40

When adding adapt-youtube to a course in AAT the form is unable to render due to below required:

https://github.com/adaptlearning/adapt-youtube/blob/e9fd6fcf660b981d45c8349ac0c553819ba6d4f2/schema/component.schema.json#L10C1-L12C9

Suggest moving required to _media itself to make the source required:

"required": [ "_source"],

Your environment

Steps to reproduce

github-actions[bot] commented 2 months ago

:tada: This issue has been resolved in version 3.2.2 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: