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/12/08 10:25:29 UTC
svn commit: r602350 -
/portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm
Author: smilek
Date: Sat Dec 8 01:25:29 2007
New Revision: 602350
URL: http://svn.apache.org/viewvc?rev=602350&view=rev
Log:
The following revision comments are from branches/JETSPEED-2.1.3 revisions which were not individually checked-in to trunk
=== ---------------------------------------------------------------- ===
[ from branches/JETSPEED-2.1.3 r588421 ] | smilek | 2007-10-25 18:01:24 -0600 (Thu, 25 Oct 2007) | 1 line
changed to be a copy of applications/gems/src/java/org/apache/portals/gems/flash/templates/flash-demo.vm
=== ---------------------------------------------------------------- ===
Modified:
portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm
Modified: portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm?rev=602350&r1=602349&r2=602350&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm (original)
+++ portals/jetspeed-2/trunk/applications/demo/src/webapp/WEB-INF/view/flash-demo.vm Sat Dec 8 01:25:29 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