capacitor-bridge
Installation
SKILL.md
Capacitor Bridge Skill
This skill handles the communication between the React Frontend and the Native Android layer (TVPlayer.java).
Primary Goal: Launch external players (VLC, MX Player, Vimu) correctly and handle their return results (resume position).
桥 API Contract
TVPlayer.play(options)
Launches a single video file. Must return a Promise that resolves only after the player closes.
Options:
url(string, required): Direct link to the video stream.package(string, optional): Specific player package name (e.g.,net.gtvbox.videoplayer). If null, opens system chooser.title(string): Title to display in the player.position(number): Resume position in milliseconds.
Related skills
More from dbobkov245-source/pwa-torserve
tv-navigator
Specialist in Android TV D-Pad navigation and React focus management.
24resilience-core
Specialist in network resilience, anti-censorship, and TMDB access in restricted regions.
12perf-virtual-lists
Specialist in high-performance list virtualization for Android TV (React).
10app-updater
Specialist in self-hosted APK updates without Google Play.
6debug-remote
Specialist in debugging TV apps remotely (logs, telemetry).
6