Digital Media Suite API Forums

« Back to Digital Signs API Forum

DMP4310 and new MediaPlayer object

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi
 
I am delevoping a flash piece for DMP4310 and I use a MediaPlayer object to play a video. I use the following code:
 
var my_mp:MediaPlayer = new Mediaplayer();
my_mp.playVideoToCoordinates(video, false, true, 0,0,1280,720);
 
If I play the resulting swf directly on the DMP or using DMM with this asset in a playlist, it works as expected. The problem is when I add this flash to a playlist with other elements (videos), the playlist starts correctly but when reproduces this flash the screen goes black and the playlist stops, ignoring any duration previously set (the playlist stops).
 
During my test I have discovered the problem is generated when I call new Mediaplayer(), if I remove this line the playlist works but obviously the flash does not. Any ideas how can I use MediaPlayer object without affecting entire playlist?
 
Thanks in advance.