Forums | Mahara Community

Open Discussion /
Problems with Scorch files


anonymous profile picture
Account deleted
Posts: 1

27 April 2011, 10:40

Can anyone help. Have been trying to put exported scorch files from sibelius into Mahara as a some HTML block. This is accepted but the file is not displayed correctly in Mahara and I am asked where the scorch player is. The file plays if I save it to the desktop and then open in a browser including Firefox and Safari but won't open whn put into Mahara. Does anyone know a work around as it would be a great way to display students scores at our Creative Arts Festival. Any help appreciated.

François Marier's profile picture
Posts: 411

27 April 2011, 17:50

Hi Ian,

All HTML content in Mahara is filtered using HTML Purifier for security reasons.

What you probably need to do is write a filter to allow the specific content (which I assume is using something Flash-like) to get through the filter.

If you look in this directory:

  htdocs/lib/htmlpurifiercustom

there are sample filters for Twitter, Skype and Youtube.

Cheers,

Francois

Nathan Friend's profile picture
Posts: 12

04 May 2011, 2:28

Hi Francois,

Are there any instruction on how to write a HTML Purifier filter?  An example Scorch HTML snipit is as follows:


<object id="ScorchPlugin"
classid="clsid:A8F2B9BD-A6A0-486A-9744-18920D898429"
width="604"
height="896"
codebase="http://www.sibelius.com/download/software/win/ActiveXPlugin.cab#4,0,0,0">
<param name="src" value="Minor_Swing.sib">
<param name="type" value="application/x-sibelius-score">
<param name="scorch_minimum_version" value="5000">
<param name="scorch_preferred_version" value="5000">
<param name="scorch_shrink_limit" value="90">
<param name="scorch_shrink_limit" value="90">
<param name="SplitPlayBack" value="1">
<param name="SplitView" value="0">
<param name="SplitNumSystems" value="1">
<embed src="Minor_Swing.sib"
scorch_minimum_version="5000"
scorch_preferred_version="5000"
scorch_shrink_limit="90"
width="604"
height="896"
type="application/x-sibelius-score"
pluginspage="http://www.sibelius.com/cgi/plugin.pl"
SplitView="0"
SplitNumSystems="1" SplitPlayBack="1">
</embed>
</object>

I guess I need somthing that allows , Object, param and embed tags....

François Marier's profile picture
Posts: 411

04 May 2011, 19:00

That's odd, HTML Purifier should be letting through the object and embed tags already.

You can file a bug on the tracker if you'd like. Hopefully someone will have time to dig into this one and try to figure out what's preventing these from working. (I suspect it might be a bug in Purifier.)

Cheers,

Francois

Nathan Friend's profile picture
Posts: 12
Nathan Friend's profile picture
Posts: 12

20 June 2011, 5:19

Hi,

I notice the bug has had it's status changed to Triaged, does this mean there is a fix?

 

Cheers,

 

Nahtan.

Heinz Krettek's profile picture
Posts: 480

20 June 2011, 6:43

Hi Nathan,

trinaged means that a second person has "proofed" the bug and has noticed the same buggy behaviour.

A "Fix committed" means that it has been fixed.

HTH

Heinz

Kristina Hoeppner's profile picture
Posts: 4863

20 June 2011, 16:54

Hello Nathan and Heinz,

Triaged only means that the bug report has been looked at and classified, e.g. received a priority, maybe a milestone.

Only when the status is "confirmed" has somebody looked at it and seen the same behavior. Wink Sometimes a bug can also make it from "triaged" directly to "in progress".

Cheers

Kristina

François Marier's profile picture
Posts: 411

20 June 2011, 18:19

What Kristina has explained is also described in more details here:

  https://wiki.mahara.org/index.php/Developer_Area/Bug_Status

Cheers,

Francois

Heinz Krettek's profile picture
Posts: 480

21 June 2011, 1:03

Hello,

today will be a good day; H1 learnt something new.

Cheers Heinz

10 results