The video tag is not working, it says file not found. How do I fix this?

Adrien Chung

I have looked at a bunch of different sources and they don't really tell me anything, so I would really appreciate any answers. I want a video to autoplay as the final product, but right now I just need it to show up. Heres my code:

<!DOCTYPE html>

<html>

<h1>Hello there!</h1>

<video width="1000" height="1000" controls>
    <source src="hellothere.webm" type='video/webm'>
    Sorry, pumpkin
    
</video>

the video "hellothere.webm" is stored on my desktop in a folder. I get an error message saying that the file is not found, and I don't know what to do. This is on chrome. Please help.

Leaf the Legend

Make sure that your html file and video are in the same parent folder - i.e. both in that folder on your desktop. Otherwise, you can change the path of the video to point to that folder on your desktop. Hopefully the file should then be found.

As a side note, if you want the video to autoplay, add the autoplay attribute:

<video autoplay width="1000" height="1000" controls>

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How do i properly link my css and html file together, inspect element says "ERR_FILE_NOT_FOUND"

Cant move VBScript to another directory, it says "File not found", I'm really confused how error occurs, how can someone fix it?Error starts at line14

Why is this code not working, How do i fix it?

How do I fix this source not found error? Reading text file with buffered reader - Java

After windows install, Fedora no longer boots up. Getting error: file '/vmlinuz' not found found. How do I fix the boot?

How do I delete a file that PowerShell says does not exist?

I manually delated a Trait file, now I get "Trait 'App\Http\Controllers\CommonTrait' not found". How do I fix this?

How can I fix this damaged Camtasia recorded video file?

I've installed powershell in ubuntu 16.04 but when I type powershell in terminal it says command not found, how can I fix this?

How do i fix this CopyPNG File error?

How do I fix a .ipynb file?

TSIFY module not found html file. how do fix?

How do I fix this tag positioning issue on TikZ?

How do I fix my SD card reader on my computer that always says the device is locked for read only?

Rufus says my USB drive has bad blocks, how do I fix it?

How do I fix the fact that I'm working on the wrong branch

I have trouble working with pyaudio . How do I fix the errors?

How do I fix incompatible SQL Server version found?

How Do I Fix "unexpected element <queries> found in <manifest>"?

How do I fix the directory not found for option -F error

How do I fix "positional parameter cannot be found that accepts "+""?

How do I fix 'jekyll: command not found' error permanently?

Java Problem at scanner (Line not found) How do i fix this?

How do I fix key not found error in python?

How Do I Decode/Encode A Video To A Text File and then Back To Video?

how do I catch a file not found error?

How to fix file .json not found

Firefox says "server not found" because it's adding WWW. How do I stop this?

i can open php file in browser but android says file not found