Basic Usage
Custom Skinning
External Control
Hidden Player
Sound Effects
Callbacks
Live Streaming
|
Button Click Effects
This demonstrates how litePlayer can be used to add sound effects to button clicks. In this example, all buttons triggers a common player instance via external control.
CODE:
NOTE: In some cases, external controls will not work if the player is hidden by setting its size to 0 x 0 pixels. The solution is to set the player size to 6 x 6 pixels (minimum), then set its color and bgcolor to the match the page background.
CODE:
|