I have a link in an asp.net mvc 5 page that references a custom URL scheme. The executable launches just fine. The program does access the internet and when launched from Chrome the video feature will not connect. It works fine in IE. Basically the executable is a WinForms app that uses Vidyo for video conferencing. I can also simply double click the app and it works fine. My question is why would an executable launched from Chrome (via URL scheme) have features blocked? What security account does Chrome use? Thanks for any help.
The difference between IE and Chrome is that in IE, there is a Vidyo plugin that is being used, whereas in Chrome there is no plugin and would use WebRTC for video streaming.
Related
I host angular component what works as a map.
There is a search feature that is a text box that returns the list of strings:
It works fine when it runs on browser, but it doesn't when I run it in cef browser component.
There are request-response sequence from browser application that works fine:
There are request-response sequence from WPF Cef applications:
I believe that some configuration is missing for Cefsharp implementation. I tried all of things like "disable cache" etc., but it was all to no avail.
Additionally, for browser application that works, Security section shows "This page is not secure.":
Whereas for Cef application it is 'The security of this page is unknown.":
My react application runs from localhost, whereas application in cefsharp runs from embedded resource:
http://app//resource/BrowserEx.ViewModels/web-gis-app/build/common-components/cc-gis-viewer/index.html?
When I run the html file directly on browser on double click it throws exception:
I will appreciate any advice, suggestion or even hint.
I finally found the reason by analyzing of my request-response URLs by Fiddler.
My URL in Cefsharp was incorrect.
Once I held my URLs in App.config file and config file doesn't like "&":
Here I found the solution for the issue.
The solution was just to remove all amp; characters:
Hence, conclusion of all this mishmash: don't use & while building your URL, - use & instead!
My app is Windows based, and there is IE installed. But my app will run in a process which does not like externally-launched applications (like a web browser, when authorizing). Instead, my app will use the host application's web features to display a browser.
The host app takes over the front-end and is a public kiosk-type application, so I have no control over how browsing gets launched. The google drive api automatically launches the default browser (with an affinity toward Chrome, even if not the default... :-/
I cant give code examples, but you need to look into non browser based auth - i.e. server side authentication https://developers.google.com/drive/web/auth/web-server?hl=en
Is it possible to use CefSharp as 'Chrome'? I know, it is a kind of Chrome, but webpages doesn't see CefSharp as Chrome.
The story:
I want to embed WhatsApp Web with CefSharp, but Whatsapp says: Only Chrome supported. Are there any possibilities to 'fake' Chrome?
WhatsApp Web checks for browser capabilities. It fails when checking for navigator.getUserMedia. To enable WebRTC audio/video you need to set the --enable-media-stream flag. Set it programmatically through the CefSettings.CefCommandLineArgs option. For an example see CefSharp.Example/CefExample.cs.
Is there a way for a standard C# desktop app to detect the URL that the browser is going to navigate to, and possibly prevent it from doing that? An example would be all those download managers that pop up when I click a link in the browser and prevent browser's default action from occurring.
you can not access to internet browsers from winform projects but
you can access if you have a plug-in app. for browsers.
Develop a plug-in app. and communicate with your winform app. like internet download manager app.
here is expamle for IE add-ons
IE add-on express
for chrome
Google dev guide
hopefully helps it.
I want to get the URL from all open tabs. I have searched on Google but could not find any luck. I want to read and log the URL from all open tab from Chrome And IE.
I am using C# windows form application.
Thanks in Advance..
Umang
I understand what you need to do but I would be surprised if IE and Chrome would expose the tabs and the urls in a simple and similar way to external applications, I think the way to go is to build a Chrome extension and an IE plugin or Addin to get those information while running within the browser scope, then you can send this info to an external application or to a web service etc... you will find a way to get the info out once you have got this url list inside your own code running with the browser.
see here for some starting point / ideas
Chrome extensions:
http://code.google.com/chrome/extensions/index.html
IE development:
http://msdn.microsoft.com/en-us/library/bb250436(VS.85).aspx