Kagami / mpv.js

:movie_camera: mpv pepper plugin
Creative Commons Zero v1.0 Universal
408 stars 63 forks source link

Can‘t load plugin on windows with electron 4.2.9 #77

Closed FourLeafTec closed 4 years ago

FourLeafTec commented 4 years ago

I run then example on win10 1903(10.0.18363.418),then the page show Could‘t load plugin

Terminal log:

[cplayer] mpv 0.29.1 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       56.19.101
[cplayer]    libavcodec      58.30.100
[cplayer]    libavformat     58.18.100
[cplayer]    libswscale      5.2.100
[cplayer]    libavfilter     7.31.100
[cplayer]    libswresample   3.2.100
[cplayer] ffmpeg version: 4.1+1209.ge320f9576a
[cplayer]
[cplayer] Configuration: ./waf configure --prefix=/usr/x86_64-w64-mingw32/sysroot/mingw --enable-static-build --enable-html-build --disable-manpage-build --enable-libmpv-shared --enable-lua --enable-javascript --enable-libarchive --enable-libass --enable-libbluray --enable-dvdread --enable-dvdnav --enable-uchardet --enable-vulkan --enable-shaderc --enable-rubberband --enable-lcms2 --disable-build-date
[cplayer] List of enabled features: asm atomics cplayer crossc d3d-hwaccel d3d11 d3d9-hwaccel debug-build direct3d dos-paths drmprime dvdnav dvdread dvdread-common ffmpeg gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gnuc gpl iconv javascript jpeg lcms2 libaf libarchive libass libass-osd libav-any libavcodec libavdevice libbluray libm libmpv-shared lua luajit mingw noexecstack optimize plain-gl posix-or-mingw rubberband shaderc shaderc-static static-build stdatomic uchardet vulkan wasapi win32-desktop win32-internal-pthreads win32-pipes zlib
[cplayer] Waiting for scripts...
[libmpv_render] glGetString(GL_VERSION) returned NULL.
[libmpv_render] OpenGL not initialized.

But the mpv.exe play is ok

Maybe is my electrion version is 4.2.9?


With electron 1.8.8 is ok.

Is there any suggestions for electron 4.2.9?

FourLeafTec commented 4 years ago

Resolve by update electron to 5.0.13