# VideoMarking

> Type in domain **Assets**

- HTML: [VideoMarking.html](VideoMarking.html)
- Raw SDL: [VideoMarking.sdl](VideoMarking.sdl)
- Covered by: [llms.txt](../llms.txt)

Implements: `Marking`

## Fields

- `position`: `MarkingPosition!` — The `Marking` position in percent relative to the top left corner of the `Asset`.
- `dimensions`: `MarkingDimensions` — The `Marking` dimensions in percent of `Asset` dimensions.
- `timeframe`: `MarkingTimeframe` — The timeframe of the `Marking`. Applicable to `Video` type `Asset` items only.

## Reach via

Example queries that can return this type from the root `Query`.

### `assets › comments › marking`

```graphql
query AssetsCommentsMarking {
  assets(ids: "…") {
    comments(limit: 25, page: 1) {
      items {
        marking {
          ... on VideoMarking {
            __typename
            dimensions {
              height
              width
            }
            position {
              x
              y
            }
            timeframe {
              end
              start
            }
          }
        }
      }
    }
  }
}
```

Raw: [`AssetsCommentsMarking-VideoMarking.sdl`](../examples/AssetsCommentsMarking-VideoMarking.sdl)

### `asset › comments › marking`

```graphql
query AssetCommentsMarking {
  asset(id: "…") {
    comments(limit: 25, page: 1) {
      items {
        marking {
          ... on VideoMarking {
            __typename
            dimensions {
              height
              width
            }
            position {
              x
              y
            }
            timeframe {
              end
              start
            }
          }
        }
      }
    }
  }
}
```

Raw: [`AssetCommentsMarking-VideoMarking.sdl`](../examples/AssetCommentsMarking-VideoMarking.sdl)
