Page 1 of 1

Movie on multiple screens

Posted: Mon Sep 02, 2024 10:58 pm
by k3pto
My application shows a movie on three screens. In order to ensure that the sound is synchronized at all three locations I execute the following sequence of instructions for each monitor:

Code: Select all

	Movie_nID = LoadMovie ( #PB_Any, FileName )
	MovieAudio (Movie_nID , volume, 0 )
	ResizeMovie (Movie_nID , 0, 0, Monitor_ndx, Monitor_ndy )
	PlayMovie (Movie_nID , Movie_nWindow )
	Delay(DelayTime)
	PauseMovie (Movie_nID )
When all three are done the above I then execute the following:

Code: Select all

	ResumeMovie (Movie_1ID)
	ResumeMovie (Movie_2ID)
	ResumeMovie (Movie_3ID)
This works fine on my home computer (about 8 years old) with DelayTime = 0. However, when I try it on my work computer which is newer (about 4 years old) and faster and more memory, I have to make DelayTime = 150 or the system hangs up and I can only terminate the program using Task Manager.

( sorry if this is a duplicate, I thought I entered it last week but I do not see it in the list )


Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)

Re: Movie on multiple screens

Posted: Tue Sep 03, 2024 8:39 am
by BarryG
This is not a bug (again). It's a coding question. Your other post is here -> viewtopic.php?t=85222