<?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>192400</bug_id>
          
          <creation_ts>2018-12-05 07:16:04 -0800</creation_ts>
          <short_desc>Inline video stops working when WebGL is used on iPhone X</short_desc>
          <delta_ts>2021-03-30 03:56:28 -0700</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 12</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>223918</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Larry Lin">larrylin28</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>jeremyj-wk</cc>
    
    <cc>jer.noble</cc>
    
    <cc>jonlee</cc>
    
    <cc>justin_fan</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1485230</commentid>
    <comment_count>0</comment_count>
    <who name="Larry Lin">larrylin28</who>
    <bug_when>2018-12-05 07:16:04 -0800</bug_when>
    <thetext>A very wired issue with inline video in WebView(also on Safari) with autoplay flags all set.
I use Three.js(which uses WebGL) to render the inline video textures in 3D space, it works fine on Chrome, Safari on Mac, and IPhone 6s(IOS 12.1), but got wired issue on IPhoneX(IOS 12.1).
By digging into this, the issues seems to be:
If there&apos;re calls in WebGL:
 The inline video element that is loading will stop loading until a click on screen, or re-orientate the phone.
 The inline video texture is not able to update to WebGl when using `texImage2D`(it keeps black, while the video element itself is playing well), only get updated until a click on screen, or re-orientate the phone.
 The inline video texture is not firing &quot;ended&quot; event until a click on screen, or re-orientate the phone.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485302</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-12-05 10:44:47 -0800</bug_when>
    <thetext>&lt;rdar://problem/46492260&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485380</commentid>
    <comment_count>2</comment_count>
    <who name="Jon Lee">jonlee</who>
    <bug_when>2018-12-05 12:46:27 -0800</bug_when>
    <thetext>Is this a regression against older iOS?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1485482</commentid>
    <comment_count>3</comment_count>
    <who name="Larry Lin">larrylin28</who>
    <bug_when>2018-12-05 15:44:24 -0800</bug_when>
    <thetext>Iphone6 with same OS(12.1) works just fine</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487183</commentid>
    <comment_count>4</comment_count>
    <who name="Larry Lin">larrylin28</who>
    <bug_when>2018-12-12 06:49:34 -0800</bug_when>
    <thetext>Any update on this?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1487232</commentid>
    <comment_count>5</comment_count>
    <who name="Jer Noble">jer.noble</who>
    <bug_when>2018-12-12 09:16:39 -0800</bug_when>
    <thetext>Larry, do you have a publicly available reproduction case we can link to?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>