Solved

Getting Macromedia Flash Movie to run in Websphere Portal 6.0 portlet

Posted on 2008-10-05
3
1,875 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

734 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