Is it possible to link to external images / videos with React-VR?

一世执手 提交于 2019-12-25 09:03:47

问题


According to the documentation, there doesn't seem to be any examples of using external images or external videos (i.e. from YouTube).

I was wondering if anyone knew if it was possible (like this)

<Video style={{
        width: 3.0,
        height:2.0,
        transform: [{translate: [0, 4, 5]},  {rotateY : 180} ],
        }} source={{uri: 'https://www.youtube.com/watch?v=vPCoxAlfFsw'}} />

回答1:


MediaPlayerState in react vr home page



来源:https://stackoverflow.com/questions/43748706/is-it-possible-to-link-to-external-images-videos-with-react-vr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!