Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1313

Discard non videos from the sources for the video preview

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.39, 3.0.2
    • Fix Version/s: 2.4.42, 3.x
    • Component/s: UI
    • Release Notes Summary:
      Non video formats are discarded from the sources for the video preview.
    • Backlog priority:
      850
    • Sprint:
      YO LETS DO THIS MAYBE, UI - 2021-02

      Description

      The AI project uses the "conversions" endpoint to generate audio files and store them to the vid:transcodedVideos metadata.

      And because of that, the audio file is sometimes used for the preview. Therefore no video is displayed.

      Even if this approach is debatable, the element "nuxeo-document-preview" could be improved to filter out the non videos MIME type from the sources of the preview around these lines https://github.com/nuxeo/nuxeo-ui-elements/blob/f03857c5cbe5d49bfca1c06b6a3bf118f1471679/nuxeo-document-preview.js#L254-L256

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 25 minutes
                4h 25m