mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement a bit more of the "object" path when loading media
This commit is contained in:
parent
b7452f37d9
commit
e3fb99dd59
2 changed files with 21 additions and 5 deletions
|
@ -5,6 +5,7 @@
|
|||
// https://html.spec.whatwg.org/multipage/#htmlmediaelement
|
||||
|
||||
enum CanPlayTypeResult { "" /* empty string */, "maybe", "probably" };
|
||||
typedef /* (MediaStream or MediaSource or */ Blob /* ) */ MediaProvider;
|
||||
|
||||
[Abstract]
|
||||
interface HTMLMediaElement : HTMLElement {
|
||||
|
@ -13,7 +14,7 @@ interface HTMLMediaElement : HTMLElement {
|
|||
|
||||
// network state
|
||||
[CEReactions] attribute DOMString src;
|
||||
// attribute MediaProvider? srcObject;
|
||||
attribute MediaProvider? srcObject;
|
||||
readonly attribute DOMString currentSrc;
|
||||
// [CEReactions] attribute DOMString crossOrigin;
|
||||
const unsigned short NETWORK_EMPTY = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue