MDL-76785 tiny_media: define video width/height language strings.

AMOS BEGIN
 CPY [videoheight,atto_media],[videoheight,tiny_media]
 CPY [videowidth,atto_media],[videowidth,tiny_media]
AMOS END
This commit is contained in:
Paul Holden 2023-01-03 21:08:18 +00:00
parent cd072308e5
commit 3387060fe1
2 changed files with 8 additions and 4 deletions

View File

@ -98,5 +98,7 @@ $string['unusedfilesdesc'] = 'The following embedded files are not used in the t
$string['unusedfilesheader'] = 'Unused files';
$string['unusedfilesremovalnotice'] = 'Any unused files will be automatically deleted when saving changes.';
$string['video'] = 'Video';
$string['videoheight'] = 'Video height';
$string['videosourcelabel'] = 'Video source URL';
$string['videowidth'] = 'Video width';
$string['width'] = 'Width';

View File

@ -116,11 +116,13 @@
<div class="mb-1">
<label>{{#str}} size, tiny_media {{/str}}</label>
<div class="form-inline tiny_media_poster_size">
<label class="accesshide">{{#str}} videowidth, tiny_media {{/str}}</label>
<input type="text" class="form-control mr-1 tiny_media_width_entry input-mini" size="4" value="{{video.width}}"/>
<label for="vdisplayoptions_media-width-entry" class="accesshide">{{#str}} videowidth, tiny_media {{/str}}</label>
<input id="vdisplayoptions_media-width-entry" type="text" class="form-control mr-1 tiny_media_width_entry input-mini"
size="4" value="{{video.width}}"/>
x
<label class="accesshide">{{#str}} videoheight, tiny_media {{/str}}</label>
<input type="text" class="form-control ml-1 tiny_media_height_entry input-mini" size="4" value="{{video.height}}"/>
<label for="vdisplayoptions_media-height-entry" class="accesshide">{{#str}} videoheight, tiny_media {{/str}}</label>
<input id="vdisplayoptions_media-height-entry" type="text" class="form-control ml-1 tiny_media_height_entry input-mini"
size="4" value="{{video.height}}"/>
</div>
</div>
<div class="clearfix"></div>