Video does not play back after controls are turned off

Fixed Issue #12366645

Details

Author
Tim H.
Created
Jun 16, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
40.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

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 example: 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:

  1. preload="none"
  2. a poster url
  3. a child source element
  4. a controls attribute

Like this:

<video controls preload="none" 
   poster="https://dummyimage.com/320x200/000/fff&amp;text=Dummy+Poster">
   <source src="http://www.html5videoplayer.net/videos/toystory.mp4"/>
</video>

…and then remove the controls via script.

document.querySelector('video').removeAttribute('controls')

The video will not play as expected. Try clicking play through the context menu (right mouse click video) or through script:

document.querySelector('video').play()

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.

Attachments

0 attachments

    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.”

      Changed Assigned To from “Nishant N.” to “Shawn P.”

      Changed Assigned To from “Shawn P.” to “Gurpreet V.”

      Changed Status to “Not reproducible”

      Changed Steps to Reproduce

      Changed Assigned To to “Gurpreet V.”

      Changed Status from “Not reproducible”

      Changed Status to “Confirmed”

      Changed Assigned To from “Gurpreet V.” to “Praveen c.”

      Changed Status from “Confirmed” to “Needs root cause”

      Changed Assigned To to “Stephen E.”

      Changed Status from “Needs root cause” to “Confirmed”

      Changed Assigned To from “Stephen E.” to “Marcin S.”

      Changed Status from “Confirmed” to “Needs root cause”

      Changed Assigned To to “Marcin S.”

      Changed Assigned To to “Gurpreet V.”

      Changed Assigned To from “Gurpreet V.” to “Shawn P.”

      Changed Status from “Needs root cause” to “Confirmed”

      Changed Status from “Confirmed” to “In progress”

      Changed Status from “In progress” to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge and will be available in an upcoming insider build.

      Best Wishes,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in