Solved

Getting Macromedia Flash Movie to run in Websphere Portal 6.0 portlet

Posted on 2008-10-05
3
1,869 Views
Last Modified: 2013-12-12
Been stuck with this issue for a about a week now.
Essentially it's a simple task, but Websphere Portal 6 says differently I'm trying to embed the following code:  PLEASE REFER TO CODE SNIPPET

Inside the jsp file "test_file_exchange.jsp"

On the portal server a portlet is referencing that jsp, BUT when I view the portal, that particular PORTLET does not display anything (all I see is the portlet title bar and nothing else).  BUT it gets even stranger I tried viewing the portlet in FIREFOX and it displays sporadically (if I make a minor change to the jsp file it stops displaying in FF, if I make another change and refresh it begins to display FF albeit randomly).  I've googled for info on embedding Flash objects in a portlet in websphere portal and DISPLAYING it but surprisingly I can find almost no information what so ever on accomplishing this simple task for a portlet?
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"

width="20%" height="20%" id="CSI_Flash_ENG" align="middle">

      <param name="allowScriptAccess" value="sameDomain" />

      <param name="allowFullScreen" value="false" />

      <param name="movie" value="CSI_Flash_ENG.swf" /><param name="quality"

value="high" /><param name="bgcolor" value="#ffffff" />    <embed

src="CSI_Flash_ENG.swf" quality="high" bgcolor="#ffffff" width="20%"

height="20%" name="CSI_Flash_ENG" align="middle"

allowScriptAccess="sameDomain" allowFullScreen="false"

type="application/x-shockwave-flash"

pluginspage="http://www.macromedia.com/go/getflashplayer" />

      </object>

Open in new window

0
Comment
Question by:NMATRIX9
3 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 22648674
this helped somebody

http://groups.google.com/group/ibm.software.websphere.portal-server/tree/browse_frm/month/2006-02?_done=%2Fgroup%2Fibm.software.websphere.portal-server%2Fbrowse_frm%2Fmonth%2F2006-02%3F&

>>

If your .swf file is packaged inside the portlet, you need to encode the
URL the same way you would encode the URL to a .gif file for an IMG tag.
0
 
LVL 1

Accepted Solution

by:
NMATRIX9 earned 0 total points
ID: 22656305
Hello Blue Genie,

This issue has already been resolved, my apologies for not closing this earlier it seems that for IBM WebSphere Portal Server 6.0, the solution is to declare in your object code a version < 7.0.  I'm not sure why that is, unless websphere portal itself has a built in flash plugin for flash rendering to the client which is independents of the clients plugin.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="20%" height="20%" id="CSI_Flash_ENG" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="allowFullScreen" value="false" />
      <param name="movie" value="CSI_Flash_ENG.swf" /><param name="quality"
value="high" /><param name="bgcolor" value="#ffffff" />    <embed
src="CSI_Flash_ENG.swf" quality="high" bgcolor="#ffffff" width="20%"
height="20%" name="CSI_Flash_ENG" align="middle"
allowScriptAccess="sameDomain" allowFullScreen="false"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
      </object>
0
 

Expert Comment

by:Gopal2
ID: 37539110
Hi,

  I too am facing a similar issue with my portlet JSP code. I get to see the picture, but cannot see the video controls. However, on the very first page down load, I can click on the lower left most corner and can listen to the audio, but not able to "see" the video. Not knowing what I am missing in this code snippet:
____________________________________________________________________________
<div>
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="496" height="407" id="moviePlayer">
            <param name="movie" value="/wps/themes/html/abc/flash/abc_moviePlayer.swf" />
            <param name="wmode" value="opaque" />
            <param name="flashvars" value="movieURL=http://abc.cachefly.net/abc/abc-qPCR.mp4&posterIMG=/wps/themes/html/abc/images/abc-qPCR.jpg" />
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="/wps/themes/html/abc/flash/abc_moviePlayer.swf" width="496" height="407">
                  <param name="flashvars" value="movieURL=http://abc.cachefly.net/abc/abc-qPCR.mp4&posterIMG=/wps/themes/html/abc/images/abc-qPCR.jpg" />
            <!--<![endif]-->
            <video controls="controls" width="496" height="368" poster="/wps/themes/html/abc/images/abc-qPCR.jpg" preload>
                         <source src="http://abc.cachefly.net/abc/abc-qPCR.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
                         <source src="http://abc.cachefly.net/abc/abc-qPCR.ogv" type='video/ogg; codecs="theora, vorbis"' />
                </video>
            <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
      </object>
</div>
________________________________

Can you point me to right direction please?

Thanks.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
simple redial program 3 103
IT Asset Management 5 70
cloning computer 13 68
PC freezes and shutdowns becoming more frequent 17 106
The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now