Java plugin in a Flex HTML component - java

Anyone have an idea how to access through HTML component a page that requires Java plugin? I am using this new samsung android camera and I would like to open the link where the camera is streaming the video in a html component. If I make a browser like the one in tour de flex using the html component, it opens the page where the video should be seen. But then how do I access the Java plugin to play it.
Thanks,
David

Related

JavaFX :Open Acrobat Pdf Reader Inside JavaFX Frame

I'm new in JavaFX FrameWork.I want to Create a Frame that will open Pdf File inside the Frame.
My Question is,
Is there any way to open Desktop App Inside JavaFx Frame?
I'm new in JavaFX FrameWork.
I'm just starting from this place
Edit:
I know how to create Frame Using JavaFx .
Ref Link.
But I want to run a desktop Applications inside of it like Acrobat Reader.
Can anyone please explain this is possible or not?
Am I searching for a wrong thing for a long time? Please Explain me if it is possible or not.
I do not believe there is integrated PDF supported into either Java or JavaFX. There are however a number of external libraries such as jpedal that provide embeddable java components for the viewing of pdf documents. You should be able to embed this node within the javafx frame.
An alternative solution would be to parse the pdf file into something you can display in your jframe.
Another solution can be found here which even includes a simple guide on setup.
Another quick search revealed an open source solution:
maven-OpenViewerFX-src
Watch the youtube video here
A somewhat hackable workaround, if you want no external Java libraries
It is possible to display the PDF in the web viewer by utilizing pdf.js, See this website for the entire details . But in short it involves rendering the PDF in a webview component. You could then embed the webview component in your Jframe.

Convert Webpage Slider to Video

Am Developing the application for convert "Webpage slider images" to Video using Java with Selenium.
Challenge was, I want to "Record the slider as video", it is part of the webpage. How can i record particular web part as video or There is any solution for convert web Element to Video file.
You can achieve it by using getUserMedia() for more info refer
w3.org site at link http://www.w3.org/TR/mediacapture-streams/

Embedding a Web Browser/HTML Engine in Java

I am making an application in java which would be showing a HTML web page, getting the address of the webpage from a config file. The web page will be on the local disk. Now what i want is, when i start the Java program, the program will be showing the the webpage fullscreen on the computer without the mouse cursor. Now for that i would be first needing a HTML Engine or a web browser which can run inside the java application(events liek press of button etc etc will be passed to the web page from the java application). I cant find a way to show these web pages. I would be needing to show current tech web pages , such that it can process everything from jQuery, Js, Ajax, CSS3, HTML 5. So that beautiful web pages are able to be shown through the Java program.
JxBrowser is a good api for such purpose. It uses the chromium engine which offers an optimum speed just like native browsers. I have used it and it worked for me
Maybe you can give a try to jxbrowser
It promise to be a very good component.
From the home page:
Embed a lightweight Chromium-based Swing component into your Java
application to display modern web pages built with HTML5, CSS3,
JavaScript, Flash, Silverlight etc.
This is possible if you're willing to use javaFx.
I'm not sure to which extent the latest html5 and css3 goodies are supported, but it's a decent browser enough : java fx WebView component
You can try using the SWT Browser control if your application runs on Windows.
It wraps the currently installed Internet Explorer and gives you a very powerful access to its functionality including event listeners, etc.

Integrating flash player in JavaFX web browser

I created a web browser using WebView and WebEngine classes of JavaFX. It is working fine but not able to play videos. It is opening youtube.com but is not playing videos of youtube. It is asking to install Adobe flash player. Even after installing, the problem is same. Do I have to integrate some plug-in of Adobe Flash Player in my Java code. If yes, how? Or there is some other solution. Kindly help.
WebView in JavaFX 2.2 does not support plugin based content such as Flash content.
As alternatives, for launching YouTube video content from JavaFX you can use:
HostServices.showDocument go launch flash content in the default system web browser OR
YouTube's iframe embedding API in WebView rather than it's flash interface.
The YouTube iframe embedding API embeds html5 video content, rather than flash video content and html5 video content works in WebView.
For more info, see http://www.youtube.com/html5

embed Flex components into Java Swing

I'm going to embed Flex components into Java app, just embedding swf into JFrame. Does anybody know how to use EZ JCOM ? I don't know what is Flash COM or Flash ActiveX. please help me
Im working on a swing app that does exactly the same, i have a firefox instance embebbed on a swing app. For that iam using the following library, check it out The DJ Project

Categories