You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by sm...@apache.org on 2007/10/26 02:01:25 UTC

svn commit: r588421 - /portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm

Author: smilek
Date: Thu Oct 25 17:01:24 2007
New Revision: 588421

URL: http://svn.apache.org/viewvc?rev=588421&view=rev
Log:
changed to be a copy of applications/gems/src/java/org/apache/portals/gems/flash/templates/flash-demo.vm

Modified:
    portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm

Modified: portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm?rev=588421&r1=588420&r2=588421&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm (original)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm Thu Oct 25 17:01:24 2007
@@ -14,17 +14,19 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 *#
+
+#if ( ! $IS_DESKTOP )
+   <script type="text/javascript" src="$SWFOBJECTS_URL"></script>
+#end
+
+
 <script type="text/javascript">
-<!--
-function getWindowState() {
-  return "$!windowState";
-}
--->
+    ( ( window.jetspeed && window.jetspeed.ui ) ? window.jetspeed.ui.swfobject : swfobject ).embedSWF( "$SRC", "$REPLACECONTENT_NODEID", "$WIDTH", "$HEIGHT", "$SWF_VERSION", "$EXPRESS_INSTALL_URL", $FLASHVARS, $PARAMS, $ATTRIBUTES, $EXTRA_SIZE_INFO );
 </script>
+
 <center>
-    <object width="$!WIDTH" height="$!HEIGHT">
-        <param name="movie" value="$!SRC"/>
-        <embed src="$!SRC" width="$!WIDTH" height="$!HEIGHT"/>
-    </object>
+    <div id="$REPLACECONTENT_NODEID">
+        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
+    </div>
 </center>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org