Skill / SKILL.md

Recipe Media Player

Kimeur/duology

Creates a complete SwiftUI video and podcast player for iPhone Duo, Apple's foldable: a library list-detail, a full-screen player whose playback survives every fold, unfold and rotation, a tabletop layout (video above the fold, the same controls below), a book layout (video leading, controls trailing), Picture in Picture, an up next card, a mini player and background audio. Use when someone wants to start a new video, podcast, course or streaming app from scratch, or runs /duo-new recipe-media-player. For an existing player, use duo-postures (tabletop media) and duo-continuity instead. Covers one AVPlayer, AVPlayerLayer and AVPictureInPictureController owned above the layout switch, FoldRegionsLayout reading the .division reserved region, NavigationSplitView selection kept in a model, an up next card inside the controls so it never sits in the fold, a Foundation-only model tested on the Mac, bundled sample clips made with ffmpeg, and UI tests that work on the iPhone Duo simulator.
2 views 46 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Creates a complete SwiftUI video and podcast player for iPhone Duo, Apple's foldable: a library list-detail, a full-screen player whose playback survives every fold, unfold and rotation, a tabletop layout (video above the fold, the same controls below), a book layout (video leading, controls trailing), Picture in Picture, an up next card, a mini player and background audio. Use when someone wants to start a new video, podcast, course or streaming app from scratch, or runs /duo-new recipe-media-player. For an existing player, use duo-postures (tabletop media) and duo-continuity instead. Covers one AVPlayer, AVPlayerLayer and AVPictureInPictureController owned above the layout switch, FoldRegionsLayout reading the .division reserved region, NavigationSplitView selection kept in a model, an up next card inside the controls so it never sits in the fold, a Foundation-only model tested on the Mac, bundled sample clips made with ffmpeg, and UI tests that work on the iPhone Duo simulator.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/Kimeur/duology' skill-source

Use the complete skill-source/plugins/duology-recipes/skills/recipe-media-player directory with your client’s skill installer.

  • plugins/duology-recipes/skills/recipe-media-player

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/duology-recipes/skills/recipe-media-player

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
49 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
ad18abfbee796f2f2bf02fa25751a4099fd3111f20d0d3fe7edec44035f6bf50
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills