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
Installs
13
GitHub Stars
1
First Seen
Feb 1, 2026