Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

119
Vistas
Is there any support in video.js to set callbacks to have video players in remote browsers mimic an user action?

I am using video.js video player.

I am having an application that is loaded in multiple browsers. The application has a video.js video player loaded in it. One of the app serves as the master or the controller app. The others are controlled apps.

Using websockets I want to send control messages from the master player to the controlled players.

I want the following actions mimicked in the controlled player from the master player:

  1. Volume control.
  2. Play button
  3. Pause button
  4. Skip to any point in the video

Are there callbacks provided when a user initiates these controls in the player? If so, is there sufficient data passed to the callback so that this data can, in turn, through websockets, be passed to a remote player to perform the same action?

Any pointers will be helpful.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Yes, you can try listening to these events from videojs player: volumechange, play, pause, seeked,

Your code will look like something like this:

this.player.on("volumechange", (e) => forwardEventToWebSocket(e));

Documentation of all events is available here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#events

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda