Skip to content

Commit

Permalink
Apply suggestions from Marcos
Browse files Browse the repository at this point in the history
Co-authored-by: Marcos Cáceres <marcos@marcosc.com>
  • Loading branch information
chrisn and marcoscaceres committed May 2, 2024
1 parent 455ce98 commit 8e59095
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ window stays visible even when the user agent is not visible.
Picture-in-Picture is a common platform-level feature among desktop and mobile
OSs.

This specification extends {{HTMLVideoElement}} with the aim of allowing websites
This specification extends {{HTMLVideoElement}} allowing websites
to initiate and control this behavior by exposing the following sets of properties:

* Notify the website when it enters and leaves Picture-in-Picture mode.
Expand All @@ -67,8 +67,6 @@ to initiate and control this behavior by exposing the following sets of properti
* Allow the website to exit Picture-in-Picture mode.
* Allow the website to check if Picture-in-Picture mode can be triggered.

The Picture-in-Picture API is very similar to [[Fullscreen]] as they
have similar properties.

# Examples # {#examples}

Expand Down Expand Up @@ -467,7 +465,7 @@ apply to the shadow host chain.

<em>This section is non-normative.</em>

To prevent potential abuse through spoofing, the API applies only to
To limit potential abuse through spoofing, the API applies only to
{{HTMLVideoElement}}. User interaction with the Picture-in-Picture window
is intentionally limited so that the only effect is on the Picture-in-Picture
window itself or the media being played.
Expand Down

0 comments on commit 8e59095

Please sign in to comment.