These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:06 pm Advanced search

'Stop' button for the <video> tag

Do you think the HTML spec should do something differently? You can discuss spec feedback here, but you should send it to the WHATWG mailing list or file a bug in the W3C bugzilla for it to be considered.

'Stop' button for the <video> tag

Postby AntoineMeyer » Fri May 21, 2010 6:13 pm

Hi,

What do you think about adding a 'Stop' button that will stop the download of the streaming feed to save bandwidth ?

An example of a case is an embedded player on the Facebook wall, you want to watch a video but don't like the 5 first seconds, you should be able to stop buffering without reloading the page.

What do you think?
AntoineMeyer
<h6>
 
Posts: 1
Joined: Fri May 21, 2010 5:58 pm

Postby zcorpan » Sun May 23, 2010 9:54 pm

Sure.

"If the media data fetching process is aborted by the user"
http://www.whatwg.org/specs/web-apps/cu ... a-resource

Browsers could let the user abort media load with a button or context menu item or keyboard shortcut etc.
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Stop button for HTML5

Postby AMWJ » Sun Jun 13, 2010 11:20 pm

This is good advice for the user agent developer, such as Mozilla, Google, or Microsoft. The WHATWG specifications don't detail which controls are built into the video players.

Although, developers should be able to specify which controls are available to the user, like
Code: Select all
volume="disabled"
or
Code: Select all
controls="mute"
(to only allow muting). All or nothing controls seems rather limited.
AMWJ
<h6>
 
Posts: 7
Joined: Sun Jun 13, 2010 10:47 pm

Postby zcorpan » Mon Jun 14, 2010 6:34 am

What's the use case?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Use case for video controls defined by developers.

Postby AMWJ » Mon Jun 14, 2010 8:23 pm

If you had a video running, like an ad, you might want the user to be able to alter the volume based on their computer's volume settings, but not turn it off. There are many cases where you'd want to limit but not fully get rid of the controls.
Code: Select all
<video>Sorry</video>//Without controls
<video controls='all'>Sorry</video>//Full controls
<video controls='volume'>Sorry</video>//Only volume controls
<video controls='allButStop'>Sorry</video>//All controls except Stop
<video controls='mute'>Sorry</video>//Only muting controls
AMWJ
<h6>
 
Posts: 7
Joined: Sun Jun 13, 2010 10:47 pm


Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest