Hi, I am new to FLV, and am having difficulty working out a few things about playing the FLV (for player 8).
-
Is there a way to prevent the black box appearing at the start and end of my video clip? It looks nasty. ( I have a white page… even white would look OK, but black is bad).
-
To try to get around this, I have been trying to send my playhead to a point near the start once the video is all but over (before it goes black). However, I can’t get it to go to the cue point… I can test for a cuepoint, but not sure how to navigate to it… It just keeps going to the very start, including the black!
Answer to these above questions greatly appreciated!
Here’s my code:
[COLOR=gray]var my_flvPb:mx.video.FLVPlayback;
var listenerObject:Object = new Object();
listenerObject.cuePoint = function(eventObject:Object) {
if (eventObject.info.name == “End”) {
// go back to previous cuepoint from current time
my_flvPb.seekToPrevNavCuePoint(eventObject.info.time);
//my_flvPb.pause();
}[/COLOR]
[COLOR=gray]};
my_flvPb.addEventListener(“cuePoint”,listenerObject);[/COLOR]
[COLOR=black]Thanks[/COLOR]
[COLOR=black]Geoff[/COLOR]