Ramco Ramco

Ramco Ramco

  • 1k
  • 1.6k
  • 131.1k

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)