Allow the media player window to be minimized when there is no video content
The media player changed recently where when you select the media upload and try to embed an mp3 inside a Canvas assignment the html code that was generated was using HTML5 audio tag and serving the audio file directly from the file system using a file path that included the course number and file number and it appears to the user as a thin play, pause bar.
Recently this process has changed to generating html that uses an iframe to serve up both video and audio which means there is a large video box that can not be minimized for content that doesn't have video.
The use case is Music teachers mostly just want to play audio tracks and might have a dozen or more clips on a page without wasting space for generic thumbnails.
code examples and screen shots below
HTML5 baked in audio player
Code for the above player:
<p>
<img src="https://delmar.beta.instructure.com/courses/1503438/files/73991226/preview" alt="Get the Party.png" width="600" height="79" data-api-endpoint="https://delmar.beta.instructure.com/api/v1/courses/1503438/files/73991226" data-api-returntype="File" />
</p>
New Iframe media upload feature
Source code generated for the player above:
<p>
<iframe style="width: 320px; height: 250px; display: inline-block;" title="Audio player for Your Love.mp3" data-media-type="audio" src="https://delmar.beta.instructure.com/media_objects_iframe/m-579CJhBFVFqEPveCGreLio1bckQhnRVd?type=audio" data-media-id="m-579CJhBFVFqEPveCGreLio1bckQhnRVd"></iframe>
</p>
I would be interested when this change occurred because I couldn't find any information to share with my users. I expect the change is due to the resources required to serve up media from the file system, which I understand but let's get the interface tweaked to take up less real estate when only uploading audio files.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.