How to use dynamic videoId in Youtube player API using ionic react

I am developing my first :bowing_woman: project on ionic react, I have installed youtube player API and it’s displaying on web, but I want to be able to insert the videoId dynamically instead of hardcoding the youtube videoId.

Please I will really appreciate any help from here