i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
727 stars 52 forks source link

Error in embed youtube videos #205

Open MALLER-LAGOON opened 9 years ago

MALLER-LAGOON commented 9 years ago

thats right. in this page: http://cine.batanga.com/7699/actores-que-hacen-lo-mismo-en-todas-las-peliculas in the normal mode looks fine: freshplayer1

but, when go to fullscreen mode, it looks like this: freshplayer2 freshplayer3

i don't know which exact commit beggins with this error, but i'll try to search for it latter. and it is specific to the embed videos. if i try to do the same directly in youtube.com site, the video plays just fine.

to appear the videos you need to clic in the arrow located in the right-bottom part of the frame: freshplayer4

this are some console messages:

libva info: VA-API version 0.37.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so libva info: Found init function __vaDriverInit_0_32 libva info: va_openDriver() returns 0

NOT SANDBOXED [fresh 5662] not implemented: PPB_OpenGLES2VertexArrayObject;1.0 [fresh 5662] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0 [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing console.error: ignotifier: blue [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing [fresh] [warning] ppb_graphics3d_create, some of GLX_ARB_create_context, GLX_ARB_create_context_profile, GLX_EXT_create_context_es2_profile missing SystemMessageCache: init

and i found a similar issue in the youporn player.

i-rinat commented 9 years ago

Recently (in 491b5b47c742b56105a18519420f0ed58bf36ac9) there were changes on the way fullscreen is handled.

Various window managers use different fullscreen sequences, and freshwrapper used to use heuristics to determine when transition is over. PepperFlash only honors first size of window, and if it was 200x200, for example, one got black screen with 200x200 video in top left corner. In the patch mentioned above behavior is changed to simple wait for about 300 ms.

So it should be fine now. Could you check again?

MALLER-LAGOON commented 9 years ago

i upgraded the freshplugin, and the error is still there. :/

i-rinat commented 9 years ago

Odd thing is that rectangle which have video, is of size about 854 by 478, which is the video resolution of 480p stream on youtube.

Do you have WITH_GLES2=0? Do you have hardware accelerated decoding enabled?

MALLER-LAGOON commented 9 years ago

nop, i don't have WITH_GLES2=0 or acelerated decoding enabled. i don't have a freshwrapper.conf file either.

i-rinat commented 8 years ago

I didn't come up with a new idea about why this is happening.