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.
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.
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.
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.
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.
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: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.
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.
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
You bet, it's http://www.dlt-as.dk/om-dlt/galleri/
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
Aw, OK. I really appreciate you giving it a try though. Thanks a lot! :-)
is working on a reply...
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.