- sample calls to show how to use the api
This commit is contained in:
parent
d32ccde274
commit
4e0d1cf787
@ -24,6 +24,10 @@
|
||||
<script type="text/javascript" src="http://192.168.0.249/client/lib/bbb_api_cam_view.js"></script>
|
||||
<script type="text/javascript" src="http://192.168.0.235/3rd-party.js"></script>
|
||||
<script>
|
||||
window.chatLinkClicked = function(url) {
|
||||
window.open(url, '_blank');
|
||||
window.focus();
|
||||
}
|
||||
window.displayBBBClient = function() {
|
||||
var bbbc = document.getElementById("flashclient");
|
||||
var wcpc = document.getElementById("webcampreviewclient");
|
||||
|
@ -5,7 +5,7 @@ var registerListeners = function() {
|
||||
console.log("New Layout [" + bbbEvent.layoutID + "].");
|
||||
});
|
||||
BBB.listen("NewRoleEvent", function(bbbEvent) {
|
||||
console.log("Switched Presenter [amIPresenter=" + bbbEvent.amIPresenter + ",role=" + bbbEvent.role + ",newPresenterUserID=" + bbbEvent.newPresenterUserID + "].");
|
||||
console.log("New Role Event [amIPresenter=" + bbbEvent.amIPresenter + ",role=" + bbbEvent.role + ",newPresenterUserID=" + bbbEvent.newPresenterUserID + "].");
|
||||
});
|
||||
BBB.listen("SwitchedPresenterEvent", function(bbbEvent) {
|
||||
console.log("Switched Presenter [amIPresenter=" + bbbEvent.amIPresenter + ",role=" + bbbEvent.role + ",newPresenterUserID=" + bbbEvent.newPresenterUserID + "].");
|
||||
|
Loading…
Reference in New Issue
Block a user