I am trying to use video.js to prevent fast-forward, but allow rewind, for mp4 videos on a Moodle site. The following script works in Chrome and Opera, but not in Microsoft Edge:  window.onload = function() {   if ($('iframe').length > 0)...
I am building an application to authenticate with Moodle and get Json data from a Moodle web service, and using AngularJs to display the data in the app. There are multiple functions on the Moodle webservice, so I need multiple controllers in the Ang...
I am trying to trigger an ajax call on change of a dropdown menu(at client_script.php). The ajax call will send some values to server_script.php and it will change a div section of the client_script.php. The problem is the server script is kept in a...
So, I have the next problem: I try to create the new div @[email protected] in      /message/templates/message_area_contact.mustache    So the code looks like this:   ... <div class="name">         {{fullname}}           <div style="font-sty...
I'm creating an e-learning module which uses SCORM 2004 4th Edition to communicate with the host learning management system.  At the moment I've setup my imsmanifest.xml simply so I have one primary objective which is satisfied by a score of...
I am coding a block type plugin for Moodle and have this JS code that gives me problems. Since I'm not very familiar with JS and JSON I can't deduce what is the problem. My code uses this function to add custom action to action link which iss...
I'm new in moodle and I always programmed at client-side. I think maybe I'm missing something because of that reason. I need to provide the user with diverse UI elements, according to what he selects in a combo. So I was thinking in writing t...
I am working on a page in moodle that allows you to edit submissions. There is a tinymce editor that saves changes to a submission using a save button. I am looking to automate the saving using javascript. I have my js code, but i am not sure of how...
I have to sync users from an existing Microsoft SQL Server to Moodle via the API.  I have done some batch uploading from a csv file like this:   insertMoodleGebruikersBatch(array: csvGebruiker[]) {     this.functionName = "core_user_create_users&...
The below code is working in all websites except http://school.demo.moodle.net/  function appendScript(pathToScript) { var head = document.getElementsByTagName("head")[0]; var js = document.createElement("script"); js.type = "text...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.