|
SWFMovie::streamMP3Streams a MP3 file Beschreibung
int SWFMovie::streamMP3
( mixed
$mp3file
[, float $skip = 0
] )Warnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.
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. Parameter-Liste
RückgabewerteReturn number of frames. Changelog
Beispiele
Beispiel #1 Streaming example
<?php |