Problems opening mp3, PDF, video, etc, resource files.

Problems opening mp3, PDF, video, etc, resource files.

by Jonathan Taylor -
Number of replies: 1
I want files (PDFs, mp3s, video files, etc) to automatically open/play in a popup window. For the life of me, I can't figure out how. In /mod/resource/type/file/resource.class.php I have all mime types set to $embedded = true; but the behavior I get is very erratic.

For example, with Safari in OS X, mp3 resource files once played in a popup window with Quicktime. Now when the window opens, I get the QT logo with a question mark over it. The same resource plays fine in Firefox under OS X. But in Windows, both Firefox and IE force download. This is so frustrating. How can I make the behavior more regular and universal. On top of this, some users are forcefully logged out when trying to open PDF files but only on certain computers and both on Macbook. PDFs should just open with Apple's built in Preview. This is really getting annoying. Also, on some platforms with certain browsers, if you right click the resource and try a save as, the file is downloaded as a php or html file.

Any help is so gratefully appreciated.
Average of ratings: -