Tuurlijk / t3ext-h5p

TYPO3 H5P plugin
7 stars 16 forks source link

Another approach to content delivery with embedding option #30

Open svewap opened 2 years ago

svewap commented 2 years ago

Hello, in order to be able to create a uniform interface for generating a URL that is always the same, I have written a proxy script via middleware: <domain>/h5p/embed/<id> In addition, I have rewritten the controller so that the content now runs in a proper iframe and no additional JavaScript is loaded on the TYPO3 page. This had always led to conflicts with other jQuery versions. Maybe it is interesting for you. You can find a demo below.

https://github.com/svewap/t3ext-h5p/tree/feature/embedded

https://v10.typo3-playground.wappler.systems/de/extensions/h5p/

Tuurlijk commented 2 years ago

Hi Sven,

Nice. Can you make it so it can be switched on and off by a config option? Or is it handled through Services?

Can you make a pr?