Issue Details (XML | Word | Printable)

Key: MDL-6467
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Gordon Bateson
Reporter: David Horat
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Hotpot enhancement to include SWF and FLV files with the mediaplugin

Created: 06/Sep/06 06:05 AM   Updated: 21/Dec/08 08:51 PM
Return to search
Component/s: Hotpot
Affects Version/s: 1.6.1
Fix Version/s: 1.6.9, 1.7.7, 1.8.8, 1.9.4, 2.0

Environment: All

Participants: David Horat and Gordon Bateson
Security Level: None
Resolved date: 21/Dec/08
Affected Branches: MOODLE_16_STABLE
Fixed Branches: MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE


 Description  « Hide
Hotpot enhancement to include SWF and FLV files with the mediaplugin.

In the file "/mod/hotpot/lib.php", function "adjust_media_urls()", just change the line

$filetype = "avi|mpeg|mpg|mp3|mov|wmv";

with the line

$filetype = "avi|mpeg|mpg|mp3|mov|wmv|swf|flv";

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Gordon Bateson added a comment - 14/Sep/06 07:45 AM
Could you post a particular <OBJECT> tag which uses ".swf" or ".fla" file sthat you would like to use. Or even better, could you post a HotPot quiz that uses such a tag.

thank s
Gordon


David Horat added a comment - 14/Sep/06 05:46 PM
Yes, that´s the main idea. You create a HotPot quiz that uses a SWF or FLA files either as an OBJECT or in a normal link, and if the mediaplayer is set to adjust the urls, then they will be changed with the correspondent player. I am currently using this patch in a production environment , plus another patch I posted here about FLV files, and it works perfect.

Gordon Bateson added a comment - 14/Sep/06 07:22 PM
I think there was a reason I orginally left out SWF and FLA files. I can't quite remember the reason at the moment, but I will look into it if you can end me a HotPot quiz with one of the <OBJECT> tags you describe. Please upload the quiz to this site, or mail it to me direct to gordon at-sign kanazawa hyphen gu dot ac dot jp. If possible please send the Hot Potatoes source file (not the html file). Thanks.

Gordon Bateson added a comment - 28/Aug/07 06:34 AM
This feature will be added in the next release of the HotPot module, due out Aug / Sept 2007

David Horat added a comment - 20/Dec/08 11:08 AM
Still not done.

Gordon Bateson added a comment - 21/Dec/08 10:56 AM
Tis now done.
Merry Christmas

David Horat added a comment - 21/Dec/08 08:49 PM
Thanks
Merry Christmas!