- Joined
- Mar 17, 2006
- Messages
- 2,866
- Points
- 113
This mod allows the Multi Media files embedding in YaBB2 message.
It accepts .wma, .wax, .asx, .mid, .rmi, .wav, .wmv, .mp3, mp4, .avi, .mpg, .mpeg, .kar, .wpl, .asf, .rm, .ra, .ram, .qt, .mov, .qtm .swf, .divx, .xdiv google video files and youtube files and loads up the appropriate html player inside the message.
It accepts .wma, .wax, .asx, .mid, .rmi, .wav, .wmv, .mp3, mp4, .avi, .mpg, .mpeg, .kar, .wpl, .asf, .rm, .ra, .ram, .qt, .mov, .qtm .swf, .divx, .xdiv google video files and youtube files and loads up the appropriate html player inside the message.
Code:
Usage
It works like [media]http://url.to/your/media.wmv[/media].
Player parameters that can be fed into it are
[media loop] to loop the file after manual start
[media autostart] to autostart the file and play it once
[media loop autostart] to autostart and loop the file after manual start
[media autostart loop] to autostart and loop the file after manual start
Adding width=*** to the front tag gives you full control over the width of the player between 180 and 800 px.
The height is automatically adjusted to remain in a 4:3 ratio.
So [media width=500]http://url/to/your/movie.mpg[/media] will open Windows Media Player width 500 and waits for the play button to be clicked to start the movie.
[media hide] or [media hidden] allows you to reduce a player to invisible (or 1 px for IE players).
This is of course only useful for audio tracks Tongue