--- includes/media_brightcove.admin.inc Thu Jan 15 01:13:00 1970 +++ includes/media_brightcove.admin.inc Thu Jan 15 01:13:00 1970 @@ -65,6 +65,20 @@ '#maxlength' => 13, '#suffix' => '
', ); + $form['player'][media_brightcove_variable_name('wmode')] = array( + '#type' => 'select', + '#title' => t('wmode Options'), + '#description' => t("Sets the Window Mode property of the Flash movie for transparency, layering, and positioning in the browser."), + '#default_value' => media_brightcove_variable_get('wmode'), + '#options' => array('window' => 'window', 'opaque'=> 'opaque', 'transparent' => 'transparent'), + ); + $form['player'][media_brightcove_variable_name('allow_script_access')] = array( + '#type' => 'select', + '#title' => t('AllowScriptAccess Otions'), + '#description' => t("Controls the ability to perform outbound URL access from within the SWF file."), + '#default_value' => media_brightcove_variable_get('allow_script_access'), + '#options' => array('always' => 'always', 'sameDomain'=> 'sameDomain', 'never' => 'never'), + ); $form['api'] = array( '#type' => 'fieldset', --- themes/media_brightcove.theme.inc Thu Jan 15 01:13:00 1970 +++ themes/media_brightcove.theme.inc Thu Jan 15 01:13:00 1970 @@ -54,6 +54,8 @@ $variables['div_id'] = 'media-brightcove-'. ($count++); $variables['classes'] = array('media-brightcove'); $variables['availability'] = TRUE; + $variables['wmode'] = variable_get(media_brightcove_variable_name('wmode'), 'opaque'); + $variables['allow_script_access'] = variable_get(media_brightcove_variable_name('allow_script_access'), 'always'); // Display a message if a video is currently unavailable. if (media_brightcove_variable_get('check_for_unavailable') && media_brightcove_echove_path() && !media_brightcove_video_available($variables['video_id']) && ($unavailable_message = media_brightcove_variable_get('status_display_unavailable'))) { @@ -84,7 +86,7 @@ // @TODO: Tie this in. $autostart = $variables['options']['autoplay'] ? 'autoStart=true' : 'autoStart=false'; $variables['output'] = << + OUTPUT; } }