Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18084

flv files without suffix using ezmultiupload

    XMLWordPrintable

Details

    Description

      Hello,

      when using ezmultiupload, i can upload my flv file but the method insertHTTPFile in ezbinaryfiletype.php makes the file named without an extension which can be a problem for my flv playlist player that needs .flv in the needed xml data.

      So this is my workaround in kernel/classes/ezbinaryfiletype.php

      $suffix = false;
      if ($mimeData['name'] == 'video/x-flv')
      $suffix = "flv";

      // if ( !$httpFile->store( "original", false, false ) )
      if ( !$httpFile->store( "original", $suffix, false ) )

      which is not very clean..

      ps : if I create my flv object "manually" in the back-end creating the object, it works fine (different method used).

      So I don't know if this might be useful or of it can be done differently.

      Gwen

      Attachments

        Activity

          People

            unknown unknown
            gouan gouan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: