Structure Strip Feedback

I really like the Structure Strip content type, but I'm having trouble with its feedback. I typed in some short dummy text in each field, and after clicking the "check" button, it says my entries are either too long or too short. I've tried tweaking the minimum and maximum text length to Min 3, Max 1000 and dialed up the slack percentage to 50 (the maximum allowed) but I continue to get feedback that says my input was too long or too short. I don't see an option to set a character length for each field, yet the feedback is different for each field and seems random. I've tried in both Firefox and Chrome on a Mac, and I'm experiencing the same issue when I do the example activity on the H5P website.

I've attached screenshots to show my input and the feedback for both activities.

Thanks!

Kate

otacke's picture

Hi!

A Structure Strip is about the proportions of each text section relative to the others. The expected length therefore is computed based on the relative weight that you set for each section.

If, for instance, you have three sections (like intro, main and conclusion) and give them the weights 1, 3 and 1, the intro and conclusion would be expected to have the same length while the main section would need to be three times as long (+/- slack).

You can optionally set some absolute limits for the whole text, but these are rather a digital bonus that a classic paper based structure strip does not offer.

Best,

Oliver 

Ah, I see. I had been ignoring the weights, thinking they related to the scoring. Thank you for the explanation.

otacke's picture

Hi Kate!

That content type does not feature scoring, but your feedback tells me that I should update the description for the weight field to make its meaning more obvious. Thanks!

Cheers,
Oliver

Hi Oliver,

This is probably too much of a stretch, but it would be great (in a future iteration) to offer two options for checking, one that uses weighting of sections against each other and another that allows us to set a character or word count for each field (with +/- slack). Or possibly have a way to turn off/hide the "Check" button to use the activity purely as a guide for organizing writing with the option to copy (love that "copy" button).

Thanks again!

Kate

bearmana's picture

Good morning! I'm having the same issue as Kate. But I'm not sure how to update it. For example, in one use of this H5P, students would submit no more than 30 words per section. The weights were set to 1, because I frankly didn't know what to do with them. And the max was 30, slack of 10. But it's still showing too many or too few characters.

Suggestions to update this?

otacke's picture

Hi Kate!

You can already get rid of the button by switching the feedback mode to "While typing".

I don't think I will add fixed limits for each of the fields, because the purpose of structure strips is to get the proportions right.

Best,

Oliver 

Ah, yes. Switching the feedback mode works better for my objectives. Thank you!

And how do you manage to keep the text that the student writes? can you save it ? I do not find the way to do it...

otacke's picture

As with any other content type: You need to activate the save content state option in the plugin settings.

Hi Oliver,

We are using H5P with Brightspace, and when I complete the Structure Strip activity embedded within a Brightspace page using Chrome, I'm not able to copy the text in the fields. Nothing happens when I click the "Copy" button (there is no feedback and nothing is saved to my clipboard). However, this issue only occurs when the activity is sitting within a Brightspace page. When I complete the activity in H5P using Chrome, it works just fine. Same goes for the example Structure Strip activity on H5P.org. I've tested Firefox and Safari, and the activity works fine in my Brightspace page on both of those browsers. Is there some additional code I could add to the Brightspace page to resolve this Chrome issue?

Thanks,

Kate

BV52's picture

Hi Kate,

I think it is best that you reach out to H5P.com support by sending an email to [email protected].

-BV

Thank you, BV!

I've emailed H5P support about the issue.

otacke's picture

Hi Kate!

This is not strictly related to Structure Strip, but to H5P embedding content in Brightspace (or anywhere else) inside an iframe. By default, browsers do not allow to copy to the clipboard from within iframes if their content is from a different domain. The code that's used to generate the iframe (in your case on H5P.com) requires to have the `clipboard-write` property set using the so called "Permissions API".

This would be something like the usual H5P embed code but adding `allow="clipboard-write"`:

<iframe src="whatever-source" allow="clipboard-write" ... some other properties probably ...></iframe>

Cheers,

Oliver

Thank you, Oliver! I added allow="clipboard-write" to the iframe tag, and at first it didn't work, but I read here that if the iframe site is from a different origin than the parent page, you have to specify the origin site, so I added the h5p url after the allow property and it works!

otacke's picture

Hi Kate!

Kudos! I really like your attitude. Unfortunately, many people would have given up already and asked again, but you simply figured the details out yourself. Thumbs up! Yes, allow="clipboard-write *" or some less generous setting may be required.

Best,
Oliver

bearmana's picture

I'm having similar troubles as Kate and I'm not sure how to update the H5P so it works properly. For example: Students are supposed to write a SMART goal with 30 words in each section. It's not working at all. What settings should I create so it works properly?

Thank you.

otacke's picture

Hi bearmama!

Kate described different issues. Could you please elaborate what you mean by "It's not working at all"?

The purpose of structure strips (not even speaking of this implementation, but structure strips in general) are not used to impose a fixed number of characters or words per section, but to help learning to get the proportions of sections right. You cannot use it to enforce a certain number of words in each section. That's not a bug, but simply not what structure strips are meant to be used for.

Cheers,
Oliver