Merge branch 'master' of https://scm.cri.ensmp.fr/git/Faustine
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / tools / faust2flash_v0.1 / Step_2_FlashBuilder_project / html-template / index.template.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <!-- saved from url=(0014)about:internet -->
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4 <!--
5 Smart developers always View Source.
6
7 This application was built using Adobe Flex, an open source framework
8 for building rich Internet applications that get delivered via the
9 Flash Player or to desktops via Adobe AIR.
10
11 Learn more about Flex at http://flex.org
12 // -->
13 <head>
14 <title>${title}</title>
15 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
16 <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
17 the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
18 the percentage of the height of its parent container, which has to be set explicitly. Initially,
19 don't display flashContent div so it won't show if JavaScript disabled.
20 -->
21 <style type="text/css" media="screen">
22 html, body { height:100%; }
23 body { margin:0; padding:0; overflow:auto; text-align:center; }
24 #flashContent { display:none; }
25 </style>
26
27 <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
28 <!-- BEGIN Browser History required section ${useBrowserHistory}>
29 <link rel="stylesheet" type="text/css" href="history/history.css" />
30 <script type="text/javascript" src="history/history.js"></script>
31 <!${useBrowserHistory} END Browser History required section -->
32
33 <script type="text/javascript" src="swfobject.js"></script>
34 <script type="text/javascript">
35 <!-- For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection. -->
36 var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
37 <!-- To use express install, set to playerProductInstall.swf, otherwise the empty string. -->
38 var xiSwfUrlStr = "${expressInstallSwf}";
39 var flashvars = {};
40 var params = {};
41 params.quality = "high";
42 params.bgcolor = "${bgcolor}";
43 params.allowscriptaccess = "sameDomain";
44 params.allowfullscreen = "true";
45 var attributes = {};
46 attributes.id = "${application}";
47 attributes.name = "${application}";
48 attributes.align = "middle";
49 swfobject.embedSWF(
50 "${swf}.swf", "flashContent",
51 "${width}", "${height}",
52 swfVersionStr, xiSwfUrlStr,
53 flashvars, params, attributes);
54 <!-- JavaScript enabled so display the flashContent div in case it is not replaced with a swf object. -->
55 swfobject.createCSS("#flashContent", "display:block;text-align:left;");
56 </script>
57 </head>
58 <body>
59 <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
60 JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
61 when JavaScript is disabled.
62 -->
63 <div id="flashContent">
64 <p>
65 To view this page ensure that Adobe Flash Player version
66 ${version_major}.${version_minor}.${version_revision} or greater is installed.
67 </p>
68 <a href="http://www.adobe.com/go/getflashplayer">
69 <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
70 </a>
71 </div>
72
73 <noscript>
74 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
75 <param name="movie" value="${swf}.swf" />
76 <param name="quality" value="high" />
77 <param name="bgcolor" value="${bgcolor}" />
78 <param name="allowScriptAccess" value="sameDomain" />
79 <param name="allowFullScreen" value="true" />
80 <!--[if !IE]>
81 <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
82 <param name="quality" value="high" />
83 <param name="bgcolor" value="${bgcolor}" />
84 <param name="allowScriptAccess" value="sameDomain" />
85 <param name="allowFullScreen" value="true" />
86 <![endif]-->
87 <!--[if gte IE 6]>
88 <p>
89 Either scripts and active content are not permitted to run or Adobe Flash Player version
90 ${version_major}.${version_minor}.${version_revision} or greater is not installed.
91 </p>
92 <![endif]-->
93 <a href="http://www.adobe.com/go/getflashplayer">
94 <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />
95 </a>
96 <!--[if !IE]>
97 </object>
98 <![endif]-->
99 </object>
100 </noscript>
101 </body>
102 </html>