by Daniel Romero.
Hello, I am trying to obtain moodle mobile's iframe DOM on my player.html, player.js file (located in www/addons/mod/scorm. Although since the structure of the iframe is different, using getElementById or JQuery's .content() method only returns null. Would anyone know how to retrieve the DOM of an <mm-iframe> ? I have attached the screenshot of the player.html, note I have added an ID to the <mm-iframe> called 'scorm-iframe' . Also I have attached my player.js file to show how i try to assign and log the DOM after the fetch data promise.
Thank you