All skills

Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about "onboarding flow", "user onboarding", "app launch", "loading state", "drag and drop", "search pattern", "settings design", "notifications", "modality", "multitasking", "feedback pattern", "haptics", "undo redo", "file management", data entry, sharing, collaboration, full screen, audio, video, haptic feedback, ratings, printing, help, or account management in Apple apps. Also use when the user says "how should onboarding work", "my app takes too long to load", "should I use a modal here", "how do I handle errors", "when should I ask for permissions", "how to show progress", or "what's the right way to confirm a delete". Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics, hig-components-layout for navigation, hig-components-content for data display.

Use this Skill: https://skilld.dev/gh/raintree-technology/hig-doctor/hig-patterns

This session only. Nothing lands on disk.

referencesplaying-video.md

≈977 tokens on demand. Your agent reads this file only when SKILL.md points to it.

<!-- hig-doctor:attribution -->

Source: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/playing-video. This file is a structured index of that content, snapshot 2025-02-02. Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.

Playing video

  • In full-screen — or aspect-fill — mode, the video scales to fill the display, and some edge cropping may occur. This mode is the default for wide video (2:1 through 2.40:1). For developer guidance, see resizeAspectFill.

  • In fit-to-screen — or aspect — mode, the entire video is visible onscreen, and letterboxing or pillarboxing occurs as needed. This mode is the default for standard video (4:3, 16:9, and anything up to 2:1) and ultrawide video (anything above 2.40:1). For developer guidance, see resizeAspect.

Best practices

Use the system video player to give people a familiar and convenient experience.

Always display video content at its original aspect ratio.

  • Result of padding a 4:3 video
  • Result of padding a 21:9 video

Provide additional information when it adds value.

Support the interactions people expect, regardless of the input device they’re using to control playback.

If people need to access playback options or content-specific information in your tvOS app, consider adding a transport control or a custom content tab.

Avoid allowing audio from different sources to mix as viewers switch between modes.

Integrating with the TV app

Ensure a smooth transition to your app.

Show the expected content immediately.

Avoid asking people if they want to resume playback.

Play or pause playback when people press Space on a connected Bluetooth keyboard.

Make sure content plays for the correct viewer.

Use the previous end time when resuming playback of a long video clip.

Loading content

Avoid displaying loading screens when possible.

Start playback immediately.

Minimize loading screen content.

Exiting playback

Show a contextually relevant screen.

Be prepared for an immediate exit.

Platform considerations

tvOS

Defer to content when displaying logos or noninteractive overlays above video.

Show interactive overlays gracefully.

visionOS

Help people stay comfortable when playing video in your app.

  • Letting them choose when to start playing a video

  • Using a small window for playback, letting people resize it if they want

  • Making sure people can see their surroundings during playback

In a fully immersive experience, avoid letting virtual content obscure playback or transport controls.

Avoid automatically starting a fully immersive video playback experience.

Create a thumbnail track if you want to support scrubbing.

Avoid expanding an inline video player to fill a window.

Use a RealityKit video player if you need to play video in a view like a splash screen or a transitional view.

watchOS

Keep video clips short.

Use the recommended sizes and encoding values for media assets.

Avoid creating a poster image that looks like a system control.

Consider creating a poster image that represents a video clip’s contents.


<!-- hig-doctor:canonical-footer -->

For the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/playing-video

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    This skill is a documentation-only resource providing structured indices of Apple's Human Interface Guidelines (HIG). It contains no executable code, tool configurations, or scripts, and is entirely safe to use.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 5aac106. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated 7 months ago
version
1.0.0

README badge

README badge for raintree-technology/hig-doctor/hig-patterns