1 | <?xml version="1.0" encoding="UTF-8" ?> |
---|
2 | <%@ page language="java" contentType="text/html; charset=UTF-8" |
---|
3 | pageEncoding="UTF-8"%> |
---|
4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
5 | |
---|
6 | <html |
---|
7 | xmlns="http://www.w3.org/1999/xhtml" lang="en"> |
---|
8 | <head> |
---|
9 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
---|
10 | |
---|
11 | <!-- BEGIN Browser History required section --> |
---|
12 | <link rel="stylesheet" type="text/css" href="history/history.css" /> |
---|
13 | <!-- END Browser History required section --> |
---|
14 | |
---|
15 | <title>${title}</title> |
---|
16 | <script src="AC_OETags.js" language="javascript"></script> |
---|
17 | |
---|
18 | <!-- BEGIN Browser History required section --> |
---|
19 | <script src="history/history.js" language="javascript"></script> |
---|
20 | <!-- END Browser History required section --> |
---|
21 | |
---|
22 | <style> |
---|
23 | body { |
---|
24 | margin: 0px; |
---|
25 | overflow: hidden |
---|
26 | } |
---|
27 | </style> |
---|
28 | <script type="text/javascript" src="./js/extMouseWheel.js"></script> |
---|
29 | <script language="JavaScript" type="text/javascript"> |
---|
30 | <!-- |
---|
31 | // ----------------------------------------------------------------------------- |
---|
32 | // Globals |
---|
33 | // Major version of Flash required |
---|
34 | var requiredMajorVersion = ${version_major}; |
---|
35 | // Minor version of Flash required |
---|
36 | var requiredMinorVersion = ${version_minor}; |
---|
37 | // Minor version of Flash required |
---|
38 | var requiredRevision = ${version_revision}; |
---|
39 | // ----------------------------------------------------------------------------- |
---|
40 | // --> |
---|
41 | </script> |
---|
42 | </head> |
---|
43 | |
---|
44 | <body scroll="no"> |
---|
45 | <div id="flashContainerDiv" |
---|
46 | style="position: absolute; width: 100%; height: 100%"><script |
---|
47 | language="JavaScript" type="text/javascript"> |
---|
48 | <!-- |
---|
49 | // Version check for the Flash Player that has the ability to start Player Product Install (6.0r65) |
---|
50 | var hasProductInstall = DetectFlashVer(6, 0, 65); |
---|
51 | |
---|
52 | // Version check based upon the values defined in globals |
---|
53 | var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); |
---|
54 | |
---|
55 | if ( hasProductInstall && !hasRequestedVersion ) { |
---|
56 | // DO NOT MODIFY THE FOLLOWING FOUR LINES |
---|
57 | // Location visited after installation is complete if installation is required |
---|
58 | var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn"; |
---|
59 | var MMredirectURL = window.location; |
---|
60 | document.title = document.title.slice(0, 47) + " - Flash Player Installation"; |
---|
61 | var MMdoctitle = document.title; |
---|
62 | |
---|
63 | AC_FL_RunContent( |
---|
64 | "src", "playerProductInstall", |
---|
65 | "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"", |
---|
66 | "width", "${width}", |
---|
67 | "height", "${height}", |
---|
68 | "align", "middle", |
---|
69 | "id", "${application}", |
---|
70 | "quality", "high", |
---|
71 | "bgcolor", "${bgcolor}", |
---|
72 | "name", "${application}", |
---|
73 | "allowScriptAccess","sameDomain", |
---|
74 | "type", "application/x-shockwave-flash", |
---|
75 | "pluginspage", "http://www.adobe.com/go/getflashplayer" |
---|
76 | ); |
---|
77 | } else if (hasRequestedVersion) { |
---|
78 | // if we've detected an acceptable version |
---|
79 | // embed the Flash Content SWF when all tests are passed |
---|
80 | AC_FL_RunContent( |
---|
81 | "src", "${ComponentRegistrySwfName}", |
---|
82 | "width", "${width}", |
---|
83 | "height", "${height}", |
---|
84 | "align", "middle", |
---|
85 | "id", "${application}", |
---|
86 | "quality", "high", |
---|
87 | "bgcolor", "${bgcolor}", |
---|
88 | "name", "${application}", |
---|
89 | "allowScriptAccess","sameDomain", |
---|
90 | "type", "application/x-shockwave-flash", |
---|
91 | "pluginspage", "http://www.adobe.com/go/getflashplayer", |
---|
92 | "FlashVars", "serviceRootUrl=<%= application.getInitParameter("eu.clarin.cmdi.componentregistry.serviceRootUrl") %>&userName=${pageContext.request.remoteUser}&item=${param.item}&view=${param.view}&browserview=${param.browserview}&space=${param.space}&debug=${flexDebug}" |
---|
93 | |
---|
94 | ); |
---|
95 | } else { // flash is too old or we can't detect the plugin |
---|
96 | var alternateContent = 'This content requires the Adobe Flash Player. ' |
---|
97 | + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>'; |
---|
98 | document.write(alternateContent); // insert non-flash content |
---|
99 | } |
---|
100 | // --> |
---|
101 | </script> |
---|
102 | <noscript><object |
---|
103 | classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" |
---|
104 | id="${application}" width="${width}" height="${height}" |
---|
105 | codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> |
---|
106 | <param name="movie" value="${ComponentRegistrySwfName}.swf" /> |
---|
107 | <param name="quality" value="high" /> |
---|
108 | <param name="bgcolor" value="${bgcolor}" /> |
---|
109 | <param name="allowScriptAccess" value="sameDomain" /> |
---|
110 | <embed src="${ComponentRegistrySwfName}.swf" quality="high" bgcolor="${bgcolor}" |
---|
111 | width="${width}" height="${height}" name="${application}" |
---|
112 | align="middle" play="true" loop="false" quality="high" |
---|
113 | allowScriptAccess="sameDomain" type="application/x-shockwave-flash" |
---|
114 | pluginspage="http://www.adobe.com/go/getflashplayer" |
---|
115 | FlashVars="serviceRootUrl=<%= application.getInitParameter("eu.clarin.cmdi.componentregistry.serviceRootUrl") %>&userName=${pageContext.request.remoteUser}&item=${param.item}&view=${param.view}&browserview=${param.browserview}&space=${param.space}&debug=${flexDebug}"> |
---|
116 | </embed> |
---|
117 | </object> |
---|
118 | </noscript> |
---|
119 | </div> |
---|
120 | </body> |
---|
121 | </html> |
---|