mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:42:44 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			491 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			491 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <HTML/HTMLElement.idl>
 | |
| 
 | |
| enum CanPlayTypeResult {
 | |
|     "",
 | |
|     "maybe",
 | |
|     "probably"
 | |
| };
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement
 | |
| [Exposed=Window]
 | |
| interface HTMLMediaElement : HTMLElement {
 | |
| 
 | |
|     [Reflect] attribute DOMString src;
 | |
| 
 | |
|     [Reflect] attribute boolean autoplay;
 | |
|     [Reflect] attribute boolean loop;
 | |
| 
 | |
|     [Reflect] attribute boolean controls;
 | |
| 
 | |
|     CanPlayTypeResult canPlayType(DOMString type);
 | |
|     undefined load();
 | |
|     undefined pause();
 | |
| };
 | 
