<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 - Changes to video size during seek HLS content cause video to remain in seeking state"
   href="https://bugs.webkit.org/show_bug.cgi?id=164017">164017</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Changes to video size during seek HLS content cause video to remain in seeking state
          </td>
        </tr>

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

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

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

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>OS X 10.11
          </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>boushley&#64;gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Tested in the stable release of Safari 10.0 as well as in the nightly version r207871

1) Begin playback of HLS content in a video tag
2) Perform a seek operation on the video element (set the currentTime property)
3) Add a class that causes the size of the video element to be changed

Expected Result:
Video finishes seeking and plays back at the new size. Firing `seeked` event and leaving the `seeking` state.

Actual Result:
Video finishes seeking and plays back at the new size. However the `seeked` event never fires and the video remains in the `seeking` state.

You can see an example of this happening at the following jsfiddle:

<a href="https://jsfiddle.net/boushley/p11mpb6q/">https://jsfiddle.net/boushley/p11mpb6q/</a>

You can see an example of side by side videos one that has the problem and one that doesn't at this jsfiddle:

<a href="https://jsfiddle.net/boushley/p11mpb6q/4/">https://jsfiddle.net/boushley/p11mpb6q/4/</a></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>