Digital Media Suite API Forums

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
I wanted to confirm if TVZilla JS APIs are still available in DMP 4400 (firmware 5.2.2).  I have been trying to test out the API to play movies in the DMP, but have been unsuccessful so far.  Sample code is below:
 
    <script type="text/javascript" src="file:///tivella/tvzilla/js/tivella.js" />
    <script type="text/javascript">
            var mediaPlayer; // MediaPlayer object

            showMovie("http://<application_IP>/video/test.mpg");

            function showMovie(movieURL) {
            mediaPlayer = new tvMediaPlayer();
            mediaPlayer.setRightVolume(50);
            mediaPlayer.setLeftVolume(50);
            mediaPlayer.osdSetAlpha(10, 10, 10, 10, 255);
            mediaPlayer.play(movieURL);
            }
      </script>
 
Please advise how I might be able to verify that the JS file is available in the DMP file system.
 
Thanks,
Elaine

On the 4400, the JavaScript API file is located at /tivella/tvzilla/js/tivella.js. It is the same location for every release.