Ramco Ramco

Ramco Ramco

  • 419
  • 3.4k
  • 527.9k

Process not automatically running

Nov 29 2022 4:01 PM

Hi

  I have below code . Video does not automatically get run. It opens but user has to click to start video

{
    vProcessId = Start("youtube.com/watch?v=MYojqnJ34g4");
}
 
public static int Start(string processName)
{
    var process = Process.Start("chrome.exe", @processName);
    return process.Id;
}

Thanks


Answers (1)