<?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>234682</bug_id>
          
          <creation_ts>2021-12-25 13:29:43 -0800</creation_ts>
          <short_desc>MP4 video in &lt;img /&gt; tag stays paused after safari is send to the background and reopened after some time</short_desc>
          <delta_ts>2022-11-16 02:01:42 -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>Images</component>
          <version>Safari 15</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rogier de Ruijter">imbashenk</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>imbashenk</cc>
    
    <cc>jer.noble</cc>
    
    <cc>lydiafork</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1826830</commentid>
    <comment_count>0</comment_count>
    <who name="Rogier de Ruijter">imbashenk</who>
    <bug_when>2021-12-25 13:29:43 -0800</bug_when>
    <thetext>Hi all,

I have been trying to use &lt;img src=“.mp4” /&gt; and it works great, but there is 1 issue on safari for iOS. 

When I am on a webpage with the &lt;img src=“.mp4” /&gt; and switch to a different app, therefore sending safari to the background, it pauses the mp4 and it doesn’t start when I switch back to safari. 

How to reproduce:
- open a webpage with an &lt;img src=“.mp4” /&gt; on safari for iOS. For example this one: https://calendar.perfplanet.com/2017/animated-gif-without-the-gif/
- scroll to the Rocky gif on the page.
- send safari to the background
- wait 10 to 15 seconds
- open safari

The Rocky gif should be paused. 

Is this a bug? And would there be a possible work around for this?

And happy holidays!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826832</commentid>
    <comment_count>1</comment_count>
    <who name="Rogier de Ruijter">imbashenk</who>
    <bug_when>2021-12-25 14:33:01 -0800</bug_when>
    <thetext>I actually found that the article uses a .gif, instead of a .mp4 file. Nevertheless, the behaviour is still that the video is paused.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1827453</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-01-01 13:30:20 -0800</bug_when>
    <thetext>&lt;rdar://problem/87041842&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>