Non-core contributed modules

Hotpot enhancement to include SWF and FLV files with the mediaplugin

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.11
  • Fix Version/s: None
  • Component/s: Module: HotPot
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_19_STABLE

Description

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";

Activity

Hide
Gordon Bateson added a comment -

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

Show
Gordon Bateson added a comment - 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
Hide
David Horat added a comment -

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.

Show
David Horat added a comment - 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.
Hide
Gordon Bateson added a comment -

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.

Show
Gordon Bateson added a comment - 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.
Hide
Gordon Bateson added a comment -

This feature will be added in the next release of the HotPot module, due out Aug / Sept 2007

Show
Gordon Bateson added a comment - This feature will be added in the next release of the HotPot module, due out Aug / Sept 2007
Hide
David Horat added a comment -

Still not done.

Show
David Horat added a comment - Still not done.
Hide
Gordon Bateson added a comment -

Tis now done.
Merry Christmas

Show
Gordon Bateson added a comment - Tis now done. Merry Christmas
Hide
David Horat added a comment -

Thanks
Merry Christmas!

Show
David Horat added a comment - Thanks Merry Christmas!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: