<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>172762</bug_id>
          
          <creation_ts>2017-05-31 11:13:08 -0700</creation_ts>
          <short_desc>YouTube video screen freezes after 3 seconds when mouse does not move</short_desc>
          <delta_ts>2018-11-06 09:13:22 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Safari 11</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.13</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roland Soos">roland</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jonlee</cc>
    
    <cc>roland</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1314227</commentid>
    <comment_count>0</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-05-31 11:13:08 -0700</bug_when>
    <thetext>When I&apos;m viewing any YouTube video in Safari the screen freezes after the mouse not moved for 3 seconds. The sound of the video in the background continue to play, just the video freezed. When I&apos;m moving the mouse all the time the video plays just fine, but it isn&apos;t normal.

Here is a video demonstration of the issue: https://www.youtube.com/edit?o=U&amp;video_id=3U5eW-4Orrk

This issue is haunting me for ages. I have a Macbook Air 2014 early and the problem started to happen 2 years ago. Now I have a brand new Macbook Air 2015 early and the same issue happens. It isn&apos;t happen all the time, but when it starts to freeze, you can not make it stop. Restart solves it and sometimes the sleep.

MacOs 10.12.6
Safari: 10.1.2 (12603.3.1) 

I do not have any browser extension installed into Safari. Also Chrome doesn&apos;t produce the same issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314235</commentid>
    <comment_count>1</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-05-31 11:23:54 -0700</bug_when>
    <thetext>Also I can confirm that Vimeo, YouTube iframe api suffers from this problem too. 

Dailymotion and Twitch seem OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314681</commentid>
    <comment_count>2</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-06-01 10:18:05 -0700</bug_when>
    <thetext>Facebook videos also freeze in fullscreen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1314695</commentid>
    <comment_count>3</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-06-01 10:30:11 -0700</bug_when>
    <thetext>Logs during playback freeze: https://pastebin.com/WHCCzKNS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1315478</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-06-03 14:18:29 -0700</bug_when>
    <thetext>&lt;rdar://problem/32554821&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327538</commentid>
    <comment_count>5</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-07-11 10:01:45 -0700</bug_when>
    <thetext>Update: It might be related that we have two account in OSX and both user switch to their own account when they use the Macbook Air.

My last test:
Youtube were open in both account.
I played a Youtube video on account1 and it freezed as on my previous video.
Then I switched over account2 and the YouTube does not freeze.
In account2 I closed Safari and started again and started to play a video. It freezed like on my previous video.
Then switched back to account1 and the video does not freeze...


Also we might sleep it while YouTube video is playing in account1 and we might log into account2 after sleep. It might be related also.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1327542</commentid>
    <comment_count>6</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-07-11 10:02:54 -0700</bug_when>
    <thetext>(In reply to Roland Soos from comment #5)
&gt; Update: It might be related that we have two account in OSX and both user
&gt; switch to their own account when they use the Macbook Air.
&gt; 
&gt; My last test:
&gt; Youtube were open in both account.
&gt; I played a Youtube video on account1 and it freezed as on my previous video.
&gt; Then I switched over account2 and the YouTube does not freeze.
&gt; In account2 I closed Safari and started again and started to play a video.
&gt; It freezed like on my previous video.
&gt; Then switched back to account1 and the video does not freeze...
&gt; 
&gt; 
&gt; Also we might sleep it while YouTube video is playing in account1 and we
&gt; might log into account2 after sleep. It might be related also.

Current OSX version is: 10.12.6 beta (16G23a)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1358078</commentid>
    <comment_count>7</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2017-10-08 02:16:34 -0700</bug_when>
    <thetext>This issue still exists in High Sierra 10.13 (17A365) and Safari Version 11.0 (13604.1.38.1.6)

I&apos;m pretty sure that the problem can be reproduced if you have at least 2 users in OSX and you use both account for browsing and playing HTML5 videos and one of the user will have this freezing issue. Do not sing out with users, just use the user switching.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475539</commentid>
    <comment_count>8</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2018-11-06 08:00:34 -0800</bug_when>
    <thetext>With MacOs 10.14.1 and Safari 12.0.1 this issue got a little bit better. Instead of the past effect, the video started to lag in fullscreen: https://www.youtube.com/watch?v=BgnsH2DPBfI</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475554</commentid>
    <comment_count>9</comment_count>
    <who name="Roland Soos">roland</who>
    <bug_when>2018-11-06 09:13:22 -0800</bug_when>
    <thetext>Another strange artifact: https://www.youtube.com/watch?v=bPsV9UsN37I

In fullscreen when the mouse is not moving around, the video starts to jump back to old frames.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>