<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Video tag should not trigger &quot;ended&quot; after setting currentTime to the end of the video."
   href="https://bugs.webkit.org/show_bug.cgi?id=160655">160655</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Video tag should not trigger &quot;ended&quot; after setting currentTime to the end of the video.
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>Safari 9
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iOS
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>iOS 9.3
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Media Elements
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>samuel&#64;guiora.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=285562" name="attach_285562" title="&quot;ended&quot; issue">attachment 285562</a> <a href="attachment.cgi?id=285562&amp;action=edit" title="&quot;ended&quot; issue">[details]</a></span>
&quot;ended&quot; issue

## Use case

1. video.currentTime = video.duration
2. video triggered &quot;ended&quot;
3. video.currentTime = 10
4. video triggered &quot;ended&quot; again!

This is easily reproductible using a MP4 video,
it also happens sometime using HLS_V1 or HLS_V5 stream.

## Expectation

The video should not trigger &quot;ended&quot; after setting
currentTime to the end of the video.

## Note

You can find in attachment a way to reproduce this issue.

Thanks</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>