ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to show video list in TImageEnMView

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
woolfik Posted - Mar 04 2015 : 15:55:10
I like to show list of video stored in local directory like in attachment. I try to do it like this:

qGaleria.Open;
    qGaleria.First;
    while not qGaleria.Eof do
    begin
      imObrazLista.MIO.LoadFromFile(qGaleria.FieldByName('nazwa').AsString);
      imObrazLista.ImageInfoText[i].Caption := ExtractFileName(qGaleria.FieldByName('nazwa').AsString);
      imObrazLista.ImageID[i] := qGaleria.FieldByName('idx_galerii').AsInteger;
      inc(i);
      qGaleria.Next;
    end;
    imObrazLista.Update;


and this code for image works fine but for video not. Can someone help?


1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Mar 04 2015 : 20:36:11
Hi

Do you mean thumbnails of video files, or the frames within the video file?

Assuming you mean thumbnails, then you should be calling AppendImage to add each file rather than MIO.LoadFromFile which will try to load the content.

Thumbnails for videos are mostly handled by retrieving the thumbnail from Explorer, so if there is no thumb in Explorer you won't get one in ImageEn either.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com