
Recherche avancée
Autres articles (75)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Les images
15 mai 2013 -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (13215)
-
AS3 NetStream AppendBytes Seek issue
18 novembre 2015, par AntBirchI’m having trouble with NetStream in AS3. The project I am working on allows users to browse a video (locally) and play it back. The issue I am having is that
netStream.seek(0);
from what I can tell it doesn’t do anything, although I get inside a NetStatusEvent function andNetStream.Seek.Notify
is triggered. I’m using NativeProcess and the following function is this makes any difference.public function ProgressEventOutputHandler(e:ProgressEvent):void {
videoByteArray = new ByteArray();
nativeProcess.standardOutput.readBytes(videoByteArray, 0, nativeProcess.standardOutput.bytesAvailable);
netStream.appendBytes(videoByteArray);
}Am I missing something here ? I am pausing netStream before using
netStream.seek(0);
.EDIT :
In an attempt to fix this issue I followed the instructions by VC.One I’ve done the following :
-
Moved
videoByteArray = new ByteArray();
to my init function and also createdtempVideoByteArray = new ByteArray();
in this function. -
Update my ProgressEventOutputHandler function so that it no longer created a new ByteArray for videoByteArray and changed this line -
nativeProcess.standardOutput.readBytes(videoByteArray, videoByteArray.length, nativeProcess.standardOutput.bytesAvailable);
I have changed nothing else and now the video will not load. If I allow a new ByteArray to be created inside the ProgressEventOutputHandler function the video does load again.
-
-
configure : update copyright year
1er janvier, par Lynne -
avformat/seek : Remove always true condition
24 janvier, par Zhao Zhili