0
How do I play a local video file?
I have an offline website featuring videos I've made, and I've got the design finished, with video thumbnails featured on the home page. I want to make the thumbnails clickable, so that I can click on each one and have the video play off the local drive. Is that something I can do using HTML5, or do I need to write something in JS?
3 odpowiedzi
+ 4
//HTML5 do video playing part but as uou mentioned onclicking thumbnail start to play video you need some works with javascript too
+ 1
Thank you, Shudarshan. I'm quite new to all of this, so JS in particular is a bit beyond my reach right now, although I'm working through it. Do you have a suggestion for how I would go about doing this? Even if I don't fully understand it, it could help to get me more familiar with things.
0
In the end, I just created a second web page with the <video controls> attribute, and then linked my index page to that web page. It pretty much accomplished what I desired.