<?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>165243</bug_id>
          
          <creation_ts>2016-11-30 22:37:13 -0800</creation_ts>
          <short_desc>The video which is rendered by HTML template would be black when paused</short_desc>
          <delta_ts>2017-01-07 16:03:30 -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 10</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 10</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>154614</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>jiangshanyanyuwhn</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jer.noble</cc>
    
    <cc>jiangshanyanyuwhn</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1255157</commentid>
    <comment_count>0</comment_count>
    <who name="">jiangshanyanyuwhn</who>
    <bug_when>2016-11-30 22:37:13 -0800</bug_when>
    <thetext>The video which is rendered by HTML template would be black when paused.

example: https://thekingofgods.github.io/bugs/video-1.html

core code:
  var elBox = document.getElementById(&apos;box&apos;);
  var tpl = document.createElement(&apos;template&apos;);
  var documentFragment;

  tpl.innerHTML = &apos;&lt;video src=&quot;http://XX&quot; controls playsinline preload=&quot;metadata&quot;&gt;&apos;;
  documentFragment = tpl.content;
  elBox.appendChild(documentFragment);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1256481</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2016-12-05 14:03:41 -0800</bug_when>
    <thetext>I can’t reproduce this on macOS Sierra.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1258105</commentid>
    <comment_count>2</comment_count>
    <who name="">jiangshanyanyuwhn</who>
    <bug_when>2016-12-09 01:37:03 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; I can’t reproduce this on macOS Sierra.

yes, macOS is ok. It only appears on the IOS</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>