Chromecast

  Desculpe, esta página está aguardando tradução para o português

Chromecast is a digital media player from Google that allows you to stream video from a small to a big screen (for example from smartphone to TV or projector) via WI-FI. Currently PlayerJS supports this technology for mp4, HLS and DASH.

Works only on domains with secure HTTPS protocol in Chrome browser.

Video version of the guide on YouTube

How to setup

You must add a special button to the player interface. Create a custom element SVG type and place it in the right place. The button will be displayed only if the device is found on the WI-FI network and the content of the player is ready for broadcast. Then you need to specify the chromecast command as the action for this element.

The icon for this element place directly Chromecast, so its design in the builder doesn't matter. Only one player on the page can have it.

You need to enable Plugins / Chromecast

The player should have a familiar button (if the player has what to broadcast).

You can pass a different link to the Chromcast using the casturl parameter (the video must be delivered using the same extension as the main link, mp4 or HLS for example). As well as a separate name with the castname parameter

let player = new Playerjs({id:"player", file:"https://site.com/video.mp4", casturl:"https://site.com/video4chromecast.mp4", castname:"Title"});

This plugin is available in PRO, but you can use the free template.


19.12.14
2024 © PlayerJS

Iniciar sessão

Iniciar sessão

Inscrever-se gratuitamente

Inscrever-se
Ao inscrever-se, o utilizador concorda com Termos de Serviço
Login se tiver uma conta

Restaurar a palavra-passe

Restaurar
Esqueceu-se do e-mail? Contacte-nos