Problem with m4a blog attachment

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
1/4/2014 12:22:44 PM
Gravatar
Total Posts 533
feet planted firmly on the ground

Problem with m4a blog attachment

Hi Joe

Not sure if this is a bug... I uploaded an .m4a music track as a blog attachment, but no player appears on the resulting post.

With an mp3 (same track) the player appears. I thought perhaps .m4a was not supported, but it's in the list of AllowedMediaFileExtensions. 

Also, minor point, I noticed that the download link for an m4a displays the filename, while for the mp3 it shows as "download". Here's the markup produced when both files are attached:

<a class='download' href='/Data/Sites/1/Attachments/mytrack.mp3'>Download</a>

<a href='/Data/Sites/1/Attachments/mytrack.m4a'>mytrack.m4a</a>

 

1/4/2014 12:56:51 PM
Gravatar
Total Posts 533
feet planted firmly on the ground

Re: Problem with m4a blog attachment

Also noticed that the "download" link is rendered in the full blog post page regardless of whether or not "Include Download Link For Media Attachments" is checked.  On the main blog page, this setting is respected.

I've replicated this by attaching an mp3 to your aliens post on the demo site.

 

1/6/2014 10:59:28 AM
Gravatar
Total Posts 18439

Re: Problem with m4a blog attachment

Hi,

The demo site has been reset and lost your example. Can you provide a link to an m4a file that I can download and try here locally? 

The media player for blog attachments is mediaelement, from a quick google it seems there may be problems using m4a format with it so I'm not sure about fixing that, but I'll look into it and see.

Thanks,

Joe

1/7/2014 10:18:35 AM
Gravatar
Total Posts 18439

Re: Problem with m4a blog attachment

nevermind, I realized my itunes collection is full of m4a files so I have what I need to look into this

1/7/2014 1:14:25 PM
Gravatar
Total Posts 18439

Re: Problem with m4a blog attachment

this is now fixed in the source code repository and on the demo site

Thanks,

Joe

1/7/2014 5:16:07 PM
Gravatar
Total Posts 533
feet planted firmly on the ground

Re: Problem with m4a blog attachment

Hi Joe, thanks, and presumably you mean the player bug? I got around that one by exporting MP3 from iTunes (note to self - must write up how to do that now that, now that I've found a way!). I also noted another couple of issues above about the display of the download links. Apologies for mixing three issues in the one thread - happy to create new threads for these if it helps?

 

 

1/8/2014 12:49:44 PM
Gravatar
Total Posts 18439

Re: Problem with m4a blog attachment

The logic for the link is, if it is an audio or video file we render html 5 audio or video elements with the mediaelement player and a separate download link with the text "Download". Otherwise we render a link to the file with the filename as the link text. It is working as intended as far as I know. The problem was the m4a was not being recognized as an audio file so it rendered as a link with the file name. That is fixed now.

1/10/2014 4:25:01 AM
Gravatar
Total Posts 533
feet planted firmly on the ground

Re: Problem with m4a blog attachment

Hi Joe, the bug with the download link is that it is rendered in the full blog post page regardless of whether or not "Include Download Link For Media Attachments" is checked.  On the main blog page, this setting is respected and the link does not appear.

1/10/2014 1:18:25 PM
Gravatar
Total Posts 18439

Re: Problem with m4a blog attachment

Thanks for the clarification, this is now fixed in the source code repository and on the demo site.

You must sign in to post in the forums. This thread is closed to new posts.