M myriaddev Active Member Licensed User Longtime User Jun 23, 2011 #1 Hi. I noticed Initialize2 in MediaPlayer V.1.45 and (docs need updating in HelpViewer) I need a quick example on how to use Initialize2. Great product! Jerry
Hi. I noticed Initialize2 in MediaPlayer V.1.45 and (docs need updating in HelpViewer) I need a quick example on how to use Initialize2. Great product! Jerry
Erel B4X founder Staff member Licensed User Longtime User Jun 23, 2011 #2 If you want to handle the new Complete event then you should use Initialie2. Example: Code: Dim mp as MediaPlayer mp.Initialize2("mp") ... Sub mp_Complete End Sub Upvote 0
If you want to handle the new Complete event then you should use Initialie2. Example: Code: Dim mp as MediaPlayer mp.Initialize2("mp") ... Sub mp_Complete End Sub
M myriaddev Active Member Licensed User Longtime User Jun 23, 2011 #3 Thanks for the Help! Thank you! "Sub mp_Complete" was what I need. It WORKS! Jerry Upvote 0
OlavRossland Member Licensed User Longtime User Dec 28, 2013 #4 Is it possible to create a play-list for Media Player, or is it better to use other players? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 29, 2013 #5 Please start a new thread for this question. Upvote 0
Gary Milne Active Member Licensed User Longtime User Nov 23, 2015 #6 Erel said: If you want to handle the new Complete event then you should use Initialie2. Example: Code: Dim mp as MediaPlayer mp.Initialize2("mp") ... Sub mp_Complete End Sub Click to expand... If anyone is following in my footsteps I just found out that the EventName is case sensitive. The case in the Initialize2 statement must match the case in the start of the Sub. Upvote 0
Erel said: If you want to handle the new Complete event then you should use Initialie2. Example: Code: Dim mp as MediaPlayer mp.Initialize2("mp") ... Sub mp_Complete End Sub Click to expand... If anyone is following in my footsteps I just found out that the EventName is case sensitive. The case in the Initialize2 statement must match the case in the start of the Sub.
Erel B4X founder Staff member Licensed User Longtime User Nov 24, 2015 #7 The EventName parameter is not case sensitive (I've verified it in the source code). Upvote 0