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

Revision 449, 2.8 KB checked in by zach, 4 years ago (diff)

Adding Logo

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