Ramco Ramco

Ramco Ramco

  • 442
  • 3.4k
  • 517.2k

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)