Created attachment 553360 [details] testcase In the loadedmetadata event I seek to the duration. An ended event is never raised, and the controls still show the 'pause' icon as if playback is still going. Pressing play/pause does not restart the playback. Steps to reproduce: 1) Load testcase with 'content/media/tests/big.wav' in the local directory. What should happen: 1) The 'Play' icon in the controls should appear. What does happen: 2) The 'Pause' icon remains displayed. Then do: 1) Press Play/pause. What should happen: 1) Playback should start from the beginning What does happen: 1) currentTime stays at the duration and no playback occurs.
Created attachment 555959 [details] [diff] [review] Fix Fix is to raise ended event if we seeked to the end of the file. Test is provided by re-enabling the 'todo' media fragment test that tests this issue.