Question
Dynamic Playlist with jpg thumbs
Hi guys,
On the Dynamic Playlist the thumbnails are made by connecting to the video and getting the relevant frame.
I have over 40 videos in my collection and lots of traffic which would mean every client is connecting to 40 videos each time.
I would like to put in my own jpg image into the list instead of a video frame capture.
New to all this so any help would be appreciated.
This is what creates the frame capture
nc = new NetConnection();
nc.onStatus = function( info ) { trace( info.code ); }
nc.connect( url );
ns = new NetStream(nc);
ns.onStatus = function(info) {
if ( info.code == "NetStream.Play.Stop" ) {
nc = null;
ns = null;
}
}
thumb.video.attachVideo(ns);
ns.connect();
ns.play( stream, start, 0 );
but I would like to say thumb.image = "my_image.jpg"; or something.
Any ideas?
On the Dynamic Playlist the thumbnails are made by connecting to the video and getting the relevant frame.
I have over 40 videos in my collection and lots of traffic which would mean every client is connecting to 40 videos each time.
I would like to put in my own jpg image into the list instead of a video frame capture.
New to all this so any help would be appreciated.
This is what creates the frame capture
nc = new NetConnection();
nc.onStatus = function( info ) { trace( info.code ); }
nc.connect( url );
ns = new NetStream(nc);
ns.onStatus = function(info) {
if ( info.code == "NetStream.Play.Stop" ) {
nc = null;
ns = null;
}
}
thumb.video.attachVideo(ns);
ns.connect();
ns.play( stream, start, 0 );
but I would like to say thumb.image = "my_image.jpg"; or something.
Any ideas?
