Video Live Wallpaper Screen Scrolling
<p>I'm creating live wallpaper that play video loop. I'm using MediaPlayer class on Android SDK. 
The following code shows live wallpaper Engine.onCreate() method:</p>

<pre><code>public void onCreate(SurfaceHolder holder) {
        super.onCreate(holder);

        holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
        mp = new MediaPlayer();
        final MySurfaceHolder mySurfaceHolder = new MySurfaceHolder(holder);    

        mp.setDisplay(mySurfaceHolder);

        mp.setOnPreparedListener(new OnPreparedListener() {
            @Override
            public void onPrepared(MediaPlayer mp) {
                mp.start();
            }
        });
        try {
            mp.setDataSource(filePath);
            mp.setLooping(true);
        } catch (Exception e) {
            Log.e(TAG, "error");
            e.printStackTrace();
        }
        mp.setOnCompletionListener(new OnCompletionListener() {
            @Override
            public void onCompletion(MediaPlayer mp) {
                if(mp.isPlaying())
                    mp.stop();
            }
        });
    }
</code></pre>

<p>I need to make the size of surface larger than screen width to scroll the video like other live wallpapers.</p>

<p>Your help guys is appreciated.</p>
