Skip to content

Commit

Permalink
Remove seosummary where it truncated the first paragraph, part 1 (#8152)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbamberg authored Aug 21, 2021
1 parent fd13fa4 commit c0e5e7d
Show file tree
Hide file tree
Showing 188 changed files with 606 additions and 378 deletions.
2 changes: 0 additions & 2 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,6 @@
/en-US/docs/DOM/File.getAsDataURL /en-US/docs/Web/API/File/getAsDataURL
/en-US/docs/DOM/File.getAsText /en-US/docs/Web/API/File/getAsText
/en-US/docs/DOM/File.lastModifiedDate /en-US/docs/Web/API/File/lastModifiedDate
/en-US/docs/DOM/File.mozFullPath /en-US/docs/Web/API/File/mozFullPath
/en-US/docs/DOM/File.name /en-US/docs/Web/API/File/name
/en-US/docs/DOM/File.size /en-US/docs/Web/API/Blob/size
/en-US/docs/DOM/File.type /en-US/docs/Web/API/Blob/type
Expand Down Expand Up @@ -7443,7 +7442,6 @@
/en-US/docs/Web/API/File.getAsDataURL /en-US/docs/Web/API/File/getAsDataURL
/en-US/docs/Web/API/File.getAsText /en-US/docs/Web/API/File/getAsText
/en-US/docs/Web/API/File.lastModifiedDate /en-US/docs/Web/API/File/lastModifiedDate
/en-US/docs/Web/API/File.mozFullPath /en-US/docs/Web/API/File/mozFullPath
/en-US/docs/Web/API/File.name /en-US/docs/Web/API/File/name
/en-US/docs/Web/API/File.size /en-US/docs/Web/API/Blob/size
/en-US/docs/Web/API/File.type /en-US/docs/Web/API/Blob/type
Expand Down
12 changes: 0 additions & 12 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -45682,18 +45682,6 @@
"trevorh"
]
},
"Web/API/File/mozFullPath": {
"modified": "2020-04-17T10:27:02.432Z",
"contributors": [
"maxloh",
"Sheppy",
"Jedipedia",
"kscarfone",
"teoli",
"iamanupmenon",
"Konami"
]
},
"Web/API/File/name": {
"modified": "2020-10-15T21:14:30.919Z",
"contributors": [
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/addresserrors/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
---
<div>{{APIRef("Payment Request API")}}</div>

<p><span class="seoSummary">The <strong><code>AddressErrors</code></strong> dictionary is used by the <a href="/en-US/docs/Web/API/Payment_Request_API">Payment Request API</a> to report validation errors in a physical address (typically a billing address or a shipping address).</span> Any members which is present indicates that a validation error occurred for the member of the same name in an address described using {{domxref("PaymentAddress")}}.</p>
<p>The <strong><code>AddressErrors</code></strong> dictionary is used by the <a href="/en-US/docs/Web/API/Payment_Request_API">Payment Request API</a> to report validation errors in a physical address (typically a billing address or a shipping address). Any members which are present indicate that a validation error occurred for the member of the same name in an address described using {{domxref("PaymentAddress")}}.</p>

<p><code>AddressErrors</code> is the type of the object returned by {{domxref("PaymentDetailsUpdate.shippingAddressErrors", "shippingAddressErrors")}} in the {{domxref("PaymentDetailsUpdate")}} passed into {{domxref("PaymentRequestUpdateEvent.updateWith()")}} by the {{event("shippingaddresschange")}} event handler if a change to the address resulted in a validation error occurring.</p>

Expand Down
6 changes: 3 additions & 3 deletions files/en-us/web/api/animation/finish/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
---
<p>{{APIRef("Web Animations")}}{{SeeCompatTable}}</p>

<div>
<p><span class="seoSummary">The <strong><code>finish()</code> </strong>method of the <a href="/en-US/docs/Web/API/Web_Animations_API">Web Animations API</a>'s {{domxref("Animation")}} Interface sets the current playback time to the end of the animation corresponding to the current playback direction.</span> That is, if the animation is playing forward, it sets the playback time to the length of the animation sequence, and if the animation is playing in reverse (having had its {{domxref("Animation.reverse", "reverse()")}} method called), it sets the playback time to 0.</p>
</div>
<p>The <strong><code>finish()</code> </strong>method of the <a href="/en-US/docs/Web/API/Web_Animations_API">Web Animations API</a>'s {{domxref("Animation")}} Interface sets the current playback time to the end of the animation corresponding to the current playback direction.</p>

<p>That is, if the animation is playing forward, it sets the playback time to the length of the animation sequence, and if the animation is playing in reverse (having had its {{domxref("Animation.reverse", "reverse()")}} method called), it sets the playback time to 0.</p>

<h2 id="Syntax">Syntax</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@
---
<p>{{APIRef("Web Audio API")}}</p>

<p><span class="seoSummary">The <strong><code>AudioBufferSourceNode()</code></strong>
constructor creates a new {{domxref("AudioBufferSourceNode")}} object instance.</span>
</p>
<p>The <strong><code>AudioBufferSourceNode()</code></strong>
constructor creates a new {{domxref("AudioBufferSourceNode")}} object instance.</p>

<h2 id="Syntax">Syntax</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
---
<p>{{APIRef("Web Audio API")}}</p>

<p class="summary"><span class="seoSummary">The
<p>The
<strong><code>getOutputTimestamp()</code></strong> property of the
{{domxref("AudioContext")}} interface returns a new <code>AudioTimestamp</code> object
containing two audio timestamp values relating to the current audio context.</span>
</p>
containing two audio timestamp values relating to the current audio context.</p>

<p>The two values are as follows:</p>

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/audiocontext/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
---
<div>{{APIRef("Web Audio API")}}</div>

<p><span class="seoSummary">The <code>AudioContext</code> interface represents an audio-processing graph built from audio modules linked together, each represented by an {{domxref("AudioNode")}}.</span> An audio context controls both the creation of the nodes it contains and the execution of the audio processing, or decoding. You need to create an <code>AudioContext</code> before you do anything else, as everything happens inside a context. It's recommended to create one AudioContext and reuse it instead of initializing a new one each time, and it's OK to use a single <code>AudioContext</code> for several different audio sources and pipeline concurrently.</p>
<p>The <code>AudioContext</code> interface represents an audio-processing graph built from audio modules linked together, each represented by an {{domxref("AudioNode")}}.</p>

<p>An audio context controls both the creation of the nodes it contains and the execution of the audio processing, or decoding. You need to create an <code>AudioContext</code> before you do anything else, as everything happens inside a context. It's recommended to create one AudioContext and reuse it instead of initializing a new one each time, and it's OK to use a single <code>AudioContext</code> for several different audio sources and pipeline concurrently.</p>

<p>{{InheritanceDiagram}}</p>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audionode/numberofinputs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
---
<div>{{APIRef("Web Audio API")}}</div>

<p class="summary"><span class="seoSummary">The <code>numberOfInputs</code> property of
<p>The <code>numberOfInputs</code> property of
the {{domxref("AudioNode")}} interface returns the number of inputs feeding the
node.</span> Source nodes are defined as nodes having a <code>numberOfInputs</code>
node. Source nodes are defined as nodes having a <code>numberOfInputs</code>
property with a value of 0.</p>

<h2 id="Syntax">Syntax</h2>
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audionode/numberofoutputs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
---
<div>{{APIRef("Web Audio API")}}</div>

<p class="summary"><span class="seoSummary">The <code>numberOfOutputs</code> property of
<p>The <code>numberOfOutputs</code> property of
the {{ domxref("AudioNode") }} interface returns the number of outputs coming out of
the node.</span> Destination nodes — like {{domxref("AudioDestinationNode") }} — have
the node. Destination nodes — like {{domxref("AudioDestinationNode") }} — have
a value of 0 for this attribute.</p>

<h2 id="Syntax">Syntax</h2>
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/audioparam/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
---
<div>{{APIRef("Web Audio API")}}</div>

<p><span class="seoSummary">The Web Audio API's <code>AudioParam</code> interface represents an audio-related parameter, usually a parameter of an {{domxref("AudioNode")}} (such as {{ domxref("GainNode.gain") }}).</span> An <code>AudioParam</code> can be set to a specific value or a change in value, and can be scheduled to happen at a specific time and following a specific pattern.</p>
<p>The Web Audio API's <code>AudioParam</code> interface represents an audio-related parameter, usually a parameter of an {{domxref("AudioNode")}} (such as {{ domxref("GainNode.gain") }}).</p>

<p>An <code>AudioParam</code> can be set to a specific value or a change in value, and can be scheduled to happen at a specific time and following a specific pattern.</p>

<p>There are two kinds of <code>AudioParam</code>, <em>a-rate</em> and <em>k-rate</em> parameters:</p>

Expand Down
6 changes: 4 additions & 2 deletions files/en-us/web/api/audioparam/setvaluecurveattime/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@
---
<p>{{APIRef("Web Audio API")}}</p>

<p class="summary"><span class="seoSummary">The
<p>The
<strong><code>setValueCurveAtTime()</code></strong> method of the
{{domxref("AudioParam")}} interface schedules the parameter's value to change
following a curve defined by a list of values.</span> The curve is a linear
following a curve defined by a list of values.</p>

<p>The curve is a linear
interpolation between the sequence of values defined in an array of floating-point
values, which are scaled to fit into the given interval starting at
<code>startTime</code> and a specific duration.</p>
Expand Down
5 changes: 2 additions & 3 deletions files/en-us/web/api/audioparam/value/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@
---
<p>{{APIRef("Web Audio API")}}</p>

<p class="summary"><span class="seoSummary">The <a
<p>The <a
href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API's</a>
{{domxref("AudioParam")}} interface property <code><strong>value</strong></code> gets
or sets the value of this {{domxref("AudioParam")}} at the current time.</span>
Initially, the value is set to {{domxref("AudioParam.defaultValue")}}.</p>
or sets the value of this {{domxref("AudioParam")}} at the current time. Initially, the value is set to {{domxref("AudioParam.defaultValue")}}.</p>

<p>Setting <code>value</code> has the same effect as
calling {{domxref("AudioParam.setValueAtTime")}} with the time returned by the
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/audioparamdescriptor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
---
<div>{{APIRef("Web Audio API")}}</div>

<p><span class="seoSummary">The <code><strong>AudioParamDescriptor</strong></code> dictionary of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> specifies properties for {{domxref("AudioParam")}} objects.</span> It is used to create custom <code>AudioParam</code>s on an {{domxref("AudioWorkletNode")}}. If the underlying {{domxref("AudioWorkletProcessor")}} has a {{domxref("AudioWorkletProcessor.parameterDescriptors", "parameterDescriptors")}} static getter, then the returned array of objects based on this dictionary is used internally by <code>AudioWorkletNode</code> constructor to populate its {{domxref("AudioWorkletNode.parameters", "parameters")}} property accordingly.
<p>The <code><strong>AudioParamDescriptor</strong></code> dictionary of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> specifies properties for {{domxref("AudioParam")}} objects.</p>

<p>It is used to create custom <code>AudioParam</code>s on an {{domxref("AudioWorkletNode")}}. If the underlying {{domxref("AudioWorkletProcessor")}} has a {{domxref("AudioWorkletProcessor.parameterDescriptors", "parameterDescriptors")}} static getter, then the returned array of objects based on this dictionary is used internally by <code>AudioWorkletNode</code> constructor to populate its {{domxref("AudioWorkletNode.parameters", "parameters")}} property accordingly.

</p><h2 id="Properties">Properties</h2>

Expand Down
10 changes: 5 additions & 5 deletions files/en-us/web/api/audiotrack/id/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
---
<div>{{APIRef("HTML DOM")}}</div>

<p><span class="seoSummary">The <code><strong>id</strong></code> property contains a
<p>The <code><strong>id</strong></code> property contains a
string which uniquely identifies the track represented by the
<strong>{{domxref("AudioTrack")}}</strong>.</span> This ID can be used with the
{{domxref("AudioTrackList.getTrackById()")}} method to locate a specific track within
the media associated with a media element.</p>
<strong>{{domxref("AudioTrack")}}</strong>.</p>

<p>The track ID can also be used as the fragment of a URL that loads the specific track
<p>This ID can be used with the
{{domxref("AudioTrackList.getTrackById()")}} method to locate a specific track within
the media associated with a media element. The track ID can also be used as the fragment of a URL that loads the specific track
(if the media supports media fragments).</p>

<h2 id="Syntax">Syntax</h2>
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/audiotrack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
---
<div>{{APIRef("HTML DOM")}}</div>

<p><span class="seoSummary">The <strong><code>AudioTrack</code></strong> interface represents a single audio track from one of the HTML media elements, {{HTMLElement("audio")}} or {{HTMLElement("video")}}. </span>The most common use for accessing an <code>AudioTrack</code> object is to toggle its {{domxref("AudioTrack.enabled", "enabled")}} property in order to mute and unmute the track.</p>
<p>The <strong><code>AudioTrack</code></strong> interface represents a single audio track from one of the HTML media elements, {{HTMLElement("audio")}} or {{HTMLElement("video")}}.</p>

<p>The most common use for accessing an <code>AudioTrack</code> object is to toggle its {{domxref("AudioTrack.enabled", "enabled")}} property in order to mute and unmute the track.</p>

<h2 id="Properties">Properties</h2>

Expand Down
6 changes: 4 additions & 2 deletions files/en-us/web/api/audiotrack/kind/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
---
<div>{{APIRef("HTML DOM")}}</div>

<p><span class="seoSummary">The <strong><code>kind</code></strong> property contains a
<p>The <strong><code>kind</code></strong> property contains a
string indicating the category of audio contained in the
<strong>{{domxref("AudioTrack")}}</strong>.</span> The <code>kind</code> can be used
<strong>{{domxref("AudioTrack")}}</strong>.</p>

<p>The <code>kind</code> can be used
to determine the scenarios in which specific tracks should be enabled or disabled. See
{{anch("Audio track kind strings")}} for a list of the kinds available for audio tracks.
</p>
Expand Down
6 changes: 4 additions & 2 deletions files/en-us/web/api/audiotrack/language/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
---
<div>{{APIRef("HTML DOM")}}</div>

<p><span class="seoSummary">The read-only <strong>{{domxref("AudioTrack")}}</strong>
<p>The read-only <strong>{{domxref("AudioTrack")}}</strong>
property <strong><code>language</code></strong> returns a string identifying the
language used in the audio track.</span> For tracks that include multiple languages
language used in the audio track.</p>

<p>For tracks that include multiple languages
(such as a movie in English in which a few lines are spoken in other languages), this
should be the video's primary language.</p>

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audiotracklist/gettrackbyid/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
---
<div>{{APIRef("HTML DOM")}}</div>

<p><span class="seoSummary">The <strong>{{domxref("AudioTrackList")}}</strong> method
<p>The <strong>{{domxref("AudioTrackList")}}</strong> method
<strong><code>getTrackById()</code></strong> returns the first
{{domxref("AudioTrack")}} object from the track list whose {{domxref("AudioTrack.id",
"id")}} matches the specified string.</span> This lets you find a specified track if
"id")}} matches the specified string. This lets you find a specified track if
you know its ID string.</p>

<h2 id="Syntax">Syntax</h2>
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/audiotracklist/length/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
---
<div>{{APIRef("HTML DOM")}}</div>

<p><span class="seoSummary">The read-only <strong>{{domxref("AudioTrackList")}}</strong>
<p>The read-only <strong>{{domxref("AudioTrackList")}}</strong>
property <code><strong>length</strong></code> returns the number of entries in the
<code>AudioTrackList</code>, each of which is an {{domxref("AudioTrack")}}
representing one audio track in the media element.</span> A value of 0 indicates that
representing one audio track in the media element. A value of 0 indicates that
there are no audio tracks in the media.</p>

<h2 id="Syntax">Syntax</h2>
Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/audioworklet/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
---
<p>{{APIRef("Web Audio API")}}{{securecontext_header}}</p>

<p class="summary"><span class="seoSummary">The <strong><code>AudioWorklet</code></strong> interface of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing.</span> The worklet's code is run in the {{domxref("AudioWorkletGlobalScope")}} global execution context, using a separate Web Audio thread which is shared by the worklet and other audio nodes.</p>
<p>The <strong><code>AudioWorklet</code></strong> interface of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> is used to supply custom audio processing scripts that execute in a separate thread to provide very low latency audio processing.</p>

<p>The worklet's code is run in the {{domxref("AudioWorkletGlobalScope")}} global execution context, using a separate Web Audio thread which is shared by the worklet and other audio nodes.</p>

<p>Access the audio context's instance of <code>AudioWorklet</code> through the {{domxref("BaseAudioContext.audioWorklet")}} property.</p>

Expand Down
4 changes: 3 additions & 1 deletion files/en-us/web/api/audioworkletglobalscope/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
---
<p>{{APIRef("Web Audio API")}}</p>

<p><span class="seoSummary">The <strong><code>AudioWorkletGlobalScope</code></strong> interface of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> represents a global execution context for user-supplied code, which defines custom {{domxref("AudioWorkletProcessor")}}-derived classes.</span> Each {{domxref("BaseAudioContext")}} has a single {{domxref("AudioWorklet")}} available under the {{domxref("BaseAudioContext.audioWorklet", "audioWorklet")}} property, which runs its code in a single <code>AudioWorkletGlobalScope</code>.</p>
<p>The <strong><code>AudioWorkletGlobalScope</code></strong> interface of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> represents a global execution context for user-supplied code, which defines custom {{domxref("AudioWorkletProcessor")}}-derived classes.</p>

<p>Each {{domxref("BaseAudioContext")}} has a single {{domxref("AudioWorklet")}} available under the {{domxref("BaseAudioContext.audioWorklet", "audioWorklet")}} property, which runs its code in a single <code>AudioWorkletGlobalScope</code>.</p>

<p>As the global execution context is shared across the current <code>BaseAudioContext</code>, it's possible to define any other variables and perform any actions allowed in worklets — apart from defining <code>AudioWorkletProcessor</code>-derived classes.</p>

Expand Down
6 changes: 4 additions & 2 deletions files/en-us/web/api/audioworkletprocessor/process/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
---
<p>{{APIRef("Web Audio API")}}</p>

<p class="summary"><span class="seoSummary">The <strong><code>process()</code></strong>
<p>The <strong><code>process()</code></strong>
method of an {{domxref("AudioWorkletProcessor")}}-derived class implements the audio
processing algorithm for the audio processor worklet.</span> Although the method is
processing algorithm for the audio processor worklet.</p>

<p>Although the method is
not a part of the {{domxref("AudioWorkletProcessor")}} interface, any implementation
of <code>AudioWorkletProcessor</code> must provide a <code>process()</code> method.</p>

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/baseaudiocontext/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
---
<div>{{APIRef("Web Audio API")}}</div>

<p class="summary"><span class="seoSummary">The <code>BaseAudioContext</code> interface of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> acts as a base definition for online and offline audio-processing graphs, as represented by {{domxref("AudioContext")}} and {{domxref("OfflineAudioContext")}} respectively.</span> You wouldn't use <code>BaseAudioContext</code> directly — you'd use its features via one of these two inheriting interfaces.</p>
<p>The <code>BaseAudioContext</code> interface of the <a href="/en-US/docs/Web/API/Web_Audio_API">Web Audio API</a> acts as a base definition for online and offline audio-processing graphs, as represented by {{domxref("AudioContext")}} and {{domxref("OfflineAudioContext")}} respectively. You wouldn't use <code>BaseAudioContext</code> directly — you'd use its features via one of these two inheriting interfaces.</p>

<p>A <code>BaseAudioContext</code> can be a target of events, therefore it implements the {{domxref("EventTarget")}} interface.</p>

Expand Down
Loading

0 comments on commit c0e5e7d

Please sign in to comment.