Kindly assist me with defining a play() and pause() methods for my custom class

The class is annotated @tag(‘video’‘video’) and extends Component

probs something like

public void play() {
  getElement().executeJs("this.play()");
}

You can also look at the src of
https://vaadin.com/directory/component/video-js-player and
https://vaadin.com/directory/component/video-tag-java

@observant-okapi you’re the best thank you. It workeworkedd