<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<panel 
 border="true" 
 enabled="true" 
 follows="left|top|right|bottom"
 height="500" 
 label="General" 
 left="102" 
 mouse_opaque="true"
 name="Media Settings General" 
 help_topic = "media_settings_general"
 width="365">

  <text
   bottom_delta="-25"
   follows="top|left"
   height="15"
   left="10"
   name="home_label">
    Home Page:
  </text>
  <text
   visible="false" 
   bottom_delta="0"
   follows="top|left"
   height="15"
   left_delta="64"
   text_color="red"
   name="home_fails_whitelist_label">
    (This page does not pass the specified whitelist)
  </text>
  <line_editor 
   max_length_bytes="1024"
   bottom_delta="-24" 
   enabled="true" 
   follows="left|top" 
   font="SansSerif"
   height="20" 
   left="10" 
   name="home_url"
   tool_tip="The home page for this media source"
   width="340"> 
    <!--  <line_editor.commit_callback
	     function="Media.CommitHomeURL"/> -->
  </line_editor>

  <web_browser
   border_visible="true"
   bottom_delta="-133"
   follows="top|left"
   left="120"
   name="preview_media"
   width="128"
   height="128"
   start_url="about:blank"
   decouple_texture_size="true" />
  
  <text
   bottom_delta="-15"
   follows="top|left"
   height="15"
   left="164"
   name="preview_label">
    Preview
  </text>
  
  <text 
   bottom_delta="-20" 
   follows="top|left" 
   height="15" 
   left="10" 
   name="current_url_label">
    Current Page:
  </text>
  <text 
   name="current_url"
   max_length="1024"
   use_ellipses="true"
   bottom_delta="-20" 
   enabled="false" 
   follows="left|top" 
   font="SansSerif"
   height="20" 
   left="10" 
   tool_tip="The current page for this media source"
   value="" 
   width="340" />
  <button 
   bottom_delta="-20" 
   follows="top|left" 
   height="20" 
   label="Reset"
   left_delta="233" 
   name="current_url_reset_btn" 
   width="110"/>
  <check_box 
   bottom_delta="-25" 
   enabled="true" 
   follows="left|top" 
   font="SansSerifSmall"
   height="16"
   initial_value="false"
   label="Auto Loop" 
   left="10" 
   mouse_opaque="true"
   name="auto_loop" 
   radio_style="false" 
   width="150" />
  <check_box 
   bottom_delta="-25" 
   visible="false" 
   enabled="false" 
   follows="left|top" 
   font="SansSerifSmall"
   height="16" 
   initial_value="false"
   label="First Click Interacts" 
   left_delta="0" 
   mouse_opaque="true"
   name="first_click_interact" 
   radio_style="false" 
   width="150" />

  <check_box 
   bottom_delta="0" 
   enabled="true" 
   follows="left|top"
   font="SansSerifSmall"
   height="16" 
   initial_value="false"
   label="Auto Zoom" 
   left_delta="0" 
   mouse_opaque="true"
   name="auto_zoom" 
   radio_style="false" 
   width="150" />

  <check_box 
   bottom_delta="-25" 
   enabled="true" 
   follows="left|top" 
   font="SansSerifSmall"
   height="16" 
   initial_value="false"
   label="Auto Play Media" 
   left="10" 
   mouse_opaque="true"
   name="auto_play" 
   radio_style="false" 
   width="150" />
   
  <text 
   bottom_delta="-14" 
   follows="top|left" 
   height="15" 
   left="30" 
   width="340" 
   enabled="false" 
   name="media_setting_note">
    Note: Residents can override this setting
  </text>

  <check_box 
   bottom_delta="-25" 
   enabled="true" 
   follows="left|top" 
   font="SansSerifSmall"
   height="16" 
   initial_value="false"
   label="Auto Scale Media on Face of Object" 
   left="10" 
   mouse_opaque="true"
   name="auto_scale" 
   radio_style="false" 
   width="150" />
   
  <text 
   bottom_delta="-20" 
   follows="top|left" 
   height="15" 
   left="30" 
   name="size_label">
    Size:
  </text>
  
  <spinner 
   bottom_delta="0"
   decimal_digits="0" 
   enabled="true" 
   follows="left|top" 
   height="16"
   increment="1" 
   initial_value="256" 
   label="" 
   label_width="0"
   left_delta="68" 
   max_val="2048" 
   min_val="0" 
   mouse_opaque="true"
   name="width_pixels" 
   width="50" />
   
  <text bottom_delta="0" follows="top|left" height="15" left_delta="60" name="X_label">
	X
  </text>
  <spinner 
	  bottom_delta="0"
	  decimal_digits="0"
	  enabled="true"
	  follows="left|top" 
	  height="16"
	  increment="1"
	  initial_value="256" 
	  label=""
	  label_width="0"
	  left_delta="20" 
	  max_val="2048" 
	  min_val="0"
	  mouse_opaque="true"
	  name="height_pixels"
	  width="50" />
 
</panel>
