Are you implementing the static file serving yourself? You're likely
not supporting the Range header and 206 partial responses, which HTML5
<video> tags expect to work properly. I'd recommend using connect's
static() middleware.

On Mon, Nov 12, 2012 at 1:44 PM, Yash Girdhar <[email protected]> wrote:
> actually, I have made a simple real time drawing board in node.js, using
> socket.io.Now, I want to embed real time video sync in the same file.
> So, to start with I just added a video tag to the html file of the node.js
> server(I am attaching both the files for your reference), to make sure that
> at least I am able to play the video or not. nothing else changed in both
> server and html files.But, the video is not playing.I am able to play the
> video in the same file, by simply opening the html file in the browser or in
> the Localhost, BUT not on the node server.
> please help
>
>
> On Tuesday, 13 November 2012 03:03:26 UTC+5:30, Mark Hahn wrote:
>>
>> > when I embed the video in the html file of node server
>>
>> What do you mean by embed?  Surely you don't mean putting the video data
>> in an actual .html file.
>>
>> On Mon, Nov 12, 2012 at 1:16 PM, Yash Girdhar <[email protected]> wrote:
>> >
>> > I am trying to play a video using html5 video tag in chrome. when I play
>> > the video in a different file, containing just the video tag, the video is
>> > playing.but when I embed the video in the html file of node server, it is
>> > not.
>> >
>> > The other functionalities of the node server are working as expected( I
>> > have build an dynamic drawing board, and its working on the server).
>> >
>> > what can be the reason behind this?
>> >
>> > thank you
>> >
>> > --
>> > Job Board: http://jobs.nodejs.org/
>> > Posting guidelines:
>> > 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 post to this group, send email to [email protected]
>>
>> > To unsubscribe from this group, send email to
>> > [email protected]
>>
>> > For more options, visit this group at
>> > http://groups.google.com/group/nodejs?hl=en?hl=en
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to