W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] Video proposals

From: Nicholas Shanks <contact@nickshanks.com>
Date: Fri, 16 Mar 2007 16:57:01 +0000
Message-ID: <8DC916AD-FE03-4C02-B921-D519D0FED194@nickshanks.com>
On 16 Mar 2007, at 15:32, Shadow2531 wrote:

>>> .loop, .startpos
>>> loop = false | true
>>> autostart = true | false
>>> startpos = 0 | specified pos
>>
>> Could you elaborate on the use cases for these?
>
> <video src="VideoIWasWatching.ogg">
>    <param name="startpos" value="value gotten from cookie where I  
> left off at">
> </video>

The downside of that is sites have to implement a cookie system. I  
don't want to do that on my own site and many personal website owners  
won't know how to either.
For the above usage case, I don't see why "remembering where you left  
off" can't be a user-agent feature rather than part of the  
specification. Granted that would fail if you switch browsers but  
people don't do that much.

All said, it would be very useful if the startpos param could be  
returned to the server when starting the download, or when scrubbing  
forward into parts of the video that haven't yet downloaded. as that  
would help avoid using bandwidth unnecessarily.

I see two ways to do that over HTTP:
1) As a HTTP header
2) In the URL

There is also currently this RTSP URL format understood by RealPlayer:
rtsp://rmv8.bbc.net.uk/french/fre0600.ra?start=%2220%22
Other formats may understand other parameters, or not define startpos  
as an integer number of seconds, but use hrs:mins:secs etc.
How would the UA then send the startpos if differing content types  
used different mechanisms?

- Nicholas.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070316/85b7de8d/attachment.bin>
Received on Friday, 16 March 2007 09:57:01 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:53 UTC