I'm trying to create a simple HTPC interface and found YouTube XL (http://youtube.com/xl) which i thought would be cool and easy to add to my program.
I'm using WPF so i simply tried to add a System.Windows.Controls.WebBrowser and navigate to that adress.
The problem is that there is no video, everything else around the actual video works fine and other pages(including normal youtube) works fine. Youtube XL also works fine in normal Internet Explorer(8).
Is there anything that differs between IEs and WPFs browser control that might cause this problem?
Edit: I am compiling the program for x86, otherwhise flash doesn't work at all. All other web pages i have tried, including normal youtube, works just like normal.
The strangest thing is that it worked once! The first time i tried it i got video, since then there is only black :(
There shouldn't be a difference. You might be subject to this bug (and workaround) if you are using an x64 version of Windows:
http://blogs.msdn.com/uberdemo/archive/2009/07/09/circumventing-an-ie-flash-display-issue-in-the-wpf-webbrowser-control-on-x64-machines.aspx
You need to set the project to compile for x86 processors, since on x64 systems the 64-bit webbrowser is used, which, when i last checked, didn't have a working flash plugin yet. Not sure if there is one now, though.
OP here, accidentally ate my cookies.
Deleting browser history in Internet Explorer solved the problem.
Deleting the ie history and cache only resolved the issue as a one time thing only.
Related
I'm putting together a simple winforms app for playing videos from the web for my kids. I've explored two options so far but I'm having problems with both of them:
cefsharp: Playing videos wasn't a problem, but it would not persist cookies (even with the CachePath set), so I would have to log into the web sites each time. This would not be very user-friendly.
GeckoFX: No matter what site I go to (youtube for example), flash videos will not play. I get a bank section on the page where the video goes. Based on other questions, I tried adding the line "Gecko.GeckoPreferences.Default["extensions.blocklist.enabled"] = false;" right after the initialize statement, but that did not work. I'm running xulrunner-33.0.2 and GeckoFx-Windows-33.0-0.2.
Any ideas on how to get either solution working would be appreciated.
UPDATE:
I found this site https://bitbucket.org/geckofx/geckofx-29.0/issue/14/plugin-flash-not-working-since-xulrunner which stated to turn off the "Visual Studio hosting process" for the project and now YouTube video play with GeckoFX, but no videos play off xfinitytv's site (http://xfinitytv.comcast.net/watch-live-tv/).
A bug has recently been fixed in CefSharp to make this possible. See this issue: https://github.com/cefsharp/CefSharp/issues/843
What should work is:
setting CachePath
set the persist_session_cookies command line argument
after OnContextInitialized, call Cef.SetCookiePath
You'll need to use the latest version 39.0.1 to get access to the OnContextInitialized delegate.
I'm using textAngular as a WYSIWYG text editor in an angular app. It is a fantastic library that is essentially plug and play. It works perfectly in Chrome and Firefox.
The problem is when I attempt to paste some text into the textAngular window in IE it simply doesn't work. It doesn't raise any console events, throw any exceptions or anything. On the network, it calls 4 URLs, which are then all aborted. They are:
http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css
http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css
http://fonts.googleapis.com/css?family=Roboto:400,300
http://www.textangular.com/css/style.css
This network activity does not happen in Chrome and Firefox. So, I think that is where the problem is. But for the life of me I can't figure out what is going on. It doesn't look like this problem has been reported to the textAngular team or has been asked on stack overflow.
Does anyone have an I idea of how I can remedy the situation?
Edit:
Here is a plunk replicating the situation. It is the demo from the github repo, almost verbatim (the link to the textAngular links were dead, and I got ride of the initial text). I'm pretty sure that it is just a problem within the 1.2.2 library and I'm going to report a bug. The version on the main page is 1.2.0. Thanks for you help!
I tested your solution on IE 8,9,10 & 11 without any issues. I did however notice it the page was not formatting correctly no IE. It could be an issue with escape characters.
If you could provide some more details about your system, for example: IE version, the code you tried to paste etc. I think I may be able to sort this one out.
So I wired in Prettify.js and Prettify.css into my new Tumblr blog. It works out great in chrome, IE, and Firefox but I was astonished when I went to my Android Phone and suddenly the code inside ... looks like an atrocity.
I was about to go digging but figured before I spend hours trying to solve a problem someone else already fixed I would see if my ol' Stack Buddies have anything to say on the matter.
aquamoogle.tumblr.com
Any solutions will be greatly appreciated and if none are posted I'll likely toss up a solution by the end of the weekend.
Clarification EDIT This is viewing the post through the Tumblr Android application. I don't think it has anything to do with phone version but because someone is bound to ask it's a Motorola Droid Bionic running Android 2.3.4
Alrighty, since nobody came along with this one I'll throw the answer out there. The Tumblr application after decompiling it off the APK does not use a standard web frame. This means that javascript execution is not embedded in the view for the mobile application.
Sucks I know... Another possible solution would be to use straight CSS for formatting but alas this doesn't even work in the mobile version as the CSS sheets are overridden with mobile style sheets for more compact formatting.
So this one goes down as "unsolvable" due to the mobile application not operating within the same boundaries as the web driven blog does.
If someone does by chance have a solution to this that will work however, I would be interested in hearing it but at this time I don't have a valid solution. But, it's good to know.
I ran into a strange issue where "fn_key -- F4" combination on my hp laptop to extend the screen would stop working once I have a wpf application running. This happens even when I create an empty app -- as soon as I run it, I can't extend my desktop to a second monitor.
Thanks!
Sounds like an issue with your video driver. What kind of video card is it? Are you running the latest drivers from the vendor?
The problem was a driver issue (as Drew mentioned above).
To diagnose an issue like this, please follow the instructions from the MSDN article (http://msdn.microsoft.com/en-us/library/aa970912.aspx) on how to disable hardware acceleration and render everything in software.
Provided your issue is similar to what I have experienced, you will be able to single out the problem by adding the necessary registry key from the article.
Does anyone know of an alternative to the Internet Developer Toolbar for IE7 that I can use for dom browsing and css debugging? I've used Firebug in the past and the IDT seemed anemic in comparison. It also seemed to crash my browser a lot.
OR: Has the IDT for IE7 improved to the point that it's almost as good as Firebug?
Update: shortly after writing this I started using the Developer Toolbar. Well, that's a strong term. I tried to use it. It's not working at all. Specifically I needed Select Element By Click and it won't do a damn thing. All the menu options are grayed out even after restarting IE7. Good thing I asked this question, looks like the IDT is just as buggy as I remember.
Debug Bar is pretty nice, and is free for personal use. You have to pay for it if using commercially though.
Update: I should add that it did crash once or twice when there was some fairly advanced javascript. Didn't kill the entire browser but the toolbar was rendered useless until I restarted IE.
Check out Firebug Lite : http://getfirebug.com/lite.html
IE7 hasn't. But IE8 has. The developer tools included in Beta 2 and RC1 are very, very good. Well above the level of Firebug.
Check and see if you have the latest version of the toolbar. I used to use a version prior to the one I now use, and the older version did crash IE7 quite a bit.
As far as features go, it would help to know what you feel you're missing. Having a lot of features isn't the same as having a lot of features you use.