| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007, 2010, 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010, 2011, 2012 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 [ | 26 [ |
| 27 EnabledAtRuntime=Media, | 27 EnabledAtRuntime=Media, |
| 28 ActiveDOMObject | 28 ActiveDOMObject |
| 29 ] interface HTMLMediaElement : HTMLElement { | 29 ] interface HTMLMediaElement : HTMLElement { |
| 30 | 30 |
| 31 // error state | 31 // error state |
| 32 readonly attribute MediaError error; | 32 readonly attribute MediaError error; |
| 33 | 33 |
| 34 // network state | 34 // network state |
| 35 [Reflect, URL] attribute DOMString src; | 35 [Reflect, TreatNullAs=NullString, URL] attribute DOMString src; |
| 36 [URL] readonly attribute DOMString currentSrc; | 36 [URL] readonly attribute DOMString currentSrc; |
| 37 | 37 |
| 38 const unsigned short NETWORK_EMPTY = 0; | 38 const unsigned short NETWORK_EMPTY = 0; |
| 39 const unsigned short NETWORK_IDLE = 1; | 39 const unsigned short NETWORK_IDLE = 1; |
| 40 const unsigned short NETWORK_LOADING = 2; | 40 const unsigned short NETWORK_LOADING = 2; |
| 41 const unsigned short NETWORK_NO_SOURCE = 3; | 41 const unsigned short NETWORK_NO_SOURCE = 3; |
| 42 readonly attribute unsigned short networkState; | 42 readonly attribute unsigned short networkState; |
| 43 attribute DOMString preload; | 43 attribute DOMString preload; |
| 44 | 44 |
| 45 readonly attribute TimeRanges buffered; | 45 readonly attribute TimeRanges buffered; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyadde
d; | 95 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyadde
d; |
| 96 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyerro
r; | 96 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyerro
r; |
| 97 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeymess
age; | 97 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeymess
age; |
| 98 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedkey
; | 98 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedkey
; |
| 99 | 99 |
| 100 [EnabledAtRuntime=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Medi
aKeys mediaKeys; | 100 [EnabledAtRuntime=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Medi
aKeys mediaKeys; |
| 101 | 101 |
| 102 [EnabledAtRuntime=VideoTrack, RaisesException] TextTrack addTextTrack(DOMString
kind, optional DOMString label, optional DOMString language); | 102 [EnabledAtRuntime=VideoTrack, RaisesException] TextTrack addTextTrack(DOMString
kind, optional DOMString label, optional DOMString language); |
| 103 [EnabledAtRuntime=VideoTrack] readonly attribute TextTrackList textTracks; | 103 [EnabledAtRuntime=VideoTrack] readonly attribute TextTrackList textTracks; |
| 104 | 104 |
| 105 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup; | 105 [Reflect, TreatNullAs=NullString, TreatNullAs=NullString] attribute DOMString me
diaGroup; |
| 106 [CustomSetter] attribute MediaController controller; | 106 [CustomSetter] attribute MediaController controller; |
| 107 }; | 107 }; |
| OLD | NEW |