Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • kyle 49 posts 240 karma points
    Apr 12, 2022 @ 13:02
    kyle
    0

    Failing to upload video to content section

    Hi all,

    I want to allow users to download past webinars from my website through a normal a tag:

    <a href="" downlaod>Donwload webinar</a>
    

    This works on my local machine perfectly 100%, but it does not work on my staging environment??? The project is configured to allow large file uploads:

    <remove fileExtension=".mp4" />
    <mimeMap fileExtension=".mp4" mimeType="video/mp4" />
    
    <httpRuntime maxRequestLength="2097151"  />
    
    <requestLimits maxAllowedContentLength="2097151000" />
    

    On my local machine, I have a field that allows the editor to upload a video of type upload video(.mp4 is an allow type configured)

    then I use this to allow user to download the video from front end:

    <a href"@Model.Value("videoUpload")" download>Download webinar</a>
    

    This works on my local machine, so I did exactly the same on the staging environment but it does not work...

    When I select the .mp4 file (800mbs in size) from my machine, it never gets loaded, the green button that displays save and publish just shows a loader for a while, then a white 'x'? What do I do here... please help, thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies