How to play .wmv file in HTML/jsp page in fire fox? - firefox

Please suggest something apart from below code as this code is not working in FF.
<!--<OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB- 0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="videofilename.wmv">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-`enter code here`mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer" WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>-->

Related

how to save .fmx file (oracle forms) deployed on a website

Is there any way to save the oracle forms(3-tier) .fmx file running from a server, accessed using a web browser..
what i am getting is some tags containing the .fmx file location . on accessing those files i get the .fmx running. i need dump of the .fmx
Following is the code received by the browser:
<!-- Forms applet definition (start) -->
<OBJECT classid="clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF"
codebase="/forms/jinitiator/jinit.exe#Version=1,3,1,22"
WIDTH="800"
HEIGHT="600"
HSPACE="0"
VSPACE="0">
<PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.22">
<PARAM NAME="CODEBASE" VALUE="/forms/java">
<PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE" VALUE="frmall_jinit.jar,JCalendarJinit.jar,jcalendar.jar,jacob.jar,frmwebutil.jar,icons.jar" >
<PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?form=PR_SC_3T_LOGIN_EDB.fmx&acceptLanguage=en-US,en;q=0.8,hi;q=0.6,ms;q=0.4">
<PARAM NAME="networkRetries" VALUE="0">
<PARAM NAME="serverArgs"
VALUE="escapeParams=true module=PR_SC_3T_LOGIN_EDB.fmx userid= sso_userid=%20 sso_formsid=formsApp_appserv5.vsp.org_E90504F17EA811DFBFFD1B9BE00D2215 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=">
<PARAM NAME="separateFrame" VALUE="True">
<PARAM NAME="splashScreen" VALUE="">
<PARAM NAME="background" VALUE="NO">
<PARAM NAME="lookAndFeel" VALUE="Oracle">
<PARAM NAME="colorScheme" VALUE="teal">
<PARAM NAME="serverApp" VALUE="default">
<PARAM NAME="logo" VALUE="NO">
<PARAM NAME="imageBase" VALUE="DocumentBase">
<PARAM NAME="formsMessageListener" VALUE="">
<PARAM NAME="recordFileName" VALUE="">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="">
<PARAM NAME="EndUserMonitoringURL" VALUE="">
<PARAM NAME="heartbeat" VALUE="">
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="/forms/jinitiator/us/jinit_download.htm"
TYPE="application/x-jinit-applet;version=1.3.1.22"
java_codebase="/forms/java"
java_code="oracle.forms.engine.Main"
java_archive="frmall_jinit.jar,JCalendarJinit.jar,jcalendar.jar,jacob.jar,frmwebutil.jar,icons.jar"
WIDTH="800"
HEIGHT="600"
HSPACE="0"
VSPACE="0"
serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?form=PR_SC_3T_LOGIN_EDB.fmx&acceptLanguage=en-US,en;q=0.8,hi;q=0.6,ms;q=0.4"
networkRetries="0"
serverArgs="escapeParams=true module=PR_SC_3T_LOGIN_EDB.fmx userid= sso_userid=%20 sso_formsid=formsApp_appserv5.vsp.org_E90504F17EA811DFBFFD1B9BE00D2215 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term="
separateFrame="True"
splashScreen=""
background="NO"
lookAndFeel="Oracle"
colorScheme="teal"
serverApp="default"
logo="NO"
imageBase="DocumentBase"
formsMessageListener=""
recordFileName=""
EndUserMonitoringEnabled=""
EndUserMonitoringURL=""
heartBeat=""
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->
</BODY>
</HTML>
Using .fmx files:
Cannot edit or view the code written.
Running offline cannot be useful is some case: if the form uses queries and needs to be connected to the database.
Maybe the main reason why using fmx files, is too use the same form on multiple endpoint within an intra-network
For the fmx on the server, you can try to access that link /forms/frmservlet?form=PR_SC_3T_LOGIN_EDB.fmx and try to download it from the server.
Hope it helps you.

isVid parameter in Brightcove

Good morning,
does anybody know anything about the purpose of the value: <param name="isVid" value="true" /> in the brightcove player-configuration?
on the website they just say that it's a bool-value and has to be set to "true". Nothing about what it's doing.
The parameter isVid is required when you embbed a video inside an HTML file,
<script language="JavaScript" type="text/javascript" src="
http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>
<object id="myPlayer" class="BrightcoveExperience">
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="486" />
<param name="height" value="412" />
<param name="playerID" value="1234567890" />
<param name="playerKey" value="AQ~~,AAAAstMe5SE~,5vOZ123456789bOfHyhc1i" />
<param name="isVid" value="true" />
<param name="#videoPlayer" value="ref:myVid12345" />
</object>
I think is not well described on the docs...
isVid: Boolean Required to be true for all video players.
http://support.brightcove.com/en/video-cloud/docs/player-configuration-parameters

I can't return param value with xpath

I want to return the value of a param inside an object with xpath.
Example Code:
<object id="player" width="100%" height="100%" type="application/x-shockwave-flash" data="http://merhad.333low.com/player.swf" bgcolor="#000000" name="player" tabindex="0">
<param name="allowfullscreen" value="true">
<param name="allowscriptaccess" value="always">
<param name="seamlesstabbing" value="true">
<param name="wmode" value="opaque">
<param name="flashvars" value="http://merhad.333low.com/fqoyJxxS-2c2MSx-wGYmS3T1pkggIeiK7wpA7BbXXcK2sC4XYWehpBDV6CAK7CFH/s=awcmxqt5gYntLqHJ9ceP.flv">
</object>
I tried this, but no result!
Example Code:
echo $xpath2->query("//object[id='player']/param/#value")->item(0)->nodeValue;
You should match the ID as an attribute:
echo $xpath2->query("//object[#id='player']/param/#value")->item(0)->nodeValue;
btw, this will return only the first 'param' nodevalue

Load forms without reloading forms services each time

we are migrating our Oracle Forms 10g application to APEX 4.1.
We need to include some Forms into APEX.
We have a PL/SQL function call_form (see below), called from an APEX region, that simply writes the applet to load the form, passing the form name as parameter.
It works, but it always reload Forms services and it takes arround 10s each time, the Oracle Application Server Forms Services logo appears each time :
It is really a pain for users...
I thought it was because it was reloading jar files each time, so I have tried to use cache options when writting the applet (cache_option, cache_archive, ...) to cache the files in the JVM, without success.
I don't get the applet security warning each time, in the java cache viewer I can see the 4 jar files frmall.jar, frmwebutil.jar, FDialogPJC.jar and jacob.jar.
Here is the content of the Java console when calling a form, and then reloading the page, it seems it loads webutil 2 times :
RegisterWebUtil - Loading WebUtil Version 10.1.2.3
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.3
RegisterWebUtil - Loading WebUtil Version 10.1.2.3
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.3
My JVM is 1.6.0_31.
The call_form procedure :
procedure call_form(in_form_name in varchar2) is
begin
htp.p('
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://javadl-esd.sun.com/update/1.6.0/jinstall-6-windows-i586.cab" width="0" height="0" hspace="0" vspace="0">
<param name="type" value="application/x-java-applet">
<param name="codebase" value="http://myhost.ch/forms/java">
<param name="code" value="oracle.forms.webutil.common.RegisterWebUtil">
<param name="cache_option" value="Plugin">
<param name="cache_archive" value="frmwebutil.jar,jacob.jar">
<param name="cache_version" value="">
<comment>
<embed src="" pluginspage="https://java.sun.com/javase/downloads/index.jsp"
type="application/x-java-applet"
java_codebase="http://myhost.ch/forms/java"
java_code="oracle.forms.webutil.common.RegisterWebUtil"
cache_option="Plugin"
cache_archive="frmwebutil.jar,jacob.jar"
cache_version=""
width="0"
height="0"
hspace="0"
vspace="0">
</embed>
<noembed>Registration applet definition</noembed>
</comment>
</object>
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" codebase="http://javadl-esd.sun.com/update/1.6.0/jinstall-6-windows-i586.cab" width="1015" height="745" hspace="0" vspace="0">
<param name="type" value="application/x-java-applet">
<param name="codebase" value="http://myhost.ch/forms/java">
<param name="code" value="oracle.forms.engine.Main">
<param name="cache_option" value="Plugin">
<param name="cache_archive" value="frmall.jar,FDialogPJC.jar,frmwebutil.jar,jacob.jar">
<param name="cache_version" value="">
<param name="serverURL" value="http://myhost.ch/forms/lservlet?ifcfs=http://myhost.ch/forms/frmservlet?config=myconfig&form='||in_form_name||'.fmx&acceptLanguage=fr">
<param name="networkRetries" value="0">
<param name="serverArgs" value="escapeParams=true module='||in_form_name||'.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=">
<param name="separateFrame" value="False">
<param name="splashScreen" value="">
<param name="background" value="">
<param name="lookAndFeel" value="Oracle">
<param name="colorScheme" value="teal">
<param name="serverApp" value="default">
<param name="logo" value="">
<param name="imageBase" value="DocumentBase">
<param name="formsMessageListener" value="">
<param name="recordFileName" value="">
<param name="EndUserMonitoringEnabled" value="">
<param name="EndUserMonitoringURL" value="">
<param name="heartBeat" value="">
<param name="WebUtilLogging" value="off">
<param name="WebUtilLoggingDetail" value="normal">
<param name="WebUtilErrorMode" value="Alert">
<param name="WebUtilDispatchMonitorInterval" value="5">
<param name="WebUtilTrustInternal" value="true">
<param name="WebUtilMaxTransferSize" value="16384">
<comment>
<embed src="" pluginspage="https://java.sun.com/javase/downloads/index.jsp"
type="application/x-java-applet"
java_codebase="http://myhost.ch/forms/java"
java_code="oracle.forms.engine.Main"
cache_option="Plugin"
cache_archive="frmall.jar,FDialogPJC.jar,frmwebutil.jar,jacob.jar"
cache_version=""
width="1015"
height="745"
hspace="0"
vspace=""
serverURL="http://myhost.ch/forms/lservlet?ifcfs=http://myhost.ch/forms/frmservlet?config=myconfig&form='||in_form_name||'.fmx&acceptLanguage=fr"
networkRetries="0"
serverArgs="escapeParams=true module='||in_form_name||'.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term="
separateFrame="False"
splashScreen=""
background=""
lookAndFeel="Oracle"
colorScheme="teal"
serverApp="default"
logo=""
imageBase="DocumentBase"
recordFileName=""
EndUserMonitoringEnabled=""
EndUserMonitoringURL=""
heartBeat=""
WebUtilLogging="off"
WebUtilLoggingDetail="normal"
WebUtilErrormode="Alert"
WebUtilDispatchMonitorInterval="5"
WebUtilTrustInternal="true"
WebUtilMaxTransferSize="16384">
</embed>
<noembed>Forms applet definition</noembed>
</comment>
</object>
');
end;
Have you any idea on how I can prevent that ? Or do you think there is a better way to include Oracle Forms into APEX ?
Any help would be much appreciated.
Thanks.

WMV scaling in Firefox 3.0.3

I am having problems with my WMV file playing in its original resolution and not scaling to the size of the windows media frame. Here is the code:
<p>
<object height="420" width="585" type="application/x-oleobject"
standby="Loading Microsoft Windows Media Player components..."
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" id="mediaPlayer">
<param value="mms://a1977.v167321.c16732.g.vm.akamaistream.net/7/1977/16732/0/sas-qp.onstreammedia.com/origin/2etrassociates/NSLC/Webinars/Sustaining_Successful_Civic_Engagement_Campus_and_Community_Based_Initiatives-20090409-1804.wmv" name="fileName" />
<param value="1" name="animationatStart" />
<param value="1" name="transparentatStart" />
<param value="1" name="autoStart" />
<param value="1" name="ShowControls" />
<param value="0" name="ShowDisplay" />
<param value="0" name="ShowStatusBar" />
<param name="AutoSize" value="false" />
<param value="0" name="loop" />
<param value="100" name="Volume" />
<embed height="420" width="585" scale="exactfit" loop="0"
designtimesp="5311" autostart="1"
src="mms://a1977.v167321.c16732.g.vm.akamaistream.net/7/1977/16732/0/sas-qp.onstreammedia.com/origin/2etrassociates/NSLC/Webinars/Sustaining_Successful_Civic_Engagement_Campus_and_Community_Based_Initiatives-20090409-1804.wmv"
videoborder3d="0" showstatusbar="0" showdisplay="0" showtracker="1"
showcontrols="1" bgcolor="darkblue" autosize="0" displaysize="4"
name="mediaPlayer" id="mediaPlayer"
pluginspage="http://microsoft.com/windows/mediaplayer/en/download/"
type="application/x-mplayer2" volume="100">
</embed>
</object>
</p>
<p>
<a href="/sites/default/files/download/webinars/Wagner_College-Staten_Island-New_York-Webinar.ppt">
<strong>Download the Updated PowerPoint presentation for this webinar</strong>
</a>. (755K ppt)
</p>
And here is the link which
works fine in IE7 and IE8.

Resources