HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
avcontrol.h File Reference

HbbTV AVComponent object. More...

#include "plugin.h"

Go to the source code of this file.

Functions

S_PLUGINAVControlCreate (NPP instance, E_PluginType type, char *style_str, char *data, S32BIT width, S32BIT height)
 AVControl Create - Create the av control and store in link list. More...
 
void AVControlDestroy (S_PLUGIN *plugin)
 
void AVControlSetStyleObject (S_PLUGIN *plugin)
 
void AVControlSetWindow (S_PLUGIN *plugin, NPWindow *window)
 
void AVControlPaint (S_PLUGIN *plugin, S_HBBTV_REGION *region)
 
void AVControlSetAudioParams (S_PLUGIN *plugin, BOOLEAN cache, S32BIT loop)
 
void AVControl_onPlayStateChange (void *AVControl)
 
void AVControl_onPlayPositionChanged (void *AVControl, U32BIT position)
 
void AVControl_onFullScreenChange (void *AVControl)
 
void AVControl_onSelectedComponentChanged (void *AVControl, HBBTV_JSAVComponent_Type type)
 
void AVControl_onDRMRightsError (void *av_control, U8BIT error_state, void *content_id, void *drm_system_id, void *rights_issuer_url)
 

Detailed Description

HbbTV AVComponent object.

Date
June 2013
Author
Adam Sturtridge

Function Documentation

S_PLUGIN* AVControlCreate ( NPP  instance,
E_PluginType  type,
char *  style_str,
char *  data,
S32BIT  width,
S32BIT  height 
)

AVControl Create - Create the av control and store in link list.


Parameters
instance
type
style_str
datastring containing the URL if set in the HTML tag, NULL otherwise
widthpresentation width if set in the HTML tag, -1 otherwise
heightpresentation height if set in the HTML tag, -1 otherwise
Returns
Pointer to object created