I am developing an app where I'd like to show a video. The app is being
developed with node.js and express 4. So I grabbed the videos module and
added the html5 video tag in the view as follows:

<video id="vidid" class="video-js vjs-default-skin" controls
autoplay="none" preload="auto" width="600" height="400">
    <source src="path/to/video" type="video/mp4">
</video>



Note that for the path of the video, I declared the public folder as where
all static assets should be served from. Then I created a videos folder
under public and put the file in there. I also made sure I called the play
function on the video in my script. Although the UI displays fine, the
video does not load at all. I can't figure out why. Does anyone have any
idea? Btw, I am testing it on Safari 7.0.3 Thanks in advance

José

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAGXCHEmFmJS_-WoEHjFuJo-%2BjHY94WP5vgJ4197ekrc7wU%2B0DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to