source: trunk/fl5/src/com/longtailvideo/jwplayer/view/IControlbarComponent.as @ 376

Revision 376, 2.9 KB checked in by zach, 4 years ago (diff)

Updating CoreComponent interfaces

Line 
1package com.longtailvideo.jwplayer.view {
2        import flash.display.DisplayObject;
3        import flash.events.IEventDispatcher;
4
5        /**
6         * Sent when the user interface requests that the player play the currently loaded media
7         *
8         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PLAY
9         */
10        [Event(name="jwPlayerViewPlay", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
11
12        /**
13         * Sent when the user interface requests that the player pause the currently playing media
14         *
15         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PAUSE
16         */
17        [Event(name="jwPlayerViewPause", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
18
19        /**
20         * Sent when the user interface requests that the player stop the currently playing media
21         *
22         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_STOP
23         */
24        [Event(name="jwPlayerViewStop", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
25
26        /**
27         * Sent when the user interface requests that the player play the next item in its playlist
28         *
29         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_NEXT
30         */
31        [Event(name="jwPlayerViewNext", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
32
33        /**
34         * Sent when the user interface requests that the player play the previous item in its playlist
35         *
36         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_PREV
37         */
38        [Event(name="jwPlayerViewPrev", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
39
40        /**
41         * Sent when the user reuquests the player set its mute state to the given value
42         *
43         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_MUTE
44         */
45        [Event(name="jwPlayerViewMute", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
46
47        /**
48         * Sent when the user reuquests the player set its fullscreen state to the given value
49         *
50         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_FULLSCREEN
51         */
52        [Event(name="jwPlayerViewFullscreen", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
53
54        /**
55         * Sent when the user requests the player skip to the given playlist index
56         *
57         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_ITEM
58         */
59        [Event(name="jwPlayerViewItem", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
60
61        /**
62         * Sent when the user requests that the player change the playback volume.
63         *
64         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_VOLUME
65         */
66        [Event(name="jwPlayerViewVolume", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
67
68        /**
69         * User request to seek to the given playback location, in seconds.
70         *
71         * @eventType com.longtailvideo.jwplayer.events.ViewEvent.JWPLAYER_VIEW_SEEK
72         */
73        [Event(name="jwPlayerViewSeek", type = "com.longtailvideo.jwplayer.events.ViewEvent")]
74
75        public interface IControlbarComponent {
76                function addButton(name:String, icon:DisplayObject, clickHandler:Function):void;
77                function removeButton(name:String):void;
78        }
79}
Note: See TracBrowser for help on using the repository browser.