![]()  | 
	
| 
		 
			 
			#1  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
			
			 
				
				addVideo problems
			 
			
			
			When I enter CODE 
		
		
		
		
		
		
		
		
	
	Quote: 
	
  | 
| 
		 
			 
			#2  
			
			
			
			
			
		 
		
	 | 
|||
		
		
  | 
|||
| 
		
	
		
		
		
		 
			
			That file does not have audio and since it is not playing in loop mode you may not notice that it plays for a few seconds when the script begins. In the following the video will also play when the spacebar is pressed: 
		
		
		
		
		
		
		
		
	
	Code: 
	import viz
viz.go()
object = viz.add('cylinder.wrl',pos=[0,1.5,1])
video = viz.addVideo('mona.mpg')
video.rate(.5)
object.texture(video)
video.play() 
vizact.onkeydown(' ',video.play)
 | 
![]()  | 
	
	
		
  | 
	
		
  | 
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Transition Problems | djones1010 | Vizard | 1 | 03-30-2009 01:31 PM | 
| Problems loading WRL file | DrunkenBrit | Vizard | 2 | 01-29-2009 01:58 AM | 
| Viz PPT 1 problems | Adam | Vizard | 3 | 08-30-2005 11:54 AM | 
| Viz PPT 1 problems | Adam | Precision Position Tracker (PPT) | 3 | 08-30-2005 11:51 AM | 
| Problems with lighting in 2.0 | murm | Vizard | 6 | 04-21-2004 10:59 AM |