I have a code play YouTube video it works normally in my computer and VPS when I connect but when I disconnect video is not played I dont have any idea for this problem
from selenium import webdriver
from selenium.webdriver import Chrome
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
service = Service(executable_path=web_driver_path)
driver = Chrome(service=service, options=chrome_options)
driver.get('')
iframe = driver.find_element(By.XPATH, "//iframe")
driver.switch_to.frame(iframe)
driver.find_element(By.XPATH, "//button[@aria-label='Play']").click()