Interactive Video

gogic's picture

Please I want to change text color and size when I add text on a video.

Why does the text editor have such shortage options?

Are you thinking of improve it?

tim's picture

Hi gogic, it is something that will be added in the future.

- Tim

tomaj's picture

Hi Gogic,

  1. There is a way to add fields to the editor if you are a developer, but it's not that easy. You can write some PHP that alters the semantics, and adds another field. I'm not sure, but it might be the semantics of advanced text, that needs to be updated with more options.
  2. To keep the editor simple to use
  3. If the community feels a need for more options in the editor, I'm sure it's open for discussion. But there is also a wish to keep the editors simple for new users.

- Tom

 

gogic's picture

Hey Tomaj,

how can I see the inner code of a h5p file?

I have tried to open with notepad++ and does not work

In which file should I change the code to extend text editor´s options?

I am just exporting files from here and uploading to my moodle

tomaj's picture

Hi Gogic,

You can use any zip-program to unpack the .h5p file. Then you can use any text editor (like Notepad++), to edit any file inside.

It's not recommended to change .h5p-files, and content directly. The best way is to use a hook, to change the contents by either changing semantics, adding css, or adding JS-files.

- Tom

gogic's picture

What do you you mean with to use a hook? What kind of hook?

tomaj's picture

Hi,

By hook, I mean a PHP function that will intercept some data, and change it. You can read more about it here.

- Tom

gogic's picture

Ok, I will try...

I also want to say that I am having issues when I open the tool in my moodle using different browers, only in mozilla works more or less well, in IE doesn´t nor in Microsoft Edge.

Is there any solution to make it compatible to all kind of browsers?

tomaj's picture

Hi Gogic,

It's supposed to work in IE11, Edge, Chrome and Firefix. I would love to hear more detail on what is not working for you, so that we can fix it.

- Tom

gogic's picture

How can I see the inner code of a h5p file?

In which file should I change the code to extend text editor´s options?

I am just exporting from here what I do and uploading into my moodle