<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Screen Time",
  "identifier" : "/documentation/ScreenTime/STWebpageController/urlIsPlayingVideo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Screen Time"
    ],
    "preciseIdentifier" : "c:objc(cs)STWebpageController(py)URLIsPlayingVideo"
  },
  "title" : "urlIsPlayingVideo"
}
-->

# urlIsPlayingVideo

A Boolean that indicates whether there are one or more videos currently
playing in the webpage.

```
var urlIsPlayingVideo: Bool { get set }
```

## Discussion

The default value is <doc://com.apple.documentation/documentation/ObjectiveC/NO>. Set this value when the webpage starts or
stops playing video.

> Important: Set this value to <doc://com.apple.documentation/documentation/ObjectiveC/NO> prior to changing
> ``doc://com.apple.Screen-Time/documentation/ScreenTime/STWebpageController/url`` if the new webpage at that URL stops currently
> playing media and won’t immediately start playing new media.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)