[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [OT] HTML5 (was: Playing Videos)



At 07:17 AM 6/10/2012, Camaleón wrote:
On Sun, 10 Jun 2012 00:28:49 -0400, Ethan Rosenberg wrote:

Ethan, your reply quoting looks weird, I'll try to rearrange it :-?

> At 12:53 PM 6/8/2012, Camaleón wrote:

>> > 1] I am trying to play a video using VLC.  If I call the video from a
>> > HTML5 document, it takes 90 seconds to load.  If I go directly to the
>> > directory where the video is located, it loads in about one second.
>>
>>What's the html code you are using to load the video?

> <embed src="Videos/DSCF0142.AVI" vspace="70" width="320" height="260" CONTROLLER="true" LOOP="LOOP" alt="" AUTOPLAY="0" name="GingyVideo"></embed>
>
> Teacher -- Did I pass my test??  :-)

Nope, "fail", sorry :-P

Why using <embed> instead <video>? For instance:

<video src="TVideos/DSCF0142.AVI" width="320" height="260" controls autoplay loop></video>

According to the current html5 working draft, embed only allows a few set
of specific attributes, in addition to the usuals:

http://www.w3schools.com/html5/tag_embed.asp

>>Have you tried with another media player to check if it happens the
>>same?

> Yes, same behavior.

Maybe the file is very big. How about the file size?

I'd do more testing, for example, use <video> tag, load a differnt file
container other than AVI (e.g., .mpeg, .ogv...) and also run the tests
with different browsers.

Greetings,

--
Camaleón
=================
Dear Teacher -

The video tag is poorly supported. I tried just what you suggested and it does not work. :-(

I have found out that Iceweasel is using the VLC plugin. I cannot seem to find a way to force Iceweasel to use VLC. My last resort would be to use a system call from PHP to run VLC from the command line. Any ideas? :'(

Ethan


Reply to: