https://pixijs.io/examples/#/basics/video.js
This demo only have sound in android WeChat App webview .
WeChat have two model in android use native webview and use itself webview , itself webview is tencent x5-core webview . Default is x5-core webview . The problem is in x5-core webview.
This problem also happen in QQ Browser App.
I'm not sure what PIXI can do about this; it sounds like an issue with the browser / webview implimentation
I think it looks like a compatibility issue . Like IE 6.
这是 X5 浏览器的问题 , 不允许 video 进入到 canvas , 你可以自己去 google 一下 , 我也碰到这个问题了 没辙.
@kelvinlee 我用你的方法在小米5s上测试还是有问题,你把你测试没问题的全部代码能否全部给出来?谢谢!
@kelvinlee 我使用 fromVideo 貌似没测出问题,是我测试机型太少了吗,有什么坑可以探讨下。
huaweiP10的机型也不可以,只有声音没有画面,和用pxi fromurl创建basetexture的效果一样
我觉得像是pixi,js的问题,因为直接用video标签创建出来加上x5那些属性可以在微信上浏览器播放,但是用pixijs就只有声音没有画面
@qianmenglin 不是pixi的问题 就是微信不支持canvas, 你用别的框架 或者原声canvas 也是不出画面的。
This works with canvas: http://www1.pcauto.com.cn/test/gz/testdog/20170001/index.html
Decode video with js:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.