I am working on a project where i have to embed a java applet (which contains rtsp streaming) into a silverlight application.
i am new to silverlight.
any idea how to work with that?
Thanks,
To my knowledge this is not possible. You have to embed an applet into an html page (with specific tags like <applet> or <object>). It would be like asking how to embed an applet into a flash application or embed silverlight into an applet. Those are competing technologies with a similiar goal on bringing dynamic content to the enduser.
So what you can do is having a web page with both technologies - some silverlight content and an applet which both gets executed when the page is loaded in the browser...
I mean theoretically you could implement an html page generator in silverlight which generates an html page with an applet in it - but this is complex and I don't see the benefit currently...
Related
I have a winforms application which basically has only an awesomium webcontrol inside (similar to native winfroms webcontrol)
I also have a web application (ASP.net) which contains around 20 javascript files, few stylesheets and images.
The web app is hosted online (cloud server).
My goal is to somehow optimize the winforms loading time (loading the website) by embedding the images, scripts and stylesheets in the winform itselt, and keeping the html and C# code online.
That means, my html pages(online) need to reference the scripts, images and stylesheets from the winform resources.
I know how to embed files in winforms, but i cannot seem to figure out how to reference them in the html.
Much thanks
I have made a Windows Phone 7 app and I would like to embed it in a webpage.
I found two examples to help explain what I want to do:
http://www.lifewaresolutions.com/deluxe_moon_demo_wp7.html
http://help.arcgis.com/en/arcgismobile/10.0/apis/WindowsPhone/samples/start.htm
I have looked at the page sources for both of these websites and have tried to mimic what they have down, but the farthest I have gotten is a webpage with a silverlight app in the middle, but my app doesn't start.
I am not that familiar with web development, but if someone could help me create a simple html page with my wp7 app embedded in it, that would be great.
The Silverlight desktop computer plugin can't execute Windows Phone Silverlight apps.
The two example websites embed a "classic" Silverlight app within a fake Windows Phone chrome.
So basically what you can do to have something similar is:
Create a new Silverlight 4 "classic" project
Implement your app (you can share code between the new project and your existing WP7 code)
Retemplate the controls to make them look like the Windows Phone ones
Embed the app within a WP7 chrome on a website
I'm registered to a site which uses a silverlight application that shows some personal information.
My goal is to be able to read some data from the silverlight application.
Is it possible?
I know that this could be done to a regular web page using curl.
but, what about silverlight application?
Does it store the information to a file or something like that?
Thanks
You can use White, a tool for automating windows applications, to get information out of a running Silverlight application. White is mainly used to perform functional testing of applications, but it should allow you to extract information from the application as well.
Look here for an example of White and Silverlight: http://www.codeplex.com/wikipage?ProjectName=white
I want to develop an silverlight application which plays youtube videos. I dont want to let users install my silverlight application on thri PCs, so I would need to play the videos in browser. Is there anyway we can achieve this?
Silverlight 4 comes with a new WebBrowser control which lets you display HTML content (e.g. an iframe with youtube in it). Unfortunately, that control will work in Out-Of-Browser mode only. So if you don't want users to install your app on their PCs, that won't be an option for you.
So the only ways I see to work around that problem are
A) Open a popup (new browser window) which shows youtube content.
B) Use JavaScript to open a new div/iframe on top of your Silverlight app which shows youtube. You will have to enable the so-called windowless mode for your Silverlight app then (otherwise, you won't be able to display any kind of HTML on top of your app).
Cheers, Alex
I am a beginner in silverlight. I want to know what is TestPage.aspx and TestPage.html in silverlight. Actually i have google it but din't get enough information. Can any one give me answer??
TestPage.aspx and TestPage.html are the pages which will host your Silverlight content. As you might know, Silverlight is just a project (not a web application) and needs a page that can host it.
These pages are created by default and help you to test your XAML content during your development, which you can later remove from your project.
TestPage.html is dynamically generated by the Silverlight application as part of the Debug process. If you take a look at the Debug tab for the application properties you will see an option to Dynamically generate a test page. If this is selected then you TestPage.html is created in the /Bin/Debug folder of your Silverlight application.
A better solution is to create a web application in the same solution as your Silverlight application then in the properties for the web application go to the Silverlight Applications tab and add your existing Silverlight app to the web project. Also make sure that the Silverlight checkbox is ticked in the Debuggers section of the Web tab of your web application.