- OSU Drupal 8 Overview
- Technical Manual
- Working with Content
- Working with Structure
- Working with Appearance
- Working with Configuration
- Working with People
- Working with Groups
- Advanced Topics
When looking at the default settings for the Video media type, we're reminded that a few fields are missing in the Source Mapping. These fields actually need to be added into the media type.
Once on the Add Field screen:
Add a New Field select field = Text (plain).
Re-use an Existing Field select field = leave as is.
Label field = Video ID.
Machine-readable Name field = this will auto construct from the Label field - it's suggested that this be overridden to include the same naming convention started with the other field that's present in this media type - media_video_id.
Click the Save and Continue button.
You will be redirected to the Video ID settings Edit tab:
Label field = should be preset with the label name you initially provided.
Help Text field = add some help text, if desired.
Required Field checkbox = will force a user to enter data in this field - not suggested for this field because it will be auto-filled and hidden from the user.
Default Value fieldset
Click the Save Settings button.
Once on the Add Field screen:
Add a New Field select field = Text (plain).
Re-use an Existing Field select field = leave as is.
Label field = Video Source Machine Name.
Machine-readable Name field = this will auto construct from the Label field - it's suggested that this be overridden to include the same naming convention started with the other field that's present in this media type - media_video_source_m_name. (There is a limit to the number of characters that can be used.)
Click the Save and Continue button.
The initial Video Source Machine Name field settings will appear in a Field Settings tab:
Maximum Length select field = 255 (leave as is).
Allowed Number of Values combination field = Limited 1 (leave as is).
Click the Save Field Settings button.
You will be redirected to the Video Source Machine Name settings Edit tab:
Label field = should be preset with the label name you initially provided.
Help Text field = add some help text, if desired.
Required Field checkbox = will force a user to enter data in this field - not suggested for this field because it will be auto-filled and hidden from the user.
Default Value fieldset
Click the Save Settings button.
Once on the Add Field screen:
Add a New Field select field = Text (plain).
Re-use an Existing Field select field = leave as is.
Label field = Local URL.
Machine-readable Name field = this will auto construct from the Label field - it's suggested that this be overridden to include the same naming convention started with the other field that's present in this media type - media_video_local_url.
Click the Save and Continue button.
You will be redirected to the Local URL settings Edit tab:
Label field = should be preset with the label name you initially provided.
Help Text field = add some help text, if desired.
Required Field checkbox = will force a user to enter data in this field - not suggested for this field because it will be auto-filled and hidden from the user.
Default Value fieldset
Click the Save Settings button.