Frame/space size on screen

I realise this is probably a stupid question, but...

When creating content with the Moodle plugin, the size of the frame is slightly too large to fit on the screen when you play it (on a desktop PC) - ie the edges are cut off and you need to scroll to get to the 'check' button or similar. Is there any way of getting the frame to fit the screen? I know you can specify the size in px, but this doesn't change the size of the frame in relation to the screen (I think I understand why thanks to some searching on here).

On a mobile the frame is right when vertical, but then cuts off the edges (and doesn't allow zooming) when horizontal - this is a pain as horizontal is better for making the most of the screen space and making it easier to read.

Am I missing something really obvious?

BV52's picture

Hi loccoli,

Can you please attach screenshots. Also can you please specify which content are you using.

-BV52

Hi BV52,

I've attached a couple of screenshots from my desktop. Mobile screen is similar when horizontal because the screen is also a wider ratio than 2:1

Content type includes: quiz (question set) - drag and drop (default frame size is a 2:1 ratio) and course presentation.

I understand that the frame is adjusted for the device - but it's based on the width - so it fits horizontally and then goes too far vertically and requires scrolling to access the full frame (especially navigation buttons). I know in drag and drop I can change the frame size so that the ratio makes for a wider frame (say, 5:2) and that mitigates it, however as far as I can tell, other content types in quiz(question set) don't allow setting the frame size (determined by the content, which makes sense), and the slides in course presentation seem to be fixed at a standard size (it seems 2:1 ratio again). Can you adjust these?

If this is just the way it is, so be it, but my bosses are bothered by not having the frame fit completely onto the screen (it fits if there is something affecting the width, eg. you have the navigation or administration tabs open on the side of Moodle which reduces the width of the space the frame is fitted to)

Btw - Moodle 3.1

 

thomasmars's picture

Hi,
Like you mention the height of the activities are based on the width so that they will scale responsively to any device, be it a watch or a projector. If you want to decrease the height of the activity, and want this to be set relative to device you can use a different unit then pixels for specifying the width of the H5P parent container. You can read more about the different units you can specify width in at mdn. If you reduce the width, the height will typically be reduced as well, you can also set a max-height for the parent container, if you wish the height to never exceed 100% of the page for example.

Hope this helps. Best regards, Thomas

...and here is a shot from an android mobile on chrome with the same issue

Hello. I have the same issue as Ioccoli. I'm trying to fit the image to a laptop screen so the user doesn't have to drag, scroll the drop. I've attached an image. This 600 x 300 px setting would be perfect but the drag box size depends on the height it seems. When increase the px height the boxes get smaller but the image gets longer which causes the scrolling. 

Is there any way to just change the box size or is it depending on the height of the image?

Attachments: 

Is there anyway to change the size of the drag boxes without increasing the px size of the practice box? They seem to be dependent on the height px. As you can see in the attached image, the 600x300 size is perfect but the box sizes are too big. To get the box sizes smaller i have to increase the height px but that causes the image height to increase which put my users in a click drag, scroll and place situation which isn't ideal. 

Attachments: 
BV52's picture

Hi rachelgrz,

I'm not sure I follow completely. Are you using the task size option to adjust the size of the drag boxes? It would be a lot easier to adjust the boxes by dragging the their edges.

-BV

Hi

 

I have a problem relating to the same issue.

I have created content that I want the user to able to acces via our moodle app.

The desktop version looks fine, but when I access the app, the frame/space size on the screen does not fit. The size of the frame is too large, so the edges on the screen are cut of and you need to scroll to read text or get to the check button.

 

Do I need to use a fixed frame/screen size?

 

I have included a screen shot and an example

Attachments: 

Hi All!

I have a similar issue.

If I add content on moodle cloud directly as h5p, the frame holding the content is a short wide letterbox. Users need to scroll. This happens with a presentation and the multiple choice content.

If I embed the h5p content within a lesson, the content fits to scale, but the gradebook LTI settings don't work and the gradebook is not populated.

 

Is there an easy way to increase the verticle height of the frame holding the h5p content?

 

Thanks in advance!

 

Tim