Problems with background video

Where exactly is your video located? Isn’t it in the root folder of your website?
Is your page in the root folder of the site?

Where should my video be stored? I tried grabbing it inside the background video option from the desktop and clicking publish. I also tried putting it in my assets folder.

C:\wamp64\www\name-dir-target\assets

The php page I am adding it to is in this folder:

C:\wamp64\www\name-dir-target\Admin

All the files related to your website must be located in the folder defined as a ROOT folder of your project.
They cannot be outside of your project definition folder!

Your screenshot shows the video you are trying to use is 3 levels up from your php page … i don’t hink you are selecting a file from within your project folder.

Sorry, not sure what I am doing wrong.

This link looks totally broken and wrong:

If your page is inside the Admin folder it will look like just ../Up.mp4
Are you sure you work on a page located in the Admin folder and that you opened it from Wappler files panel?

It was in the www/name-dir-target folder before (I thought that was the root you mentioned). I moved it to the admin folder now (the same folder where the PHP file is. I clicked the folder icon inside wappler and selected the video inside the admin folder:

…/…/…/…/…/…/wamp64/www/name-dir-target/Admin/Up.mp4

That’s what the link looks like

That link is wrong.
by “located in your root folder” i mean any file or folder located inside the folder you defined in your project definition.

How do the links in the page head tags look like? Please paste a screenshot of the code view.

Thats with your link text, thought i would try to check.

All the other links look fine as you can see.
Maybe completely QUIT Wappler and try doing this again.

I just edited the code to your link, nothing in the design view but when i view in browser it works…Should i be able to see it in design view?

You should be able to view it in design view, but something is obviously broken either in your site configuration, in your server configuration or on the page you are working on …

@DrNinjamonkey please use this topic to reply. Don’t flood the documentation topic with non-related posts.

Fair enough. Not sure where I go from here then. If you have any suggestions I’d love to hear them - I dont really want to carry on knowing something is probably broken.

Sorry, will post here.

Do you have any suggestions of things i should check? I do feel like I have been battling since getting going - when i load my pages into chrome I often get “application already running” popup that i have to tab away from to dismiss. Something is obviously broken but i have no idea what!

Well this message appears when you have the app connect js file included more than once on your pages.
I really don’t know what could be wrong on your server/pages/setup. It could be many things. If you are following the docs, which explain step by step how to do things you shouldn’t have any issues.

Thanks - that fixed the application already running issue. I had it in there about 40 times, no clue how that happened!

I think i need to start again and maybe get some help with my server set-up etc. Something is obviously broken and it doesnt make sense to keep working through tutorials if im just going to have to pester people in the forums when things break. Thanks for your support.

Quick question as i try to get to the bottom of this. I have the file “Up.mp4” inside my main root (not sure if thats the correct term):

C:\wamp64\www\name-dir-target

This works. A PHP file inside C:\wamp64\www\name-dir-target\Admin has the link for the background video set to …/Up.mp4 and it works fine.

However when I go to my index file which is in the same folder as the video (C:\wamp64\www\name-dir-target) if i click the explorer to select the background video, the file is not there. Can a file only be used once or is this an indication of a different problem?

Just wanted to let you know that i got to the bottom of this - my images were (as you suspected) in the wrong place.

I misunderstood when you said root - I got confused between my target and my project folder. I still don’t 100% know the difference to be honest but now i understand - put files in project folder, use in wappler, publish, save, open in browser.