Comments (4)
I can see how this might be useful. I'm not sure if that is something H5P core should do. Is this something everyone will want? You might do this prior to sending the statements to the LRS in your own code instead? Then you can probably use CMS specific functions for the url too. A generic approach would probably have to be based on window.location, or rely on something that all CMSs that implements H5P will have to implement.
from h5p-php-library.
It's the kind of thing that nobody will want until they realise after 6 months of data collection that they need it for reporting :-)
There probably does need to be some CMS specific code to determine the variable and then perhaps core code to add the property? I couldn't see anything in the Wordpress plugin that does anything with xAPI.
Perhaps I'm looking at the wrong plugin and the code should go here or here? In that case, maybe the core doesn't need to change. Are there equivalent plugins for the other CMSs?
from h5p-php-library.
Yeah, it probably belongs in that plugin :)
There is a similar one for Drupal:
https://www.drupal.org/project/h5p_tincan_bridge
from h5p-php-library.
Ok. I will close this issue here then.
from h5p-php-library.
Related Issues (20)
- Is $CFG->mod_hvp_crossorigin documented somewhere? HOT 4
- Separate PHP and JavaScript code HOT 5
- Add triggers for saveContentState/setUserData
- H5P.getUserData not used asynchronously where required HOT 1
- GDPR infringement HOT 1
- Error while playing content in v1.24.3
- When is next release scheduled? HOT 3
- "We will make available documentation and tutorials for creating platform integrations in the future." HOT 2
- H5PExport::createExportFile() performance issues
- Error Uncaught TypeError: Cannot read properties of undefined (reading 'field') HOT 1
- H5PCore in Tag 1.24.4 has a missing function libraryToFolderName HOT 1
- Support for MPEG-DASH format
- [BUG] Invalid argument supplied for foreach()
- Allow using HTML tags MARK and ABBR in H5P content types HOT 5
- [BUG] iframe embeds are not populated in the parent context.
- Class file structure and simplifying integration into a framework HOT 1
- Resizing problems of the container when calling mozRequestFullScreen() HOT 5
- add Moodle comp for 1.26 HOT 3
- Moodle-Plugin mod_hvp produced embed code not detected by h5p-resizer.js
- The `unload` event is deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5p-php-library.