jQuery addEventListener not supported : <p>Simple page with HTML5 video and trying to prevent fast forwarding:</p>

<pre><code> var vid = $("#divVideo");
    var suptime = 0;
    vid.addEventListener('timeupdate', function(){
        if (!vid.seeking){
            suptime = vid.currentTime;
        }
    });
    vid.addEventListener('seeking', function(){
        var delta = vid.currentTime - suptime;
        if (Math.abs(delta) &gt; 0.01) {
            vid.currentTime = suptime;
        }
    });
</code></pre>

<p>In my _Layout page I have:</p>

<pre><code> &lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
 &lt;head&gt;
&lt;meta charset="utf-8" /&gt;
&lt;link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" /&gt;
&lt;meta name="viewport" content="width=device-width" /&gt;
&lt;meta http-equiv="X-UA-Compatible" content="IE=edge;" /&gt;
</code></pre>

<p>So I am using everything I have found searching but it still gives me the error.  I am using jQuery 3.1.1.</p>
