Ramco Ramco

Ramco Ramco

  • 467
  • 2.8k
  • 395.5k

Open Video in Same Browser

Jan 4 2023 5:40 AM

Hi

I have below code but it is opening in different browser. I want that first video should get dispplayed then second and so on in same browser.

for (int i = 0; i <= 10; i++)
{
    RunVideo("htps://youtu.be/f7V5lvy5-EU?loop=1");
}

public static void RunVideo(string videolink)
{
    Process process = new Process();
    var _process = new ProcessStartInfo(@"C:\Program Files\Google\Chrome\Application\chrome.exe", videolink);
}

Thanks


Answers (4)