<?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>226067</bug_id>
          
          <creation_ts>2021-05-20 21:43:59 -0700</creation_ts>
          <short_desc>Audio .play() cuts off the beginning of (short?) clips</short_desc>
          <delta_ts>2022-06-30 13:07:04 -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 14</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 11</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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="Jay">jay</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>chen.jingan</cc>
    
    <cc>jer.noble</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1762292</commentid>
    <comment_count>0</comment_count>
    <who name="Jay">jay</who>
    <bug_when>2021-05-20 21:43:59 -0700</bug_when>
    <thetext>When using `obj.play()` on an audio (mp3) component, the second time .play() is called, the full audio clip does not play.

https://jsfiddle.net/8fbt7rgc/1/

https://stackoverflow.com/questions/67629761/how-to-stop-safari-clipping-fractions-of-time-off-audio-on-second-play</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762293</commentid>
    <comment_count>1</comment_count>
    <who name="Jay">jay</who>
    <bug_when>2021-05-20 21:58:27 -0700</bug_when>
    <thetext>Oh, wait. The problem I was experiencing, where the second play didn&apos;t play all of the 2 second clip, has stopped occurring. So its not a straight black and white &quot;it doesn&apos;t work the second time&quot; There seems to be something else going on.  I&apos;ll update this ticket if the problem occurs again, or close it if the problem does not occur again in the next day or so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762295</commentid>
    <comment_count>2</comment_count>
    <who name="Jay">jay</who>
    <bug_when>2021-05-20 22:21:32 -0700</bug_when>
    <thetext>Nope the problem is back. The second (and following times) I press play, the first half a second or so is cut off. Still not sure why its intermittent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1762653</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-05-21 16:31:59 -0700</bug_when>
    <thetext>I can reproduce with r277884.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1764665</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-27 21:44:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/78603527&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879458</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-06-30 11:38:05 -0700</bug_when>
    <thetext>The fix for this issue needs to be made outside of the WebKit source code, therefore marking this as &quot;RESOLVED | MOVED&quot;.

The work on that operating system component is being done under this radar:
&lt;rdar://75702167&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1879479</commentid>
    <comment_count>6</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-06-30 13:07:04 -0700</bug_when>
    <thetext>We believe this is resolved in:
macOS Ventura Beta 2 (and newer).
iOS 16.0 Beta 2 (and newer).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>