Closed malrese1 closed 7 years ago
Could you please be a bit more specific about the error you are seeing and what you have tried so far to solve it?
trying to make a video my background
I tried so far putting a video folder in fj and adding
<video >
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
If you're going to reference a locally-stored video in a Rails app, you need to put it somewhere in the /app/assets
directory.
Take a look at this Stack Overflow answer that addresses the issue: http://stackoverflow.com/a/8146619
From there, you can try referencing the filename in the <video>
tag as you did in your example.
im having a problem showing a video on the site