Changeset View
Changeset View
Standalone View
Standalone View
src/resources/js/meet/room.js
Show First 20 Lines • Show All 600 Lines • ▼ Show 20 Lines | function Room(container) | ||||
function publisherCreate(params, content) { | function publisherCreate(params, content) { | ||||
let isScreen = params.role & Roles.SCREEN | let isScreen = params.role & Roles.SCREEN | ||||
// Create the element | // Create the element | ||||
let wrapper = $( | let wrapper = $( | ||||
'<div class="meet-video">' | '<div class="meet-video">' | ||||
+ svgIcon('user', 'fas', 'watermark') | + svgIcon('user', 'fas', 'watermark') | ||||
+ '<div class="controls">' | + '<div class="controls">' | ||||
+ '<button type="button" class="btn btn-link link-setup hidden" title="' + $t('meet.media-setup') + '">' + svgIcon('cog') + '</button>' | + '<button type="button" class="btn btn-link link-setup hidden" title="' + $t('meet.media-setup') + '">' + svgIcon('gear') + '</button>' | ||||
+ '<div class="volume hidden"><input type="range" min="0" max="1" step="0.1" /></div>' | + '<div class="volume hidden"><input type="range" min="0" max="1" step="0.1" /></div>' | ||||
+ '<button type="button" class="btn btn-link link-audio hidden" title="' + $t('meet.menu-audio-mute') + '">' + svgIcon('volume-mute') + '</button>' | + '<button type="button" class="btn btn-link link-audio hidden" title="' + $t('meet.menu-audio-mute') + '">' + svgIcon('volume-xmark') + '</button>' | ||||
+ '<button type="button" class="btn btn-link link-fullscreen closed hidden" title="' + $t('meet.menu-fullscreen') + '">' + svgIcon('expand') + '</button>' | + '<button type="button" class="btn btn-link link-fullscreen closed hidden" title="' + $t('meet.menu-fullscreen') + '">' + svgIcon('expand') + '</button>' | ||||
+ '<button type="button" class="btn btn-link link-fullscreen open hidden" title="' + $t('meet.menu-fullscreen') + '">' + svgIcon('compress') + '</button>' | + '<button type="button" class="btn btn-link link-fullscreen open hidden" title="' + $t('meet.menu-fullscreen') + '">' + svgIcon('compress') + '</button>' | ||||
+ '</div>' | + '</div>' | ||||
+ '<div class="status">' | + '<div class="status">' | ||||
+ '<span class="bg-warning status-audio hidden">' + svgIcon('microphone-slash') + '</span>' | + '<span class="bg-warning status-audio hidden">' + svgIcon('microphone-slash') + '</span>' | ||||
+ '<span class="bg-warning status-video hidden">' + svgIcon('video-slash') + '</span>' | + '<span class="bg-warning status-video hidden">' + svgIcon('video-slash') + '</span>' | ||||
+ '</div>' | + '</div>' | ||||
+ '</div>' | + '</div>' | ||||
▲ Show 20 Lines • Show All 488 Lines • Show Last 20 Lines |