Stream videos directly from torrent files or magnet links using a remote API. This extension allows you to watch videos without downloading, supports every public magnet site that provides magnet: to users
56f218d50d2845841e52d98e5da2e454 free key
This is a browser extension designed to enhance the video streaming experience on rsd.ovh. It provides two main functionalities:
- Cast Button: Injects a "Cast" button on
rsd.ovh/streampages, allowing users to cast the currently playing media to a Chromecast device. - Detached Video Player for Magnet Links: Injects a "Play" button next to magnet links. Clicking this button opens a detached video player in a new window. This player attempts to stream the video content from the magnet link and automatically detects, extracts, and displays subtitles (SRT/VTT) associated with the video.
The extension utilizes a background script for handling API interactions (fetching torrent files, subtitle extraction), a content script for injecting UI elements and communicating with the background script, and a dedicated HTML/JS pair for the detached video player.
This project is a Chrome Extension and does not require a traditional build process. To run and test the extension:
-
Load as Unpacked Extension:
- Open Google Chrome.
- Navigate to
chrome://extensions/. - Enable "Developer mode" (usually a toggle in the top right corner).
- Click "Load unpacked" and select the
/home/extension/directory.
-
Testing Functionality:
- Navigate to an
rsd.ovh/streampage to test the "Cast" button. - Navigate to a page containing magnet links (e.g., a torrent indexer) to test the "Play" button and the detached video player with subtitle functionality.
- Navigate to an
- JavaScript: Standard JavaScript practices are followed.
- Chrome Extension APIs: Utilizes
chrome.runtime,chrome.tabs,chrome.windows, andchrome.offscreenAPIs for inter-component communication and browser functionality. - API Interaction: Interacts with an external API (
https://rsd.ovh) for file listing, subtitle probing, and subtitle extraction. - DOM Manipulation: Content scripts directly manipulate the DOM of
rsd.ovhpages to inject buttons. - Subtitle Handling: The background script handles the logic for finding the largest video file, identifying potential subtitle files (SRT, embedded in MKV), initiating subtitle extraction, and passing the resulting VTT URL to the detached player. The detached player dynamically adds the VTT track to the HTML5 video element.