Changeset d5ec802741e96f90002d46288ca1da86fb279d86
- Timestamp:
- 04/11/08 17:02:57
(3 months ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1207926177 +0200
- git-parent:
[8b80610319eee6e828e187b7c11ed457f9ef61d7]
- git-author:
- thannoy@actech-innovation.com <thannoy@actech-innovation.com> 1206632631 +0100
- Message:
Allow future control toolbar to be hidden (default) or shown.
Even if no control toolbar is implemented for ActiveX yet, we already
provide the code to enable/disable it for compatibility with Firefox
API behaviour.
The getter used to know if toolbar is shown will always return FALSE
until a toolbar is implemented. (getter which will be available soon
for Firefox)
To use it:
- ActiveX global property named "toolbar":
For HTML : <param name="toolbar" value="True" />
- API on IVLCControl2 interface, property "toolbar" (RW):
For Javascript : yourvlcobject.toolbar = false;
isToolBarShown = yourvlcobject.toolbar;
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8b80610 |
rd5ec802 |
|
| 135 | 135 | */ |
|---|
| 136 | 136 | |
|---|
| | 137 | /* |
|---|
| | 138 | * caution: vlcobject.toolbar:bool does not yet exists in Firefox |
|---|
| | 139 | * plugin. Official usage is through "toolbar" property for now, |
|---|
| | 140 | * which is compatibile with Firefox. |
|---|
| | 141 | */ |
|---|
| | 142 | [id(DISPID_Toolbar), propget, helpstring("Returns/sets visibility of the toolbar")] |
|---|
| | 143 | HRESULT Toolbar([out, retval] VARIANT_BOOL* visible); |
|---|
| | 144 | [id(DISPID_Toolbar), propput, helpstring("Returns/sets visibility of the toolbar")] |
|---|
| | 145 | HRESULT Toolbar([in] VARIANT_BOOL visible); |
|---|
| 137 | 146 | HRESULT addTarget([in] BSTR uri, [in] VARIANT options, [in] enum VLCPlaylistMode mode, [in] int position); |
|---|
| 138 | 147 | [propget, helpstring("Returns index of current item in playlist.")] |
|---|