<?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>300115</bug_id>
          
          <creation_ts>2025-10-03 09:59:40 -0700</creation_ts>
          <short_desc>iOS/iPadOS 26 Home-Screen web app: &lt;video&gt; won’t play after relaunch</short_desc>
          <delta_ts>2025-10-27 08:58:39 -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 26</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 26</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>300990</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=300990</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>igor.alemasow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jb.thery</cc>
    
    <cc>jer.noble</cc>
    
    <cc>luming_yin</cc>
    
    <cc>marcosc</cc>
    
    <cc>nbarkov.biz</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ziyak97</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2148201</commentid>
    <comment_count>0</comment_count>
    <who name="">igor.alemasow</who>
    <bug_when>2025-10-03 09:59:40 -0700</bug_when>
    <thetext>From a PWA launched via Add to Home Screen, video plays on first launch but fails after a cold relaunch. Tapping Play flips to Pause, yet playback doesn’t start. 

Steps to Reproduce:
1. Open a page with an HTML5 &lt;video&gt; (e.g., https://www.w3schools.com/html/html5_video.asp) in Safari.
2. Add to Home Screen and launch.
3. Tap Play → video plays.
4. Force-quit the app.
5. Reopen from Home Screen.
6. Tap Play.

Expected:
Video starts playing.

Actual:
Controls show Pause, but the video is stuck (time doesn’t advance; no audio).

Environment:
- iOS 26/26.0.1; iPadOS 26
- Multiple devices (issue not device-specific)
- Launch mode: Home Screen (standalone/PWA)

ps. Very occasionally it does play, but it’s sporadic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2149679</commentid>
    <comment_count>1</comment_count>
    <who name="">nbarkov.biz</who>
    <bug_when>2025-10-09 02:06:25 -0700</bug_when>
    <thetext>I’ve run into the same issue.

As I can see on the Apple forum, other people are also reporting this problem:
https://discussions.apple.com/thread/256152107

The only temporary workaround at the moment is replacing videos with GIFs. However, iOS optimization reduces the FPS of these GIFs, which significantly worsens the overall user experience.

That’s why this issue is quite serious, and no viable alternatives are currently visible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150000</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-10-10 10:00:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/162376566&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152084</commentid>
    <comment_count>3</comment_count>
    <who name="">jb.thery</who>
    <bug_when>2025-10-17 09:05:34 -0700</bug_when>
    <thetext>I have the same issue since update my iphone to ios26 :

&lt;video
          ref={videoRef}
          key={video}
          className=&quot;h-screen w-screen sm:w-full bg-black object-cover&quot;
          style={{ backgroundColor: &quot;#000000&quot; }}
          src={video}
          poster={image}
          preload=&quot;metadata&quot;
          crossOrigin=&quot;anonymous&quot;
          muted
          loop
          playsInline
          autoPlay
          disablePictureInPicture
          disableRemotePlayback
          tabIndex={-1}
          draggable={false}
          aria-label={`Video for ${name} exercise`}
           &quot;x-webkit-airplay&quot;: &quot;deny&quot;,
         &quot;webkit-playsinline&quot;: &quot;true&quot;,
        /&gt;

Before this code works but now, my app not work anymore on ios safari pwa added to home screen ;(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2152089</commentid>
    <comment_count>4</comment_count>
    <who name="">jb.thery</who>
    <bug_when>2025-10-17 09:23:52 -0700</bug_when>
    <thetext>I&apos;ve tested with TikTok pwa and we can see the issue too.

1 Add web TikTok app to home screen
2 open first time , videos work
3 close and re open video not work (blocked videos)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2154332</commentid>
    <comment_count>5</comment_count>
    <who name="">ziyak97</who>
    <bug_when>2025-10-26 07:54:05 -0700</bug_when>
    <thetext>same issue. i created a ticket but looks like this one already exists. Ref to dup - https://bugs.webkit.org/show_bug.cgi?id=301485</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2154455</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-10-27 08:58:39 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 300990 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>