Probleme to view full screen video | developer.brewmp.com Probleme to view full screen video | developer.brewmp.com

Developer

Probleme to view full screen video

Forums:

hi,

 I can't play fullscreen videos

If any one know how to play it then Please Help me.

many many thanks in advance.

It depends on the underlying chipset support.

It depends on the underlying chipset support.

thanks for giving response to me.
but sir i want to play my vidio in fullscreen mod and LANDSCAP screen ORIENTATION MOD
Please help me sir,
i am using following code for playing my video
 
    AEERect rect;    int32 param;   const char * pszFile ="pizzahut.3gp" ;    FREEIF(pMe->pszMediaFile);    pMe->pszMediaFile=(char*)MALLOC(STRLEN(pszFile));    MEMSET(pMe->pszMediaFile,0,STRLEN(pMe->pszMediaFile));    STRCPY(pMe->pszMediaFile,pszFile);    if (!pMe->pszMediaFile)      return;    pMe->md.clsData = MMD_FILE_NAME;    pMe->md.pData = (void *) pMe->pszMediaFile;    pMe->md.dwSize = 0;//(uint32) STRLEN(pMe->pszMediaFile);    if(SUCCESS!=(ISHELL_CreateInstance(GET_ISHELL(), AEECLSID_MEDIAUTIL, (void **)&pMe->pMediaUtil )))    {        DBGPRINTF("ISHELL_CreateInstance: ");        return;    }    IMEDIAUTIL_CreateMedia( pMe->pMediaUtil,&pMe->md,&pMe->pMedia );    if(!pMe->pMedia)    {        DBGPRINTF_FATAL("error, cant create media");    }    IMEDIAUTIL_Release(pMe->pMediaUtil);    IMedia_RegisterNotify( pMe->pMedia, (PFNMEDIANOTIFY)Media_Callback, (void *) pMe );    DBGPRINTF("IMedia_RegisterNotify:");    IMedia_GetTotalTime( pMe->pMedia );    DBGPRINTF("IMedia_GetTotalTime:");    IMedia_SetVolume( pMe->pMedia, 100 );    DBGPRINTF("IMedia_SetVolume:");    IMedia_GetMediaParm(pMe->pMedia, MM_PARM_CLSID, &param, NULL);    DBGPRINTF("IMedia_GetMediaParm:");    if (param == AEECLSID_MEDIAMPEG4)    {        DBGPRINTF("MEDIAMPEG4");    }    SETAEERECT(&rect,0,0,240,320);    IMedia_SetRect( pMe->pMedia, &rect, NULL );    IMedia_Play( pMe->pMedia );
 
 
 

thanks for giving response to me.
but sir i want to play my vidio in fullscreen mod and LANDSCAP screen ORIENTATION MOD
Please help me sir,
i am using following code for playing my video
 
    AEERect rect;    int32 param;   const char * pszFile ="pizzahut.3gp" ;    FREEIF(pMe->pszMediaFile);    pMe->pszMediaFile=(char*)MALLOC(STRLEN(pszFile));    MEMSET(pMe->pszMediaFile,0,STRLEN(pMe->pszMediaFile));    STRCPY(pMe->pszMediaFile,pszFile);    if (!pMe->pszMediaFile)      return;    pMe->md.clsData = MMD_FILE_NAME;    pMe->md.pData = (void *) pMe->pszMediaFile;    pMe->md.dwSize = 0;//(uint32) STRLEN(pMe->pszMediaFile);    if(SUCCESS!=(ISHELL_CreateInstance(GET_ISHELL(), AEECLSID_MEDIAUTIL, (void **)&pMe->pMediaUtil )))    {        DBGPRINTF("ISHELL_CreateInstance: ");        return;    }    IMEDIAUTIL_CreateMedia( pMe->pMediaUtil,&pMe->md,&pMe->pMedia );    if(!pMe->pMedia)    {        DBGPRINTF_FATAL("error, cant create media");    }    IMEDIAUTIL_Release(pMe->pMediaUtil);    IMedia_RegisterNotify( pMe->pMedia, (PFNMEDIANOTIFY)Media_Callback, (void *) pMe );    DBGPRINTF("IMedia_RegisterNotify:");    IMedia_GetTotalTime( pMe->pMedia );    DBGPRINTF("IMedia_GetTotalTime:");    IMedia_SetVolume( pMe->pMedia, 100 );    DBGPRINTF("IMedia_SetVolume:");    IMedia_GetMediaParm(pMe->pMedia, MM_PARM_CLSID, &param, NULL);    DBGPRINTF("IMedia_GetMediaParm:");    if (param == AEECLSID_MEDIAMPEG4)    {        DBGPRINTF("MEDIAMPEG4");    }    SETAEERECT(&rect,0,0,240,320);    IMedia_SetRect( pMe->pMedia, &rect, NULL );    IMedia_Play( pMe->pMedia );