Media files, including video and audio, can be added into Glasshouse and displayed with other content on pages or blocks. Glasshouse uses jwplayer for video playback. When a media file is added to Glasshouse, a Media asset is created, enabling customisations to be added to the media file. Media assets can have captions added, be grouped into playlists, be embedded from external sites and have high/low quality versions, amongst other options.
Further options from within the Media asset window.
Media can be loaded directly from another web page by adding the URL of the video into the External URL field.
Add tags to the media asset to make it searchable. If a search function is set-up on your website, tags can be used to categorise searchable content by subject or other criteria.
The width of the media file can be restricted by adding a percentage or pixel value into the width field. By default, media will play at 100% width. The height of the media file will automatically re-adjust if the width is changed to maintain aspect ratio. However if needed, a height value can be specified also.
By default, jwplayer plays media in 16:9 aspect ratio. If needed, an alternate aspect ratio can be entered here.
Checking the audio only checkbox will restrict jwplayer to display only audio and not video.
Checking the autoplay checkbox will make the video start once it comes into view. This option only works with slider blocks.
When a .srt (closed caption file) is added to the media asset, the captions will be auto-filled into the Subtitles field. These can then be manually edited. The .srt file will be updated with any changes made to the subtitles here once changes have been saved.
If a user is accessing your site with the help of accessibility tools such as a screen-reader and there are no subtitles added, the text in this field will be displayed.
The media file is the actual video or audio file for which the media asset is created. If replacing/updating the media file, ensure the name of the file is the same as the older version, otherwise a new media asset will be created.
The Advanced menu provides upload options for high and low quality versions of the media file. These versions can be selected when playing the media asset from the front end.
Upload a .srt file to create captions for the media asset.
By default, Glasshouse will create a still image from the first frame of the video to show before the media is played. A different image can be added here instead if desired.
Start in the Media tab in the left-hand Navigation panel.
The other options within the Media asset window are covered further in the Options section below.
Navigate to the folder in Files to add the media file to.
Depending on the page type, there may be a Media tab at the top of the page. For sequence pages, media will need to be added in a block.
The media asset can be directly edited after it has been selected by clicking the Edit the video data text.
Alternatively, the media asset can be created on the spot, by clicking the Add Media button. This will give the the same options for uploading the media file and editing the media asset options as can be accessed through the Media tab.
The media asset can be removed from the block by clicking on the Media to display dropdown menu and selecting the default text (Select media) rather than a media asset.
When adding media to content, a playlist can be created from multiple media assets. Start in the Media tab of the block to add the media playlist to.
Media assets can be removed from the playlist by clicking the Unlink button on the right-hand side of the playlist listing preview.
Underneath the playlist area are fields for restricting the height or width of the media. These can be either percentage or pixel values.