User Tools

Site Tools


technology:javafx:home

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

technology:javafx:home [2013/01/21 14:47]
Chris Freyer removed
— (current)
Line 1: Line 1:
-====== JavaFX Home ====== 
-JavaFX went live on Thursday 12/4/2008.   
  
-Example #1: 
-(details [[http://javafx.com/samples/SimpleVideoPlayer/index.html|here]]) 
- 
-<html> 
-<script src="http://dl.javafx.com/dtfx.js"></script> 
-<script> 
-var u10only = ''; 
-var webstartAllowed = ''; 
- 
-if(u10only=='true' && !deployJava.isPlugin2()) { 
-    document.write("<p class='u10warning'>"); 
-    document.write("This sample needs Java SE 6 Update 10."); 
-    document.write(""); 
-    if(webstartAllowed=='true') { 
-        document.write(" Please <a href='webstart/SimpleVideoPlayer.jnlp'>run this example with Java Webstart<a> instead"); 
-    } 
-    document.write("</p>"); 
-} else { 
- 
-    javafx( 
-        { 
-            archive: "webstart/SimpleVideoPlayer.jar,webstart/lib/mediacomponent.jar,", 
-            width: 700, 
-            height: 400, 
-            code: "simplevideoplayer.Main", 
-             
-            name: "appl" 
-        }  
-    ); 
-} 
-</script> 
-<p> 
-<i>video from <a href="http://www.bigbuckbunny.org/">Big Buck Bunny</a></i> 
- 
-</p> 
- 
- 
-</html>