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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 attribute double defaultPlaybackRate; | 65 attribute double defaultPlaybackRate; |
66 attribute double playbackRate; | 66 attribute double playbackRate; |
67 readonly attribute TimeRanges played; | 67 readonly attribute TimeRanges played; |
68 readonly attribute TimeRanges seekable; | 68 readonly attribute TimeRanges seekable; |
69 readonly attribute boolean ended; | 69 readonly attribute boolean ended; |
70 [Reflect] attribute boolean autoplay; | 70 [Reflect] attribute boolean autoplay; |
71 [Reflect] attribute boolean loop; | 71 [Reflect] attribute boolean loop; |
72 void play(); | 72 void play(); |
73 void pause(); | 73 void pause(); |
74 | 74 |
75 // media controller | |
76 [RuntimeEnabled=MediaController, Reflect] attribute DOMString mediaGroup; | |
77 [RuntimeEnabled=MediaController, TypeChecking=Interface] attribute MediaCont
roller? controller; | |
78 | |
79 // controls | 75 // controls |
80 [Reflect] attribute boolean controls; | 76 [Reflect] attribute boolean controls; |
81 [RaisesException=Setter] attribute double volume; | 77 [RaisesException=Setter] attribute double volume; |
82 attribute boolean muted; | 78 attribute boolean muted; |
83 [Reflect=muted] attribute boolean defaultMuted; | 79 [Reflect=muted] attribute boolean defaultMuted; |
84 | 80 |
85 [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity
; | 81 [Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity
; |
86 }; | 82 }; |
OLD | NEW |