JavaFX - YouTube
By Rakesh Menon on Aug 03, 2009
<script src="http://dl.javafx.com/1.2/dtfx.js"></script> <script src="/rakeshmenonp/resource/JavaFXYT/JavaFXYT.js"></script>
Click on above image to launch the applet.
Note: Require JavaSE 6 Update 10 or above.
I'm not responsible for content shown in video
I have used YouTube Search APIs. It provides output in various formats - atom, rss, json and json-in-script. I have used the default ATOM format. Even though its using ATOM format, most of required attributes are provided in custom tags as shown below. Hence even though I used AtomTask to parse the feed, I still had to parse the custom tags in onForeignEvent : function(:Event):Void method. Details of parser is available in YTDataTask.fx.
Both YouTube player and JavaFX is added to a
Table so as to render them together. Please refer to JavaFXYT.html for more information.
Try it out and let me know feedback