Skip to content
Discussion options

You must be logged in to vote

Okay I see, thanks for the example!

It is two player. I think it is possible, this is how I would have done it if it were me.

  • Create two player, one for the video in front (player-a) and one for the video behind (player-b) (player-a is in front of the player-b with CSS)
  • Create a custom play/pause button (button-a) which control "player-a" (small button at the left corner)
  • Create a custom play/pause button (button-b) which control "player-b" (big play on center)
  • The "player-a" is autoplay, without controls
  • The "player-b" is waiting play action from a "button-b"
  • On "button-b" action, pause the "player-a" and hide it and play the "player-b"

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@abombelli
Comment options

@yoriiis
Comment options

@abombelli
Comment options

@yoriiis
Comment options

Answer selected by yoriiis
@abombelli
Comment options

@yoriiis
Comment options

@abombelli
Comment options

@yoriiis
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants