<?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>181650</bug_id>
          
          <creation_ts>2018-01-15 08:42:15 -0800</creation_ts>
          <short_desc>[GTK][WPE] API for WebsiteAutoplayPolicy</short_desc>
          <delta_ts>2020-05-05 05:33:40 -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>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>184845</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>clopez</cc>
    
    <cc>cturner</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1389312</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-01-15 08:42:15 -0800</bug_when>
    <thetext>We should have some API for setting the autoplay policy, similar to the mac port.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1389316</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2018-01-15 08:58:41 -0800</bug_when>
    <thetext>More info:

https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/
https://webkit.org/blog/6784/new-video-policies-for-ios/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1409083</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2018-03-24 03:32:30 -0700</bug_when>
    <thetext>I think this should be implemented using ChromeClient::handleAutoplayEvent() ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1649154</commentid>
    <comment_count>3</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2020-05-05 05:01:20 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 184845 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1649161</commentid>
    <comment_count>4</comment_count>
    <who name="Charlie Turner">cturner</who>
    <bug_when>2020-05-05 05:33:40 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #2)
&gt; I think this should be implemented using ChromeClient::handleAutoplayEvent()
&gt; ...

handleAutoplayEvent() is there to tell clients when autoplay is denied, I guess so they can display some UI clarifying that. I don&apos;t think it is relevant to an API allowing clients to set the policy. Am I missing something?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>