media3-video-playback
Compact skill for Media3 1.10.1 video surfaces, aspect ratio, first frame, HDR, PiP, and feed-safe handoff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Compact skill for Media3 1.10.1 video surfaces, aspect ratio, first frame, HDR, PiP, and feed-safe handoff.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Compact skill for Media3 Google IMA CSAI/SSAI ad insertion, AdViewProvider, companions, and ad telemetry.
Compact skill for Media3 MediaSessionService, MediaController, notification, media buttons, and service lifetime.
Compact skill for Media3 offline downloads with DownloadService, DownloadManager, Requirements, and the WorkManagerScheduler role of media3-exoplayer-workmanager.
Compact skill for Media3 bandwidth estimation, ABR limits, load control, network constraints, and preload contention.
Compact skill for Media3 CastPlayer.Builder, automatic local/remote handoff, MediaRouteButton, and Cast session lifecycle.
Compact skill for Media3 HTTP DataSource, OkHttp/Cronet/HttpEngine, cache, headers, auth, and custom DataSource decisions.
| name | media3-video-playback |
| description | Compact skill for Media3 1.10.1 video surfaces, aspect ratio, first frame, HDR, PiP, and feed-safe handoff. |
| license | Apache-2.0 |
| metadata | {"author":"Shunnek Labs","version":"1.2","target_media3_version":"1.10.1","last_reviewed":"2026-07-23","keywords":["android","media3","video","surface","playersurface","contentframe","first-frame","hdr","pip"]} |
Use for video rendering bugs, blink/flicker, wrong crop, first-frame handoff, PiP, HDR, or fullscreen behavior.
streaming-media-architecture for ownership, KMP split, preload window, and telemetry.1.10.1 through the version catalog.onRenderedFirstFrame plus media identity to remove placeholders.SurfaceView is PREFERRED everywhere, including inline scrollers. Fall back to TextureView only when SurfaceView cannot satisfy the requirement, for example smooth scroll or transition animation on pre-API 24 devices. TextureView costs more power, has weaker frame timing, and cannot show HDR or secure (DRM) output.onVideoSizeChanged, not thumbnail size.val readyForVideo = state.mediaUri == uri && state.renderedMediaUri == uri
// thumbnail visible while !readyForVideo
media3-compose-ui-material3media3-analytics-telemetrystreaming-media-architecture