- add example in 3rd party html to lock unlock layout
This commit is contained in:
parent
028db2282e
commit
3265e6c2a1
@ -42,6 +42,8 @@
|
||||
<button type="button" onclick="unmuteAll()">Unmute All</button>
|
||||
<button type="button" onclick="switchLayout('Video Chat')">Switch Video Layout</button>
|
||||
<button type="button" onclick="switchLayout('Default')">Switch Default Layout</button>
|
||||
<button type="button" onclick="lockLayout(true)">Lock Layout</button>
|
||||
<button type="button" onclick="lockLayout(false)">Unlock Layout</button>
|
||||
<button type="button" onclick="sendPublicChat()">Send Public Chat</button>
|
||||
<button type="button" onclick="sendPrivateChat()">Send Private Chat</button>
|
||||
</div>
|
||||
|
@ -55,6 +55,11 @@ var switchLayout = function(newLayout) {
|
||||
BBB.switchLayout(newLayout);
|
||||
}
|
||||
|
||||
var lockLayout = function(lock) {
|
||||
BBB.lockLayout(lock);
|
||||
}
|
||||
|
||||
|
||||
var sendPublicChat = function () {
|
||||
var message = "Hello from the Javascript API";
|
||||
BBB.sendPublicChatMessage('0x7A7A7A', "en", message);
|
||||
|
@ -46,6 +46,8 @@
|
||||
<button type="button" onclick="unmuteAll()">Unmute All</button>
|
||||
<button type="button" onclick="switchLayout('Video Chat')">Switch Video Layout</button>
|
||||
<button type="button" onclick="switchLayout('Default')">Switch Default Layout</button>
|
||||
<button type="button" onclick="lockLayout(true)">Lock Layout</button>
|
||||
<button type="button" onclick="lockLayout(false)">Unlock Layout</button>
|
||||
<button type="button" onclick="sendPublicChat()">Send Public Chat</button>
|
||||
<button type="button" onclick="sendPrivateChat()">Send Private Chat</button>
|
||||
</div>
|
||||
|
@ -49,6 +49,11 @@ var switchLayout = function(newLayout) {
|
||||
BBB.switchLayout(newLayout);
|
||||
}
|
||||
|
||||
var lockLayout = function(lock) {
|
||||
BBB.lockLayout(lock);
|
||||
}
|
||||
|
||||
|
||||
var sendPublicChat = function () {
|
||||
var message = "Hello from the Javascript API";
|
||||
BBB.sendPublicChatMessage('0x7A7A7A', "en", message);
|
||||
|
Loading…
Reference in New Issue
Block a user