Creating a Media widget

The Media widget allows you to present a variety of media, such as video, audio, images, or web site content, on your dashboard. You can include media in the widget to provide background information about data or instructions on how to use the dashboard. You can also use the Media widget to simply enhance the look and feel of a dashboard. In the following dashboard, the Media widget in the top left corner shows a company’s CEO addressing the employees on important trends in the latest figures.

Example of a Media widget

One of the primary purposes of the Media widget is to present supplemental information about the data on a dashboard. For example, a regional manager can record a video that summarizes quarterly sales and discusses the significance of the data in a sales dashboard. Analysts can then view the dashboard in the context of this additional information and commentary.

The Media widget can also be used for instructional purposes. For instance, a document designer can include audio or video files that explain how to use a dashboard. Analysts can use this information to focus on key data and take advantage of the dashboard's interactive features, allowing them to work with the dashboard more efficiently.

Additionally, you can display HTML content from a web site in the widget. For example, you can display a section of your internal corporate web site that contains a business presentation. Web site content that is refreshed frequently, such as numeric indicators on system usage, can also be useful to present in the widget.

To create a Media widget, you must specify the media file to play in the widget. The media file used in the widget can come from an online source or be stored locally on your machine or remotely on the corporate network. The media is presented automatically when the dashboard is loaded. It can also be displayed on demand by selecting the Play button in the widget or by selecting a specific attribute, document, or dataset. For example, select a quarter in the document, and a manager's video about the revenue for that quarter is displayed. Similarly, you can choose a region to play a video about the performance of the stores in that particular region.

Note: To use a graphic, video, or audio clip that is available on your network, ensure that the file has the required view or access privileges. In addition, if your machine is running Microsoft Windows 2003 SP2 (R2) and Microsoft Internet Information Services (IIS) 6, you must add .flv files to the Multipurpose Internet Mail Extension (MIME) types in IIS Manager. For instructions and more details, see Configuring IIS 6 in Microsoft Windows 2003 SP2 (R2) to display Flash video.

Requirements for Media widgets

Unlike some other widgets, the Media widget does not require attributes or metrics on the Grid/Graph that contains the widget, unless you define the widget as a target of an attribute selector in the dashboard. For details, see Viewing media related to a specific attribute, document, or dataset.

The Media widget can only play and display the file formats listed in the following table.

Media Type

Format

Video

  • .swf

  • .flv

Audio

  • .mp3

Graphic

  • gif

  • .jpg

  • .png

  • .svg

 

Only specific HTML tags are supported by the Media widget. These HTML tags include the following:

The following HTML tags are not rendered in the widget, but content within the tags is displayed:

Note: The <FONT> tag may be removed if it contains a CLASS attribute within it. For example:
<font class="header">Welcome</font>
.

The following HTML tags and any content within the tags are not rendered in the widget:

To create and add a Media widget to a document

Warning: The third-party products discussed in the procedures below are manufactured by vendors independent of MicroStrategy. MicroStrategy makes no warranty, express, implied, or otherwise, regarding these products, including their performance or reliability.

  1. Open the document in Design or Editable mode.

  2. From the Insert menu, point to Widgets, then Flash. Select Media.

  3. Click the location on your document where you want to place the widget (you cannot place the widget in the Detail section). The Grid/Graph, which appears similar to a standard grid container, is displayed. A small icon at the bottom right corner of the Grid/Graph identifies the type of widget you have added to the document.

  4. If desired, resize the widget by clicking and dragging its handles.

  5. Enable the widget to be viewed in one of two ways:

  6. Right-click the widget and select Properties. The Properties dialog box opens.

  7. On the General tab, from the Content Type drop-down list, choose the type of media to present by selecting Video, Audio, Web Content, or Image. Only specific video, audio, and image file formats are supported in the Media widget.

  8. Specify the location of the content in the Default Feed field. You must enter "www" in the Default Feed field to ensure that the web site opens in the media widget.

  9. If you selected Web Content above and the Web content is located on a different Web domain than the one used for MicroStrategy Web, select the Use Proxy check box.

  10. If you want to display a tooltip, enter text in the Tooltip Text text box. For details on tooltips, see Creating Pop-up tooltips.

  11. Select the background color from the Background color drop-down list.

  12. If you want a popup to appear when you execute the widget, select the Popup content when clicked check box.

  13. On the Play Frequency tab, you can determine the following play options:

  14. Click OK to save changes and display the widget.

Playing media related to a specific attribute

To play media related to a specific attribute, you must specify the name of the attribute when you specify the location of the media file. For example, several sales videos on your corporate web site are devoted to different store locations; the sales videos are named East.swf, West.swf, and Northeast.swf. Specify the location of the video files in this format: http://www.example.com/videos/{[Region]}.swf. This ensures that different elements from the Region attribute, such as Northeast or West, trigger specific videos to play. Because the video's URL is dynamic, it displays a video corresponding to the attribute element you select.

You can also play media files related to a document or dataset report by inserting the document or dataset report name in the URL or folder location in the following format: {[#name of document#]} or {[#name of dataset#]}.

Follow the guidelines below to display media related to a specific attribute, document, or dataset report:

Configuring IIS 6 in Microsoft Windows 2003 SP2 (R2) to display Flash video

If your machine is running Microsoft Windows 2003 SP2 (R2) and Microsoft Internet Information Services (IIS) 6, you must add .flv files to the Multipurpose Internet Mail Extension (MIME) types in IIS Manager. If you do not modify the MIME types in IIS, the Media widget cannot function properly in this environment.  If your machine is operating in a different environment, this procedure is not required.

Enabling a media widget to play Flash video when used offline

If you are exporting a dashboard that contains a Media widget to a machine with no internet access, you must add the .MHT file to the list of Adobe Flash Player trusted files on the client machine. The .MHT file contains all of the data required to make a widget that is displayed in Flash mode function properly after it has been exported. For more information about exporting documents, see Exporting a Document.

Warning: The third-party products discussed below are manufactured by vendors independent of MicroStrategy, and the information provided is subject to change. Refer to the appropriate third-party vendor documentation for updated Flash Player support information.

To enable a media widget to play Flash video when used offline

  1. Access the Macromedia support site at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html.

  2. From the  Edit locations drop-down menu on the right, select Add location.

  3. Type the location of the .MHT file in the textbox.

  4. Click Confirm.

  5. Close and reopen the dashboard or document that contains the widget.

Related topics