Tag Archives: object

Remove svg tag from a shape object.

I have created my own progress bar for media in my courses using a shape object that is resized using custom javascript. function myProgress() { var media = document.getElementById(Var_playingAV.getValue()); var pBar = document.getElementById(“shape390712”); var svgTag = pBar.getElementsByTagName(“svg”); svgTag.remove(); media.ontimeupdate = function(){ var media = document.getElementById(Var_playingAV.getValue()); var pBar = document.getElementById(“shape390712”); var value = 0; var currentPos […]