SWF-Activity-Module
Maintained by
Matt Bury
The SWF Activity Module is a Moodle plugin for deploying multimedia Flash learning applications, also known as Flash templates, videos, and playlists.
Comments
Product ratings and reviews are coming to Moodle Marketplace. Until then, existing comments remain available to read, but new posts have been disabled.
I'm trying this with Moodle 3.1. it's working fine, except for the grade posting part. How to use the gradeupdate.php script? I tried manually calling the script with gradeupdate.php?id=XX&swfid=YY&rawscore=88 and it worked. but how to get the rawscore once a user submit?
It sounds like Flash is disabled and you're getting the alternative content displaying. The download link is hard-coded in mod/swf/viewlib.php, on lines 117 - 132, function swf_get_html5_embed().
I hope this helps!
I'm using your plugin for a year already and i must say it´s a plus to have.
Now, im trying to use it to play some videos and i have something that i dont know how to handle;
When playing a video from firefox i always get a "download" button that i want to disable, and the same with the "right click > save this video"
Can you please tell me how can i hide those options?
Thanks in advance.
It does help, the playlist works fine now, many thanks for getting back to me. Is there anyway to display the playlist as an overlay on the screen as there was in mplayer? We used to use this to pick the relevant track we required.
Paul
The correct URL to the playlist in your case would be src="http://localhost/moodle2/mod/swf/content.php/content/video/myidentifier/myplaylist.xml"
The playlist file would be in /moodledata/repository/swf/content/video/youridentifier/myplaylist.xml
URLs in the playlist that link to videos, audio, images, etc. should have the absolute URLs, e.g. http://localhost/moodle2/mod/swf/content.php/content/video/myidentifier/myvideo.mp4 or
I hope this helps!
We want to try and use this plugin in the same way as your excellent mplayer for Moodle 1.9 to provide the ability to use xml playlists in Moodle 2. However I'm unable to figure out where to put our media files and how to address them in the XML playlist. If I use absolute references e.g src="http://localhost/moodle2/file.php/99/flv/yourvideo_1.flv" as you suggest, I just receive a video not found or access denied error.
Would love to get this working, there doesn't seems to be any viable alternative in Moodle 2 to your old mplayer module - it's still blocking our upgrade from 1.9!
Many thanks for any input.
I like the swf activty in moodle 1.9,the version of moodle 1.9 can choose the swf file from course file's directory,but the version of moodle 2 can't.
I had found the module Repositories: Course File Area which replicates the Moodle 1.x course files functionality ,would you change the full url to file-selector ? I had tried the module for your mplayer module,and modified mplayer module,it run very well.
This very useful plugin does not have its English strings available for translations in AMOS for the 2.6 and 2.7 branches. Only the 2.5 branch is available.
Maybe it has a similar problem as described for the certificate plugin in the tracker CONTRIB-4946, but I am not a programmer, merely a translator.
Thanks for your help.
I haven't "officially" made it for production use but there aren't any more bugs that I know of. So far the design seems to be more or less final so it should be ready soon-ish.
Thank you for your patience
You can transcode the video file and crop off the green part while you're doing it. A good free and open source transcoder that can do this is http://handbrake.fr/ Transcodes to MP4 (and M4V which is the same) and MKV.
Good luck!
Thanks again for your work!
Jim