Contents
On this page
Cast to TV - Plugixa Stream
Viewers can play an episode on a TV with Google Cast: a Chromecast, a Google TV or any TV with Chromecast built in. The TV fetches the video itself, and the phone or computer becomes the remote. There is nothing to set up: the Cast button appears in the player when casting is possible.
What the viewer does
- Start an episode on the Watch page.
- Click Play on a TV, the Cast button in the bottom bar, next to picture-in-picture.
- Pick the TV in the browser’s device list.
The episode starts on the TV from the point it had reached, with the subtitle language that was on. The TV shows the series name with the episode number, the episode title, and the episode thumbnail or the series poster.
The phone as a remote
While an episode plays on the TV, the video on the device pauses and the bottom bar gives way to a small remote:
| Control | What it does |
|---|---|
| “Playing on” and the TV’s name | Which TV the episode is on |
| Play or pause | Plays or pauses the TV. The space bar does the same on a computer. |
| Back 10 seconds, Forward 10 seconds | Moves the TV’s playback |
| Stop playing on the TV | Ends casting |
- Swiping or moving to another episode sends that episode to the TV.
- Progress is saved from the TV’s position, so the episode resumes from there later.
- When casting ends, the episode carries on on the device, from where the TV got to.
If the TV cannot play the episode, the player says “This episode could not be played on the TV.”
Requirements
- A browser that can cast: Chrome, Edge or another browser built on Chromium, on a computer or an Android device. Safari, Firefox and browsers on iPhone and iPad have no Cast button.
- A Cast device on the same network as the viewer. The button stays hidden while the browser finds none.
- A video the TV can reach. The TV is another device, so it fetches the file or stream itself:
- Uploaded files, file URLs, HLS streams, encoded episodes and Bunny Stream episodes can be cast.
- YouTube, Vimeo and other embedded episodes cannot: they have no file a TV can fetch.
- A video on
localhost,127.0.0.1or a local domain ending in.local,.testor.localhostcannot: the TV cannot reach it. Test casting on your live site.
The button is shown only for an episode the viewer may watch: a locked episode has no video to send.
The Cast library is loaded from Google (www.gstatic.com) only in a browser that can cast, when
the player opens.
Streams from another site
The TV loads streams under the browser’s cross-site rules, so a stream’s server must allow other
sites to read it. Encoded episodes are served from your uploads folder: on Apache, the plugin
writes the header that allows this into that folder for you. On another web server, such as
nginx, add an Access-Control-Allow-Origin header for
wp-content/uploads/plugixa-stream/hls/ yourself.
Related
Quick Links
Share