+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Cannot upload .f4v files

Cannot upload .f4v files

13 posts, 0 answered
  1. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    29 Oct 2010
    Link to this post
    Hi,

    I'm trying to upload .f4v files to a video library. I have added the extension to the web.config, plus I have added the mime-type, however i still get the error message:

    could not be uploaded because it is not a valid browser viewable image. Image gallery should contain only browser viewable images.

    I have also tried a custom library but with the same resuklts.

    Any ideas?

    Thanks
    higgsy
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    29 Oct 2010
    Link to this post
    Hello higgsy,

    The valid formats are .Gif, .Jpeg, .Png. You should use a library of type custom, not an image library.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    29 Oct 2010
    Link to this post
    Ivan,

    I'm not using an image library - I am uploading specifically to a video library.

    Thanks
    higgsy
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    29 Oct 2010
    Link to this post
    Hello higgsy,

    The code where we throw the error is called if you use Image library. Please check your settings again and/or create a new library. Try using a custom library type as well. Have you tried it?

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    29 Oct 2010
    Link to this post
    Ivan,

    Its definitely a video library as i have about 15 .flv files in there. I have also tried a custom library and got the same error message.

    higgsy
  6. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    30 Oct 2010
    Link to this post
    Hi Ivan,

    Shall i open a bug ticket for this? I have tried uploading to both a video and custom library - same results each time.

    Thanks
    higgsy
  7. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    31 Oct 2010
    Link to this post
    Hi higgsy,

    You may open a request. Please send the project you use and a single flv file, so we could see what is going wrong.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    01 Nov 2010
    Link to this post
    Hi Ivan,

    I can't open another support ticket at the moment -this project is due to go live in the next 48 hours, and until the client isn't purchasing the license.

    Can you please look at the attachment. I am very clearly uploading an .FLV file to the videos library, yet am getting the error message:

    could not be uploaded because it is not a valid browser viewable image. Image gallery should contain only browser viewable images.

    Which you have stated only occurs within the image galleries.

    I had originally stated we couldnt upload .f4v, but we have now tried .flv's as an alternative which gives the same error.

    I would really appreciate some help on this - this is the last key to launching the website.

    Thanks in advance
    higgsy
  9. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    01 Nov 2010
    Link to this post
    Hi higgsy,

    I am not able to replicate the issue locally when I am using flv files and a library of type video. Try creating a new library of type video or a custom library to see if this will make any difference in your case.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    02 Nov 2010
    Link to this post
    Hi Ivan, Can I send you my web.config and .flv file as my project is too big to send, and I can't really post the video or web.config on here for privacy reasons. My client is looking to go live today so we will be purchasing a license towards the end of the day. I don't know whether it makes any difference but I am using windows 2008 server. Regards, Higgsy
  11. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    02 Nov 2010
    Link to this post
    Hi higgsy,

    Ok, send the web.config, but I do not think that the problem is in it.  Have you tried my suggestions?

    Sincerely yours,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  12. higgsy
    higgsy avatar
    336 posts
    Registered:
    05 Aug 2010
    02 Nov 2010
    Link to this post
    Hi Ivan,

    I have found the root of the problem. I can upload FLV files in all browsers except for Chrome. I have tested:

    IE 8
    FireFox
    Safari
    Chrome

    And I've tested 3 different libraries and 4 files, so the results are pretty comprehensive.

    Please take this as a bug notification.

    Regards,
    higgsy
  13. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    02 Nov 2010
    Link to this post
    Hello higgsy,

    The problem you see comes from the ASP.NET FileUpload control. In Chrome it returns null for PostedFile.ContentType; and then there is no content type for the item that you are uploading which results in the error you see. We will try to enhance our code for the next SP, so we could avoid the issue that comes from ASP.NET FileUpload control

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Register for webinar
13 posts, 0 answered