Copied to clipboard

Flag this post as spam?

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


  • Lars 4 posts 74 karma points
    Sep 03, 2020 @ 10:19
    Lars
    0

    Uploading a video

    Hi guys, I'm a newbie wanting to upload a video to my company's website. I can upload it to a Folder as a File, but it will not load when browsing the website - error message: "Error when loading the image!"

    What am I doing wrong? Sorry if it is a silly question.

  • Steve Morgan 1350 posts 4460 karma points c-trib
    Sep 03, 2020 @ 10:29
    Steve Morgan
    0

    There are no silly questions!

    The thing to know with Umbraco is the output of the html is dependent on what the developer gave you.

    I suspect you're trying to use a video in a property that the developer expected you to use an image in. The markup will likely be <img src="your url" /> which won't work for a video that will require something like:

        <video width="320" height="240" controls>
      <source src="movie.mp4" type="video/mp4">
      <source src="movie.ogg" type="video/ogg">
    Your browser does not support the video tag.
    </video>
    

    Does that make sense?

    What you need to do is to probably modify the template that produces the html and add a new property to your document type. To do this you'd need access to the Settings section in Umbraco - first question is can you see that menu option in the left hand menu under Content and Media?

    Not everyone will have access to it - you might need an "administrator" account.

  • Lars 4 posts 74 karma points
    Sep 03, 2020 @ 10:41
    Lars
    0

    Thanks for your answer!

    I suspected this was the case, so I asked my boss to contact the developer and have him give access to the Settings, which I have been given. However, having close to zero experience in html, I'm afraid I don't have the coding knowledge to modify the template on my own.

    Looking at the template, the developer clearly only meant for my company to use images for our website (I was trying to upload a video into an image gallery), so I will definitely have to alter the template.

  • Steve Morgan 1350 posts 4460 karma points c-trib
    Sep 03, 2020 @ 10:53
    Steve Morgan
    0

    Hi,

    Yes - it's likely to need a little bit of CSS and html skill. Nothing you can't google, stack overflow or ask here for.

    Are you able to share the URL for the page you're trying to add it to - I can give you an idea of the complexity involved.

    Steve

  • Lars 4 posts 74 karma points
    Sep 03, 2020 @ 10:56
  • Steve Morgan 1350 posts 4460 karma points c-trib
    Sep 03, 2020 @ 11:03
    Steve Morgan
    0

    OK - it's an Angular powered frontend. I'm not your expert here..

    It looks like it's using the Angular Image Gallery - I don't know if you can add videos in here without some work, hopefully someone else can chime in?

    I'd imagine you'd need to add a thumbnail image too.

    Steve

  • Lars 4 posts 74 karma points
    Sep 03, 2020 @ 11:07
    Lars
    0

    Aw, OK. I really appreciate you giving it a try though. Thanks a lot! :-)

  • 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