ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


problem playing wmv files


  • 2006-01-06 07:01:43

    problem playing wmv files

    hi, we just upgraded to 1.5.2 as well as moved our installation to a new and improved server, but we experience a strange problem:

    when trying to view a .wmv file in internet explorer we are only presented with the "raw code" of the film within the browser window. in Firefox Windows Media Player opens, but the film does not start. In Opera the same. In all browsers you can download the film and start it locally.. a .mov file works fine in all browsers.

    now, the strange thing is that we have the same .wmv file on the same server but *outside* Atutor, and it works just fine: http://www.eksemskolen.no/?page_id=25

    also, same files worked like a charm on our old server, with Atutor 1.5.1..

    ...anyone?

    Things to describe:
    operating system - redhat
    version of ATutor - 1.5.2
    versions of php - recommended
    version of mysq l - recommended
    webserver & version - apache 2.0

  • 2006-01-06 07:14:26

    Re: problem playing .wmv files

    additional information:

    when uploading the file in the Atutor filemanager, it does not work as described above.

    when uploading the file via ftp to the server, and linking to it, as well as linking to it at the URL presentet above, it works fine! so it can not be the server settings I guess?

    the only difference we can see in the source code from version 1.5.1 to 1.5.2 is that

    http://[new-version-server]/atutor/get.php/film/modul1/kasuistikk1_2/4MM0.wmv

    http://[old-version-server]/atutor/content/21/film/modul1/kasuistikk1_2/4MM0.wmv

    ...which remind me that the content directory was within the atutor folder on the old installation where it worked, but outside it in the new installation.

    ...?

  • 2006-01-06 08:34:49

    missing wmv mime type

    Add the following line the the get.php file

    $mime['wmv'] = 'video/x-ms-wmv';

  • 2006-01-06 08:41:32

    Re: missing wmv mime type

    thanks, works like a charm!

  • 2006-08-17 04:37:59

    Re: missing wmv mime type

    experiencing the same problem on 1.5.3.2, to fix it add the following line to include/lib/mime.inc.php:

    $mime['wmv'] = array('video/x-ms-wmv', 'video');

    (would you include this in future versions?)