Jahia Template Forum > Document Manager...

0 (0 Good)
0 (0 Bad)

Document Manager - Audio/Video container

by  mesdocs »  2011/06/07 20:02

Hi,

I have created template containers for audio and video files with restriction to audio/* and video/* mime types.

Those files are stored on a file system that i can mount in the file manager.

Unfortunately, when i want to attach an audio or video file from this mounted repository, the file manager does not display any file. I succeed in attaching files in simple file container (no restriction on mime type)

There is no output in the tomcat console.

Has someone an explanation about this behaviour ?

Regards,

Mesdocs.
  • Document Manager - Audio/Video container
    2011/06/07 20:02

    mesdocs Hi,<br/><br/>I have created template containers for audio and video files with restriction to audio/* and video/* mime types.<br/><br/>Those files are stored on a file system that i can mount in the file manager.<br/><br/>Unfortunately, when i want to attach an audio or video file from this mounted repository, the file manager does not display any file. I succeed in attaching files in simple file container (no restriction on mime type)<br/><br/>There is no output in the tomcat console.<br/><br/>Has someone an explanation about this behaviour ?<br/><br/>Regards,<br/><br/>Mesdocs.

  • Number of messages  53
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Document Manager - Audio/Video container

    by  shyrkov »  2011/06/07 20:02

    Hello Mesdocs,

    could you, please, provide a bit more details (your content definition, where you specify mime-type restriction)?
    Are you able to see and download your media files in the Document manager?
    It could be that the mime-type of those files is not recognized correctly.
    If you can provide the exact Jahia release/revision number, your mount point configuration and you audio/video files we can perhaps reproduce the problem and try to solve it together.

    Kind regards
    Sergiy
  • Re: Document Manager - Audio/Video container
    2011/06/07 20:02

    shyrkov Hello Mesdocs,<br/><br/>could you, please, provide a bit more details (your content definition, where you specify mime-type restriction)?<br/>Are you able to see and download your media files in the Document manager?<br/>It could be that the mime-type of those files is not recognized correctly.<br/>If you can provide the exact Jahia release/revision number, your mount point configuration and you audio/video files we can perhaps reproduce the problem and try to solve it together.<br/><br/>Kind regards<br/>Sergiy

  • Number of messages  407
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Document Manager - Audio/Video container

    by  mesdocs »  2011/06/07 20:02

    Hi Sergiy,

    Here is my content definition :

    [my_templates:mediaAudio] gt; jnt:container
    smallText title mandatory
    file file (file[mime='audio/*']) mandatory
    bigText fileDesc
    integer audioVolume = '80'
  • Re: Document Manager - Audio/Video container
    2011/06/07 20:02

    mesdocs Hi Sergiy,<br/><br/>Here is my content definition :<br/><br/>[my_templates:mediaAudio] gt; jnt:container<br/>smallText title mandatory<br/>file file (file[mime='audio/*']) mandatory<br/>bigText fileDesc<br/>integer audioVolume = '80'

  • Number of messages  53
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Document Manager - Audio/Video container

    by  pap@commaro.com »  2011/06/07 20:02

    Hello Mesdocs,

    we are using Apache Commons VFS to access the files. It tries to retrieve the content mime type by taking the extension and then it uses [url=http#58;//java

    Benjamin Papez (pap@commaro.com)

    Number of messages  220
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re: Document Manager - Audio/Video container

    by  mesdocs »  2011/06/07 20:02

    Hello Benjamin,

    Thank you very much.
    Under java home, the content-types.properties has an entry for wav files but no entry exists for mp3 extension.

    Regards,

    Mesdocs.
  • Re: Document Manager - Audio/Video container
    2011/06/07 20:02

    mesdocs Hello Benjamin,<br/><br/>Thank you very much.<br/>Under java home, the content-types.properties has an entry for wav files but no entry exists for mp3 extension.<br/><br/>Regards,<br/><br/>Mesdocs.

  • Number of messages  53
    Registration date Jun 7, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page