Playing Flash Files (SWF/FLV) in C# Win Form - c#-4.0

I have spent lots of time in doing google, but everywhere i have found only 2 way to play swf/flv in win form application and both are not working for me.
1.Using Shockwave flash object:
http://www.codeproject.com/Tips/635085/Playing-Flash-Files-SWF-in-Csharp-Form
I am able to add "Shockwave flash object" to toolbar but when i drop it on form, my visual studio gets restart immediately..
2.Playing swf in webbrowser control in winform:
This is also not working.
NOTE: I have done re-installation of flash player but still issue is same. Adobe Flash Player 13.0.0.182 is installed on my machine.
I have event though of converting swf/flv into video and then play in some player in c# but for that also i am not able to find any free library/code to convert flv/swf to video.
Please provide any link or suggest.

Finally got the solution..
I had to install the IE specific version of flash player to get the things working correctly..

its very easy in three step
drag web browser from toolbox
in the properties of web browser go to URL and paste the address of your SWF file
now run the application

Related

flash based game stopped loading

A few weeks ago our flash based game at www.balutgame.com suddenly stopped loading, which was working fine earlier. The website it self loads, but the game window does not, all users just get a black screen.
We have made no changes to the game, DNS etc. According to our hosting company, PLayerIO, the page and files load, however the game file does not.
Since the web version is flash based, I am wondering if it is necessary to make ongoing updates to the swf file when Adobe make updates to their flash player?
I do not know if we have used Adobe Air as well in the web version, but know this is used somehow in app versions we have.
Our problem is isolated to the webversion www.balutgame.com. Hosted at PlayerIO and domain registered with name.com
How to Fix this?
With the limited information of this question, it is hard to provide any solution.
I did run a few test on your site and figured the play button is linked to a swf file.
It points to http://d1ro1du4c73r1c.cloudfront.net/balut-dq1cn30nkeozclazbnk7q/Balut%20Web/Balut._v3.swf this swf file i think needs some player/wrapper for other dependent functionalities.
Have you updated your web page recently? Also FB plugins never loads!
You can check that as well.

Spotify Apps API: Spotify crashes all the time

I'm working on a Spotify App, but the Spotify application keeps crashing on me. I have been trying to debug my own Javascript code, to see where it goes wrong, but it seems a bit random. It almost always happens when my app loses focus (i.e. switch to another app). Is there a compatibility issue with jQuery perhaps?
Unfortunately I can't find any crash-logs or anything, for Spotify. Are there any?
I hope someone can help me along here, because this problem makes developing cool Spotify Apps as good as impossible.
Edit: To clarify, I'm using Spotify 0.8.8.450.gd9413514, on Windows 8 64-bit, but I've also experienced the same on Windows 7 and Mac OS X 10.6.
Using Windows 7, you can create a crash log by accessing the Task Manager, right clicking the Spotify process and selecting "Create dump file". If you're on Mac OS X, you can get a crash dump by opening the Activity Monitor, selecting the Spotify process and clicking 'Sample Process'.
I was having the same problems, It seems related to ads banner on the top. Run the ad video and pause it, that solved the problem for me.

How can I use a UIWebview to load content from a asp.net website dynamically loading .mp4 video and get the video to play?

I have a client that has a website. The website current allows users to login and search for and play .mp4 video. The list of playlist is created dynamically where values are stored in a sql server 2008 database. My client's site is already built for smartphone utilization and did not want to recreate an iphone app. Besides it would mean loading thousands of video. Instead I thought I would use the UIWebview to load the website. This seemed to work well. However, when you try to click on and play video within the UIWebview nothing happens. This is not the case if we launch the mobile website within the apple mobile safari browser. The vide plays by kicking off in the iPhone video player. Is there any way to accomplish this same functionality with a uiwebview? Any guidance or help is appreciated.
UIWebView will play video using <video> if everything is set up correctly, either remote files or local files will work (if they are the correct format).
What does your video tag look like? In particular your src.
If you want to, for example, play an inline video the html5 for that would be something like
<video id="theVideo" controls width="280" height="160" src="yourVideo.mp4" webkit-playsinline></video>
And it would be necessary in the UIWebView to set this line
self.webView.allowsInlineMediaPlayback = YES;
Or you can also explicitly load the media player, but doing everything in HTML5 is neat and tidy and easy.

WP7 Emulator Browser not displaying anything

I use the webbrowser control to display a webpage from an application, but it just displayed a white screen. I tried Internet Explorer and it did not display anything either.
Any ideas how to fix this problem.
Thanks a lot in advance.
Windows Phone Emulator requires a DirectX 10 or above capable graphics card with a WDDM 1.1 driver. I assume that you got an error message on first start of the emulator that your graphic adapter isn't capable for all functions the emulator is using and that this may impact XNA games and sometimes silverlight like this one:
If your graphic adapter does not fully support DirectX 10 or doesn't has a WDDM 1.1 driver you will only see a white screen instead of the rendered webpage. This also affects all controls using MultiScaleImage, including the webbrowser control. As far as I know there is no solution for this at the moment.
To check if the emulator is running the required GPU emulation take a look at the arrow to open the application list and if it points to the right or left. If it points to the left, NO GPU is available - if it points to the right (as on the hardware phone itself) the GPU is available and rendering should work as expected.
See also this page in the msdn.
You haven't said if you're testing a local/private page or one on the web.
Also test other pages on the web. Can you view anything or just your own page.
If you can't see pages on the public web then you have a networking issue
If you can see public pages but not locally hosted ones then you probably have a different networking issue. If you're on an actual device or the emulator will likely greatly affect this.
The other things it may are:
you're trying to view a page that is to compilcated to be displayed (if there is such a thing - test with a very simple static page first)
the page uses useragent detecction and doesn't recognise the user agent and so is serving nothing
the page has complex javascript which runs before the page is rendered and the javascript is failing and so the page is never displayed.

how to record audio without flash and java from browser and upload to server

I want to upload the audio from user to server. How can i do it from browser itself. My main application is browser based. I am looking for browser and non browser based solution but It should be Open Source. That is why i put "without flash" in subject. With Java applet user will face problem in installing jre !! is there any hope that in near future browser will support such feature. Do we have any addon in firefox which can help in this regard.
What is the requirement for Open Source specifically relating to? There are open source/free software ways to produce flash content for the browser. You aren't tied to the Adobe Flash IDE.
Look into these products:
FlashDevelop
Adobe Flex SDK (Free download)
At the time of this question, there wasn't a way to do this. Today we can use html5 and the GetUserMedia function for the main browsers (safari is the exception) . There are many articles and examples on that subject.
One good example can be found here:
http://webaudiodemos.appspot.com/AudioRecorder/index.html

Resources