You are here

function theme_bbb_meeting in BigBlueButton 7

Same name and namespace in other branches
  1. 8 modules/bbb_node/bbb_node.module \theme_bbb_meeting()
  2. 6 bbb.module \theme_bbb_meeting()

Theme inline meeting

2 theme calls to theme_bbb_meeting()
bbb_meeting_attend in ./bbb.module
Redirect to big blue button instance; Menu callback
bbb_meeting_moderate in ./bbb.module
Redirect to big blue button instance; Menu callback

File

./bbb.module, line 883
Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.

Code

function theme_bbb_meeting($meeting, $variables = array()) {
  $url = url('node/' . $meeting['meeting']->nid . '/redirect/' . $meeting['mode'], array(
    'absolute' => TRUE,
  ));
  $output = '<iframe src="' . $url . '" style="height:' . $meeting['height'] . ';width:' . $meeting['width'] . ';border:0;"></iframe>';
  return $output;
}