Skip to content

Commit

Permalink
Merge pull request #142 from on8pz/master
Browse files Browse the repository at this point in the history
Make stream.py BBB2.4 compatible while staying backwards compatible
  • Loading branch information
mtsonline authored Dec 3, 2021
2 parents 0f6be59 + 400d79b commit 58ef794
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ def bbb_browser():
browser.execute_script("document.querySelector('[aria-label=\"Users and messages toggle with new message notification\"]').style.display='none';")
browser.execute_script("document.querySelector('[aria-label=\"Options\"]').style.display='none';")
browser.execute_script("document.querySelector('[aria-label=\"Actions bar\"]').style.display='none';")
browser.execute_script("document.getElementById('container').setAttribute('style','margin-bottom:30px');")
try:
browser.execute_script("document.getElementById('container').setAttribute('style','margin-bottom:30px');")
except JavascriptException:
browser.execute_script("document.getElementById('app').setAttribute('style','margin-bottom:30px');")

def create_meeting():
create_params = {}
Expand Down

0 comments on commit 58ef794

Please sign in to comment.