You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ive got an example to work just fine. Having trouble understanding how all the hooks and snags work so running a few simple experiments to get acquainted with your creation. Ive been through SO from top to bottom and found only vague references. I couldn't find any thing on SO that provided enough of a well rounded explanation to help me learn.
How can I hard code a file name and path directly into your code example? seems like I should be able to replace const file = fileinput.files[0] with const file = "D:\videoFiles\sampleVideo.mp4";
Still trying to figure out how this script operates. Im trying to hardcode the file that is to be analyzed.
ive replaced
const file = fileinput.files[0]
withconst file = "D:\videoFiles\sampleVideo.mp4
Then I call the
onChangeFile
class with a button<button class="btn btn-default" id="getframe" onclick="onChangeFile()">Get Frame Rate</button>
It never produces a result. The output displays "Working…"
Is there a different place that I can hardcode the file name & path?
The text was updated successfully, but these errors were encountered: