Giter Site home page Giter Site logo

h5p-agamotto's Introduction

Hi, I'm Oliver (OpenSourceCCCAmigaMinecraft)!

I'm an IT freelancer who loves H5P!

Mastodon LinkedIn YouTube Flickr BldgAltEntf

  • ๐Ÿ’ Loves contributing to open source projects and Open Educational Resources.
  • ๐Ÿฆ For a living, helps others to better use H5P at SNORDIAN.
  • ๐Ÿฅบ Gets sad when people pretend or believe they cannot do something.
  • ๐ŸŽ™๏ธ Co-hosts a podcast about teaching and learning with digital media called BldgAltEntf.
  • ๐Ÿƒโ€โ™‚๏ธ (Re)-Started running and hopefully will keep running this time ๐Ÿ˜„. Track and nudge me!

๐Ÿ”ง Technologies and tools

HTML5 CSS3 JavaScript ReactJS Typescript Node.js PHP MySQL WordPress SASS NPM Github Bitbucket Gitlab Git Suse Ubuntu Linux Console Inkscape

h5p-agamotto's People

Contributors

antonioaneiros avatar ceibg avatar dependabot[bot] avatar e-me avatar fnoks avatar gerardofallani avatar germanvaleroelizondo avatar icc avatar interactivehong-th avatar izendegi avatar jarvil avatar leoste avatar lesha724 avatar maria1186 avatar miropuhek avatar msegovia90 avatar otacke avatar renebreedveld avatar renovate-bot avatar renovate[bot] avatar sdif-diba avatar skiper7 avatar sr258 avatar totoromaum avatar viragom avatar weblate avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

h5p-agamotto's Issues

Bug with Audio

Using h5p-agamotto latest version 1.6.3 in an interactive book. If an audio element is added to an image description, then the audio plays automatically when navigating to the page just before the agamotto content!
Steps to reproduce (on a dev site)
1.- Have latest h5p-agamotto version 1.6 installed on your dev site
2.- h5p-column create a new branch, e.g. testing_audio and, in semantics, change "H5P.Agamotto 1.5" to "H5P.Agamotto 1.6"
3.- Create an H5P Interactive Book
4.- Create page 1 with only a Text content in it
5.- Create page 2 with a Multiple Choice question in it
6.- Create page 3 with an Agamotto content in it with 3 images with an Audio component for each.
7.- Save and run the H5P Interactive Book
8.- Page 1 : read the text
9.- Navigate to page 2 (with the MCQ question) : the Audio content of the last image in your Agamotto content (on page 3) is automatically started!
10.- If you continue to navigate, to the end of the IB, then check the Restart button, navigating to page 2 does not play the agamotto Audio... When you arrive on page 3, the Audio player button is in the ON state but nothing plays... You have to click it to OFF, then to ON again for the audio to play.

Event Dispatching in IE not working

Surprise! There's the one browser that dislikes something ... It seems that dispatching of custom events has to be handled differently in order to work with the Internet Explorer.

Usable in Column

Beautiful contribution to h5p. Are there any plans to incorporate this into Column? Would be nice to add questions etc. underneath agamotto.

Thanks

Allow HTML tags MARK and ABBR be used in image descriptions.

Hello Oliver,
I'm using your great feature for the setup of a training course, and would need a few specific features useful in this context.

Would it please be possible to allow for additional HTML tags in Agamotto image descriptions? I would need the tags mark to highlight words (e.g. <mark>highlighted text</mark>) and abbr/title to add a tooltip (e.g. <abbr title="tooltip text">text with tooltip</abbr>).

While I can currently copy/paste such formatted text into the description edit field:
image

once it is saved and displayed the formatting currently gets lost:
image

Or maybe you could point me please to alternative approaches to achieve this?
Thanks in advance for your help.

fix IE 11 slider

Find a fix for the range sider not moving with IE11 or replace it by a custom slider alltogether.

Check resizing

There seems to be an issue with resizing. Check if I have had this issue before and if I fixed it in the experimental branch.

Spinner for slow connections

If you have a slow connection, it's not clear whether there's a problem or if the images are still being loaded. Could be resolved by using a spinner.

Change dot color

H5P Interactive video will get new dot colors for the seekbar. Match that.

Links don't open

Links can be opened using the right mouse button and context sensitive menus but not using a simple click with the left mouse button.

Setting for background color

As an author, I want to be able to select the default background color that's used for transparent images (right now it's black only).

[question] How to hide title?

How can the title above the images be hidden or not displayed at all like in this Example
Tested with 1.5.2 and 1.6.4 in Moodle 3.11.16. Title is constrained to be not empty (Editor) and an empty Headings field will cause the title to be displayed(?). In short: Something always seems to be displayed. I would be grateful if you could shed some light on this. Maybe it's intended to be not empty, that's ok for me. I just want to make sure I didn't miss anything.

Thanks and greetings
Jรถrg

Disable slider until all images are loaded

If you have many images or a slow connection, you can possibly move the slider before all images are loaded, so they won't be shown.

  1. Disable the slider until all images are loaded
  2. Show some kind of loading animation (above first image) until all images are loaded

Input validation

Input parameters should be validated, e.g.

  • images missing (they can be set as mandatory in H5P, but this doesn't seem to be checked right now)
  • more than 100 images (unlikely, but the slider range would have to be adjusted)

Improve WAI-ARIA

I'll have to have a look at WAI-ARIA and improve handling:

  • keyboard control
  • ALT tags
  • ...

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Update dependency sass to v1.77.6

Detected dependencies

github-actions
.github/workflows/reuse-h5p-build.yml
  • otacke/github-action-h5p-build v1
npm
package.json
  • detect-browser ^5.3.0
  • @babel/cli ^7.24.7
  • @babel/core ^7.24.7
  • @babel/preset-env ^7.24.7
  • babel-loader ^9.1.3
  • css-loader ^7.1.2
  • mini-css-extract-plugin ^2.9.0
  • regenerator-runtime ^0.14.1
  • sass ^1.77.5
  • sass-loader ^14.2.1
  • stylelint ^16.6.1
  • stylelint-config-recommended ^14.0.0
  • stylelint-config-recommended-scss ^14.0.0
  • webpack ^5.92.0
  • webpack-cli ^5.1.4

  • Check this box to trigger a request for Renovate to run again on this repository

Optional next/previous buttons

"Have you considered optional next/previous buttons? I think in some cases where the reader wants to read a lot of text per image a next button could be good?"

Scaling on iPhone (mobile devices)

"I did test it on iPhone and it seems to work except if you go from portrait to landscape the scrollbar is almost completely hidden and you can't navigate anymore :/"

Style the slider

Use CSS to make the slider a little nicer (and hopefully identical on all browsers).

MathJax in description: Swapping between rendered eqn and latex code

Hi,
I've made a strange observation: when using Mathjax latex code in the image description, the display continuously swaps between the rendered eqn and the MathJax latex code. Same when using (...) inline delimiters.
Can anyone confirm the behavior?
Thx Jรถrg

Agamotto (1.5.2):
h5p-agamotto-mathjax

Optional ticks

Optional ticks might be nice, e.g. as dots as in interactive video or as slim vertical bars (shorter as those in interactive video).

Refactoring

This content type might need some refactoring, e.g.

  • have a content class between the main class and the slider, images, etc.
  • have a separate audio class
  • turn the images class into an image class
  • make slider DOM use flexbox
  • use callbacks (or events) to communicate from component to main

Links in Image Description texts not available

Hi Oliver,
Just found out that links in the Image Description texts are sometimes not available (i.e. not clickable). My guess is that comes from those texts being displayed or hidden through an opacity value, rather than hidden through a display: none value.
The current setting means that the display of the description texts follows the same fade-in/fade-out as the images. I'm not sure there is an advantage in this setting, which superimposes the texts making them illegible anyway. If you could give up the opacity feature and make those texts use the display:none value when not needed, then the links could work again.
Thanks!

UX improvement

Some people seem to confuse Agamotto with Interactive Video. Think about a way to improve that.

Resize description container, too.

I seem to have had a reason not to resize the description but to add scrollbars if the container's height doesn't suffice for the text.

// The descriptions will get a scroll bar via CSS if necessary, no resize needed

However, this might be changed -- if requested.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.