ICEfaces
  1. ICEfaces
  2. ICE-2100

New Media component (ice:outputMedia)

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.7Beta1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ICEfaces with a media file
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      It should be straightforward to embed movies, flash, etc. into ICEfaces pages.

        Activity

        Hide
        Sheng Gu added a comment -

        It is very nice to see ICEfaces implemented the new component. Just a shot question, can the ice:outputMedia play a video/movie from byte data in database? Thank you.

        Show
        Sheng Gu added a comment - It is very nice to see ICEfaces implemented the new component. Just a shot question, can the ice:outputMedia play a video/movie from byte data in database? Thank you.
        Hide
        Dim Bou added a comment -

        Great work guys is there any chance of getting a packaged war of the component to test it...
        dim5b

        Show
        Dim Bou added a comment - Great work guys is there any chance of getting a packaged war of the component to test it... dim5b
        Hide
        yip.ng added a comment -

        1.7 Beta 1 will be released today which includes the component.

        In answer to Sheng's question:
        The component translates to an <object> tag and an <embed> tag. So it only has the capabilities of those tags. Those tags don't do true streaming. They rely on the browser to do some "fake" streaming? If the amount of media data is small, I suppose you can write it to a file and serve the file? Otherwise, I suppose you can point the media source URL to a servlet that reads the data from the DB and output it to the HTTP response output stream? I haven't done these before, so I am not 100% sure.

        Show
        yip.ng added a comment - 1.7 Beta 1 will be released today which includes the component. In answer to Sheng's question: The component translates to an <object> tag and an <embed> tag. So it only has the capabilities of those tags. Those tags don't do true streaming. They rely on the browser to do some "fake" streaming? If the amount of media data is small, I suppose you can write it to a file and serve the file? Otherwise, I suppose you can point the media source URL to a servlet that reads the data from the DB and output it to the HTTP response output stream? I haven't done these before, so I am not 100% sure.
        Hide
        Malkit Bhasin added a comment -

        Hi,
        I'm trying to use this component ice:outputMedia to render SVG into the page. It works fine for Firefox, but not for Internet Explorer. Here is what I am doing:
        <ice:outputMedia source="svgfilename.svg" mimeType="image/svg+xml" />

        Can someone suggest what I need to do to get this working for IE. Thanks in advance.

        Show
        Malkit Bhasin added a comment - Hi, I'm trying to use this component ice:outputMedia to render SVG into the page. It works fine for Firefox, but not for Internet Explorer. Here is what I am doing: <ice:outputMedia source="svgfilename.svg" mimeType="image/svg+xml" /> Can someone suggest what I need to do to get this working for IE. Thanks in advance.
        Hide
        Malkit Bhasin added a comment -

        Figured out. Here is what works for both IE and Firefox:

        <ice:outputMedia>
        <f:param name="src" value="svgfilename.svg"/>
        <f:param name="type" value="image/svg+xml"/>
        <f:param name="height" value="300"/>
        <f:param name="width" value="900"/>
        <f:param name="pluginspage" value="http://www.adobe.com/svg/viewer/install/"/>
        </ice:outputMedia>

        Show
        Malkit Bhasin added a comment - Figured out. Here is what works for both IE and Firefox: <ice:outputMedia> <f:param name="src" value="svgfilename.svg"/> <f:param name="type" value="image/svg+xml"/> <f:param name="height" value="300"/> <f:param name="width" value="900"/> <f:param name="pluginspage" value="http://www.adobe.com/svg/viewer/install/"/> </ice:outputMedia>

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Goddard
          • Votes:
            7 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: