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
Uttam KumarPosted Jan 4, 2023, 4:49 PM
To use the Process class, you need to declare the System.Diagnostics namespace. Make sure, you have used it.
Ramco RamcoPosted Jan 4, 2023, 8:46 AM
Hi Sachin
I have below code but error is coming Process does not exist in current context. I am doing in web application c#
Thanks
Sachin SinghPosted Jan 4, 2023, 6:59 AM
test this
Rajesh GamiPosted Jan 4, 2023, 6:54 AM