Thread Rating:
  • 13 Vote(s) - 2.85 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[VB] The MCISendString Multimedia Class
#1
The MCISendString Multimedia Class
Version: 1.0
Based upon work by Mark Thesing (July 18, 2002)



Introduction
Permits the loading, playback, and various other actions on a multimedia file.

Since its original creation in 2002, the ability to present video content in a picturebox object has been added. Along with that, more multimedia file extensions are now recognized.

Do note,  the class will only load and play one multimedia file at a time.  In order for a project  to play multiple files,  multiple instances of this class need to be defined.

LOOPING:
Using the MCISendstring system,  there is always a millisecond break as the MCISendstring attempts to loop back  to the start,  even with the built-in repeat function.


Features
  • Supports playback of the following Audio formats:  aiff, amr, flac, m4a, midi, mp2, mp3, wav, wma
  • Supports playback of the following Video formats:  avi, mpg, mpeg, mp4, m4v, asf, wmv
  • Allows custom loop position


Limitations
  • Video footage does not have stretch-to-fit nor any resizing
  • Avi footage 'still' has no audio playback
  • Geared for Visual Basic 6


Code
Code
Or within the actual Class_MSS.cls format:
.zip   Class_MSS.zip (Size: 6.93 KB / Downloads: 7)



Instructions
Plenty... in the code itself.



FAQ
The original code which this was based had no set-up for video playback, no pointing to any hwnd  supported objects.  This was one of the main additions I included



Credits and Thanks
Thanks to Mark Thesing who wrote the base code in 2002



Terms and Conditions
Use as you see fit.  No requirements other than due credit for both Mr. Thesing and myself.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply




Users browsing this thread: 1 Guest(s)