109
110
NPBool init(NPWindow * aWindow);
111
112
NPBool isInitialized();
112
int16 handleEvent(void *event);
113
int16_t handleEvent(void *event);
114
115
NPObject *GetScriptableObject();
115
116
NPObject *GetScriptableObjectControls();
117
118
NPError GetValue(NPPVariable variable, void *value);
118
119
NPError SetWindow(NPWindow * aWindow);
119
NPError NewStream(NPMIMEType type, NPStream * stream, NPBool seekable, uint16 * stype);
120
NPError NewStream(NPMIMEType type, NPStream * stream, NPBool seekable, uint16_t * stype);
120
121
NPError DestroyStream(NPStream * stream, NPError reason);
121
122
void URLNotify(const char *url, NPReason reason, void *notifyData);
122
int32 WriteReady(NPStream * stream);
123
int32 Write(NPStream * stream, int32 offset, int32 len, void *buffer);
123
int32_t WriteReady(NPStream * stream);
124
int32_t Write(NPStream * stream, int32_t offset, int32_t len, void *buffer);
131
132
void FastForward();
132
133
void FastReverse();
133
134
void Seek(double counter);
134
void SetShowControls(PRBool value);
135
void SetFullScreen(PRBool value);
135
void SetShowControls(bool value);
136
void SetFullScreen(bool value);
136
137
void SetVolume(double value);
137
138
void GetVolume(double *_retval);
138
void GetFullScreen(PRBool * _retval);
139
void GetShowControls(PRBool * _retval);
139
void GetFullScreen(bool * _retval);
140
void GetShowControls(bool * _retval);
140
141
void GetTime(double *_retval);
141
142
void GetDuration(double *_retval);
142
143
void GetPercent(double *_retval);
143
void GetPlayState(PRInt32 * playstate);
144
void GetPlayState(int32_t * playstate);
144
145
void SetFilename(const char *filename);
145
146
void GetFilename(char **filename);
146
147
void GetMIMEType(char **_retval);
147
void GetLoop(PRBool * _retval);
148
void SetLoop(PRBool value);
148
void GetLoop(bool * _retval);
149
void SetLoop(bool value);
149
150
void SetOnClick(const char *event);
150
151
void SetOnMediaComplete(const char *event);
151
152
void SetOnMouseUp(const char *event);