Commit 8a6e0c68 authored by Aaron Wells's avatar Aaron Wells
Browse files

Bug fixes and cleanup on new HTML5 media block

Bug 1397131


Change-Id: I90381d94eae44abae300082a77277b0f5b045f7d
parent 1041f764
......@@ -19,3 +19,5 @@ $string['flashanimation'] = 'Flash animation';
$string['typeremoved'] = 'This block points to a media type that has been disallowed by the administrator';
$string['configdesc1'] = 'Configure which file types users can embed into this block. If you turn off a filetype that has already been used in a block, it will not be rendered any more';
$string['browsercannotplay'] = 'Your web browser cannot play this media.';
\ No newline at end of file
......@@ -14,3 +14,4 @@ Modifications
- Move videojs.css into raw theme (htdocs/theme/raw/plugintype/artefact/file/blocktype/internalmedia/style/style.css)
- Added custom style ".vjs-audio" to style.css to make the play button on audio players fit inside the controls
\ No newline at end of file
......@@ -1234,4 +1234,20 @@ video::-webkit-media-text-track-display {
font-size: 1.2em;
line-height: 1.5;
padding: 20px 24px;
z-index: 1; }
\ No newline at end of file
z-index: 1; }
/* Mahara customizations */
/* Ensure player block doesn't overflow into adjacent columns */
.video-js {
max-width: 100%;
/* smaller "play" button for audio files */
.vjs-audio .vjs-big-play-button {
max-height: 100%;
font-size: 2em;
line-height: 1em;
height: 1em;
margin-top: -0.5em
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment