Controlling the Video Controller Plugin

This tutorial describes how to control the video controller plugin.

Purpose

The purpose of this tutorial is to show you how to control the video controller plugin.

Required Background

The Video Client Overview introduces the video client utilities.

Introduction

The video player utility is used to open, play, and obtain information from sampled video data. This functionality is implemented by the CVideoPlayerUtility class. The video data can be supplied either in a file, a descriptor or a URL.

Using Video Controller Plugin

The following tasks will be covered in this tutorial:

Getting the Progress of Video Clip Loading/Rebuffering

The high level steps to get the progress of video clip loading/rebuffering are shown here:

  • To get the progress of video clip loading/rebuffering, use the CVideoPlayerUtility::GetVideoLoadingProgressL() function.

    TInt percentage;
    percentage = iVideoPlayer->GetVideoLoadingProgressL() \\Returns the progress, as a percentage of video loading.

Using Custom Commands

Custom commands are used to pass the message directly to the controller plug-in instead of going through APIs such as Play(), Record(), and so on.