---
title: addWebVideoToPage
framework: appintents
role: symbol
role_heading: Instance Property
path: appintents/assistantschemas/wordprocessorintent/addwebvideotopage
---

# addWebVideoToPage

The app intent conforms to the schema for adding a web video to a page in a text document.

## Declaration

```swift
var addWebVideoToPage: some AssistantSchemas.Intent { get }
```

## Overview

Overview Use Swift macros that generate additional properties and add protocol conformance for your app intent implementation. The following example shows an app intent that conforms to the .wordProcessor.addWebVideoToPage schema: @AppIntent(schema: .wordProcessor.addWebVideoToPage) struct AddWebVideoToWordProcessorPageIntent: AppIntent {     @Parameter     var target: WordProcessorPageEntity

@Parameter(supportedContentTypes: [.audio])     var audio: IntentFile

func perform() async throws -> some IntentResult {         .result()     } }
