<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "QuickTime File Format",
  "identifier" : "/documentation/quicktime-file-format/Movie_media_sample/kMovieMediaLoop",
  "metadataVersion" : "0.1.0",
  "role" : "Data field",
  "symbol" : {
    "kind" : "Data field",
    "modules" : [
      "QuickTime File Format"
    ],
    "preciseIdentifier" : "__docc_universal_symbol_reference_$Movie_media_sample_kMovieMediaLoop"
  },
  "title" : "kMovieMediaLoop"
}
-->

# kMovieMediaLoop

An 8-byte unsigned integer that indicates how the embedded movie should loop.

## Overview

This atom is only used if the `TimeBase` of the embedded movie is not dependent on the container movie. If this atom contains a `0`, or if this atom is not present, the embedded movie will not loop. If this atom contains a value of `1`, the embedded movie loops normally — that is, when it reaches the end it loops back to the beginning. If this atom contains a value of `2`, the embedded movie uses palindromic looping. All other values are reserved.

---

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)