|
SWFMovie::streamMP3Streams a MP3 file Description
int SWFMovie::streamMP3
( mixed
$mp3file
[, float $skip = 0
] )Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.
Streams the given MP3 file This method is not very robust in dealing with oddities (can skip over an initial ID3 tag, but that's about it). Note that the movie isn't smart enough to put enough frames in to contain the entire mp3 stream- you'll have to add (length of song * frames per second) frames to get the entire stream in. Parameters
Return ValuesReturn number of frames. Changelog
Examples
Example #1 Streaming example
<?php |