Video not working
Hello, I am having problems playing a video stored in the app's folder .
I am on os x and have used npm install nw -save to install NW JS and use nw . to run it in development.
However the video plays if it's through an http URL. But if I src the local folder it doesn't work.
To see if it was an issue of not linking properly to the video I tried navigating to the video from the toolbar and it's still not playing.
Any ideas of the why and how to go about fixing this?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
same issue here.
I can reproduce this issue on Linux/Windows with nwjs-sdk-v0.22.1. The local video can't play.
I fixed this a while back, but now not sure how. So here are a few considerations that might help:
- NWJS version of chromium cannot play proprietary codec such as
mp4ormp3. if you try with awebmoroggit should work. - the file path to the video
srcin the html tag, I am using absolute path, but I have a vague recollection that./didn't seem to work. so that's something you might want to play around with.
Hope this is useful to some, as a step towards troubleshooting it. Happy to try and figure out how I solved it in the first place, but perhaps provide a bit more context a round the issue, what kind of file, what file path you are using in src etc..