PHP » GoLang |
login |
register |
about
|
GoLang SWFMovie::streamMP3
request it (383)
GoLang replacement for PHP's SWFMovie::streamMP3
[edit | history]
SWFMovie::streamMP3(PHP 5 < 5.3.0, PECL ming SVN) SWFMovie::streamMP3 — Streams a MP3 file DescriptionWarning
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 |
more
Recently updated
more
Most requested
more
Last requests
|