i want my slider to update the react youtube frame api , this is the script i try , but it\'s not working, i also try to use a useEffect hooks , but i don\'t nkow how to bind th