Steps to reproduce
Under specific circumstances, Edge fails to play videos after the video player’s controls have been removed through script. This issue is easy to see in this jsbin examphttp://jsbin.com/nisasof](http://jsbin.com/nisasof/edit?html,js,output).[http://jsbin.com/nisasof](http://jsbin.com/nisasof/edit?html,js,output).
The video may start working correctly after it has been cached… so clear your browser cache if needed.
To reproduce, take a video element with:
- a poster url
- a child source element
- a controls attribute
<video controls preload="none" poster="https://dummyimage.com/320x200/000/fff&text=Dummy+Poster"> <source src="http://www.html5videoplayer.net/videos/toystory.mp4"/> </video>
…and then remove the controls via script.
The video will not play as expected. Try clicking play through the context menu (right mouse click video) or through script:
The video will not play in Edge, but will in all other browsers including IE 11.
Also worth noting: the video will start playing correctly if you click play and open a new tab in Edge.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Venkat K.”
Changed Assigned To from “Venkat K.” to “Nishant N.”