Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Multimedia files in Managed Reporting

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SHARING] Multimedia files in Managed Reporting
 Login/Join
 
Guru
posted
A while ago I posted the URL for calling a .HTM file from within Managed Reporting(and therefore Dashboard). Recently I found out that with a little variation you can call any file type. This allows the embedding of multimedia files (e.g. WMV, MP3, AVI files) within a HTML page in Managed Reporting or Dashboard.

Assuming that you have imported the file into the "Other Files" folder in a Domain and have added the correct MIME types to mime.wfs (more on this below) Then the URL used is as follows:

WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_OTHER_SECTION
&IBIMR_domain=domain/domain.htm&IBIMR_fex=app/media.wmv



To embed a WMV file (with Windows Media Player into a page you can use:

<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-080C74C7E95" standby="Loading Windows Media Player components..." 
type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab
#Version=6,4,7,1112"> 
<param name="filename" value="WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_OTHER_SECTION&IBIMR_domain=domain/domain.htm&IBIMR_fex=app/media.wmv">
<param name="Showcontrols" value="True">
<param name="autoStart" value="True"> 
<embed type="application/x-mplayer2" src="WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_OTHER_SECTION&IBIMR_domain=domain/domain.htm&IBIMR_fex=app/media.wmv" 
name="MediaPlayer" width=320 height=240></embed>
</object>


To really annoy users you can embed a hidden MP3 in the page using the following HTML code:

<EMBED src="WFServlet?IBIMR_action=MR_RUN_FEX&IBIMR_sub_action=MR_OTHER_SECTION&IBIMR_domain=domain/domain.htm&IBIMR_fex=app/media.mp3" autostart=true hidden=true>


One thing that I noticed is that if you don't add the MIME to mime.wfs before importing the file into Managed Reporting, then the import is done as if the file was ascii - which tends to corrupt MP3 and WMV files.

Here are a few MIME entries that I added to mime.wfs for testing this:

<ADDCOLUMNNAME>   WF_Extension   content_type    format   redirect  WFRS_Catalog  Save_Report  Client_Extension
<ADDTYPE>         .wmv           video/x-ms-wmv  binary   no        N/A           no           .wmv
<ADDTYPE>         .avi           video/x-msvideo binary   no        N/A           no           .avi
<ADDTYPE>         .mp3           audio/mpeg      binary   no        N/A           no           .mp3  


Cheers

Stu


WebFOCUS 8.2.03 (8.2.06 in testing)
 
Posts: 253 | Location: Melbourne, Australia | Registered: February 07, 2007Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SHARING] Multimedia files in Managed Reporting

Copyright © 1996-2020 Information Builders