Commands to pause Youtube video

I am having trouble getting the PAUSE and RESUME functions to work properly for youtube under the html producer. Why does pause stop the video, but not the audio? Is there any way to send input to the chromium instance to gain control of the transport controls? Currently Pause stops the displayed video, but the player continues playing audio. RESUME resumes playing the video along with the audio that never stopped. Is anyone else able to reproduce this problem?

PLAY 1-1 [HTML] "https://www.youtube.com/embed/-NZVaacY-qw?rel=0&controls=0&showinfo=0&autoplay=1&modestbranding=1&start=300"

PAUSE 1-1 [HTML] "https://www.youtube.com/embed/-NZVaacY-qw?rel=0&controls=0&showinfo=0&autoplay=1&modestbranding=1&start=300"

RESUME 1-1 [HTML] "https://www.youtube.com/embed/-NZVaacY-qw?rel=0&controls=0&showinfo=0&autoplay=1&modestbranding=1&start=300"

I guess this behavior makes sense as CasparCG is playing the web page, not the youtube player. I am developing a casparCG HTML template to play youtube videos that will properly connect the pause and resume functions with the youtube API.

1 Like