Agora-RTC-React icon indicating copy to clipboard operation
Agora-RTC-React copied to clipboard

I want to add controls attribute to the video element of the AgoraVideoPlayer component.

Open RYOTA-KOBA opened this issue 1 year ago • 2 comments

I would like to add controls attribute to the video element of AgoraVideoPlayer to display buttons that can control playback and volume. However, currently, it is not possible to pass the controls to the video element by props, and the only way is to setAttribute directly to the video element. Is there any solution?

RYOTA-KOBA avatar May 22 '23 03:05 RYOTA-KOBA

This isn't something we have on our roadmap as of now, sorry.

EkaanshArora avatar May 22 '23 07:05 EkaanshArora

I see. Then I will implement it with setAttribute. Thanks.

RYOTA-KOBA avatar May 22 '23 09:05 RYOTA-KOBA