audiorecorder.inc.php 814 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Created on 27.09.2006
  4. * Include the lazlo file necessary to use the audiorecorder
  5. * @author Sebastian Wagner <seba.wagner@gmail.com>
  6. * @author Eric Marguin <e.marguin@elixir-interactive.com>
  7. * @author Arnaud Ligot <arnaud@cblue.be>
  8. */
  9. list($width, $height) = $audio_recorder_studentview =='true' ? array(220, 28) : array(220,140);
  10. $path_to_lzx = api_get_setting('service_ppt2lp','path_to_lzx');
  11. if(!empty($path_to_lzx)){
  12. printf("<object type=\"application/x-shockwave-flash\" data=\"%s\"
  13. width='$width' height='$height'>
  14. <param name=\"movie\" value=\"%s\">
  15. <param name=\"quality\" value=\"high\">
  16. <param name=\"scale\" value=\"noscale\">
  17. <param name=\"salign\" value=\"LT\">
  18. <param name=\"menu\" value=\"false\"></object>",$path_to_lzx,$path_to_lzx);
  19. }
  20. ?>