![]() |
|
Suggestion : H5p support - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Suggestion : H5p support (/thread-13945.html) |
Suggestion : H5p support - ctdlg - 14-06-2024 Hi, Here is a suggestion for Zenphoto : H5P support. Lumi under Linux enables creation of great interactive photo/video presentations on my computer. Native Zenphoto H5P support would be much easier. Bien cordialement. Suggestion : H5p support - acrylian - 14-06-2024 I am sorry, never hread of it and it seems to be a very niche format and not a web format anyway. Sorry. If it needs an iframe you could create workarounds for this using the text-object plugin if FTP is fine for you. Upload your files and create text files with the iframe referencing it. Or with some theme customizing try perhaps the anyfile plugin. Use the latter to allow the file suffix of those files so you can upload them via backend. Anyfile will only display the sidecar file but you can add a switch to load the actual file in an iframe on your theme. Suggestion : H5p support - ctdlg - 14-06-2024 Thank you, Suggestion : H5p support - acrylian - 14-06-2024 I do know Moodle roughly from some years ago but not heard of H5p. You hopefully undersand that we really have no resources for such rather niche request sadly. Using a codeblock is certainly a way, too. A way would to create a plugin with a content macro to include an iframe for any external content directly into text content. Actually you could already creatively "miss use" use my side plugin zp_mapembed and its OpenStreetMap content macro (not related to our OSM plugin). It basically does just that. https://www.zenphoto.org/news/zp_mapembed/ Suggestion : H5p support - ctdlg - 14-06-2024 I already use Openstreetmap on my Zenphoto website. Look at this link that does work under Zenphoto : Perfect to produce a demo to show what your zenphoto site offers,! No need of Lumi, I can prepare my demo on my website, using Moodle CMS, publish it on same Zenphoto website. It acts like an embedded powerpoint file. My Moodle part is admin protected: no visitor can create an account or access any page, but it decodes H5p files under Zenphoto without Moodle user account. It is so easy that it is not necessary to create a Zenphoto plugin. I now know the H5p Zenphoto workflow. Probably this message will be useful for some of you. Suggestion : H5p support - acrylian - 15-06-2024
As I mentioned the plugin I was referencing is not the OpenStreetMap plugin. You said you use an iframe which is what that other plugin can provide already. Suggestion : H5p support - ctdlg - 24-06-2024 Your zp_mapembed plugin helped me : my plugin is now working. I would like to change ALL codeblocks recursively [/code] $cb and $newHtmlContent are the same. Using another var $test = full codeblock from the editor, Is html_encode(getCodeblock(1)) using special encoding ? I cannot search the database (phpmyadmin) for " script " or other codes like " iframe " ( with < >) used in my codeblocks : I get empty results. I cann edit manually an sql backup but cannot find whole codeblocks contents. Searching the web does not help me. Suggestion : H5p support - acrylian - 24-06-2024 Remove the You change will not be a permanent change but an on the fly one. To do that you would have to use the object model which might be a little to advanced. If you have more than one codeblock they all share the same db column using array serialization. That makes it a litte hard to search directly. Suggestion : H5p support - ctdlg - 24-06-2024 Ok, Suggestion : H5p support - acrylian - 24-06-2024 Not sure how a browser extension (I don't know that) will help you here. It will not change the values in the database columns where your old iframe code is stored. You have to get the value, change it with the macro and then save the update. Unless you want to do this on the fly on display every time. Suggestion : H5p support - ctdlg - 25-06-2024 You are right, I mentioned "a manual solution". Suggestion : H5p support - acrylian - 25-06-2024 Ok, now I understand. Quite some work if you have a lot of codeblocks to update. |