<?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>174626</bug_id>
          
          <creation_ts>2017-07-18 07:12:25 -0700</creation_ts>
          <short_desc>webkitfullscreenchange event not fired on iOS for vimeo.com videos</short_desc>
          <delta_ts>2022-02-12 23:31:54 -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>WebKit Nightly Build</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=174627</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>jeremyj-wk</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1329964</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2017-07-18 07:12:25 -0700</bug_when>
    <thetext>Steps to reproduce:

1. go to https://vimeo.com/225249697
2. tap to start the video
3. inspect the page to find the &lt;video&gt; element
4. type the following in the Console: $0.addEventListener(&quot;webkitpresentationmodechanged&quot;, event =&gt; console.log(event.type))
5. type the following in the Console: $0.addEventListener(&quot;webkitfullscreenchange&quot;, event =&gt; console.log(event.type))
6. enter fullscreen
7. exit fullscreen

You&apos;ll notice that the &quot;webkitpresentationmodechanged&quot; event gets fired as the media enters and exits fullscreen, but &quot;webkitfullscreenchange&quot; isn&apos;t.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1329965</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-07-18 07:12:45 -0700</bug_when>
    <thetext>&lt;rdar://problem/33375684&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1329967</commentid>
    <comment_count>2</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2017-07-18 07:16:36 -0700</bug_when>
    <thetext>This bug causes https://bugs.webkit.org/show_bug.cgi?id=174627.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1330029</commentid>
    <comment_count>3</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2017-07-18 11:24:45 -0700</bug_when>
    <thetext>This is not a recent regression, the same problem exists on iOS 10.3.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840960</commentid>
    <comment_count>4</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-12 23:31:54 -0800</bug_when>
    <thetext>This is correct. webkitfullscreenchange is dispatched on element fullscreen, not on video fullscreen.  

For video fullscreen we dispatch:
webkitbeginfullscreenEvent / webkitendfullscreenEvent

However, when using the new element fullscreen, you should now see webkitfullscreenchange, but not webkitpresentationmodechanged or webkitbeginfullscreenEvent</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>