setAttribute and video.src for changing video tag source not working in IE9
问题 I have literally read every stackoverflow thread regarding changing the video tag source dynamically via javascript in IE9, including the useful but not agreed upon posts here and here, but do feel like there is another solution. Here is the very basic example of what I\'m trying to do: var video = document.getElementById(\'video\'); //now, use either of the lines of code below to change source dynamically video.src = \"nameOfVideo\"; //or use... video.setAttribute(\"src\", \"nameOfVideo\");