I am working on project which is generating videos using a player. Using the HTML tag <div id={renderId}> , when I render the div element with a dynamic ID then I see the video , in case I change to static value it doesnt render .I am not sure why it happens.. There is only 1 video on the page .
When the value of renderId is new Date().getTime() I see the video works fine on the page.
when I set it to abc or any fixed value, there is no video on the page.
This is a React application with Next.JS