Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4355

Create complex handler for storing and displaying video and audio files

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.8.2
    • Fix Version/s: Platform 2.0.0
    • Component/s: None
    • Labels:
    • Complexity:
      Medium

      Description

      According to Creating Complex Observations and Concepts, it currently doesn't support storing video and audio files as well as displaying them in the UI.

      Dev Notes:

      • Add a MediaHandler capable of storing and retrieving complex Obs for audio and videos.
      • Add a WebMediaHandler(extends MediaHandler) which i believe should be able to play audio too(audio complex Obs) which would set the playback window depending whether it is a video Vs audio. Alternatively, WebMediaHandler could be an abstract class and we add 2 subclasses i.e WebAudioHandler and WebVideoHandler and these technically should just differ in terms of the playback window size to set in the browser since audio really only needs a small space to show progress of play.

      For an example of a web handler see WebImageHandler in core

      I would do this in a module to be able to start using the handler whenever it is ready

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  jkondrat Jakub Kondrat
                  Reporter:
                  ayeung Ada Yeung
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 0 minutes
                    0m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 5 hours
                    1d 5h