I am a bit unhappy about the way that powerpoint files are currently managed: they require taht the student has powerpoint installed, and even then presentation made with openoffice get often screwed.
I tried to export the presentations in jpg files and package them in a simple SCORM module, but then the SCORM player uses only a ridiculous small part of the screen for the slides, making some of them unreadable, and the navigation is ugly.
The thing works if I upload the page and the images on moodledata and then link the page as a html resource. However, this require that I manually prepare a modified page for each presentation, and this is a bit clumsy. So I thought that I could write a module around it, so that a little php could build the page for me.
But I could only find information on writing activity modules, while this one would really be a resource, not an activity.
How do you add a new type of resource?
You can add new resource types by adding a subdirectory with the name of the new resourcetype (say
presentation) to mod/resource/type/
Inside you place a file
resource.class.php which has a class to extend the base class:
class resource_presentation extends resource_base
Now you can override the function display() of the base class to write your own function to display the new resource type
You probably need a configuration screen for the new resource type as well. You can do that by overriding the function setup() and adding a form with the name presentation.html with fields you may need for the new resource type.
I guess this makes it easier because you don't have to write backup code. Most of the stuff is done by the base class.
Like always, I forgot to mention the more obvious solutions...
Use Openoffice to export the presentations as Flash files. They integrate nicely. Most of the browser have a flash plugin.
>integrate nicely. Most of the browser have a flash plugin.
I never thought of this. I will give it a try.
> Import powerpoint html into the lesson module
I have tried this. It shrinks the slides too much for my taste, wasting at least one third of the screen, and you can't use the keyboard for navigation. Furthermore, the splash screen (index od slides) is ugly.
>>integrate nicely. Most of the browser have a flash plugin.
>I never thought of this. I will give it a try.
Ok, I tried and it is really cool!
Pity that it only allows to navigate forward (when watching a presentation by yourself, it could be useful sometimes to go back to a previous slide).
Nevertheless, I am lazy enough to use this one and give up to my idea for the moment, unless I found that the flash plugin is not available for some browswers/platforms.
Yes, I had seen that, but that is much more complex (and complete) than using a quick html page to reuse a ppt presentation that I am too lazy to elaborate further before putting it online..
Thanks for the useful informations about resources!
It doesn't take the place of a fully narrated video, but it surely was easy! And the file size was much smaller.
Thanks for the tip!
Just looked at S5 and yes it looks very nice, but I wonder why cant you convert your powerpoint presentation into Pdf? It's simple and it works.