Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-6451

Add HTML5 audio support for Document and Media Library

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.1 EE GA1 (6.1.10)
    • Fix Version/s: 6.1 EE GA2 (6.1.20)
    • Component/s: DM
    • Labels:
      None
    • Fix Pack Status:
      Not Important

      Description

      Add HTML5 audio support for Document and Media Library.

      API Changes

      com.liferay.portlet.documentlibrary.util.AudioProcessor

      Method: getPreviewAsStream(FileVersion fileVersion)
      Status: Deleted
      New Method: getPreviewAsStream(FileVersion fileVersion, String type)

      Method: getPreviewFileSize(FileVersion fileVersion)
      Status: Deleted
      New Method: getPreviewFileSize(FileVersion fileVersion, String type)

      com.liferay.portlet.documentlibrary.util.AudioProcessorUtil

      Method: getPreviewAsStream(FileVersion fileVersion)
      Status: Deleted
      New Method: getPreviewAsStream(FileVersion fileVersion, String type)

      Method: getPreviewFileSize(FileVersion fileVersion)
      Status: Deleted
      New Method: getPreviewFileSize(FileVersion fileVersion, String type)

      The following properties were added to portal.properties:

      Input a list of comma delimited audio containers for preview files. The only formats supported are MP3 and OGG.

      dl.file.entry.preview.audio.containers=mp3,ogg
      dl.file.entry.preview.audio.containers=mp3
      dl.file.entry.preview.audio.containers=ogg

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              angelo.jefferson Angelo Jefferson
              Reporter:
              hugo.huijser Hugo Huijser
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  6.1 EE GA2 (6.1.20)