是否可以使用 React-VR 链接到外部图像/视频? [英] Is it possible to link to external images / videos with React-VR?
本文介绍了是否可以使用 React-VR 链接到外部图像/视频?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据文档,似乎没有任何示例使用外部图像或外部视频(即来自 YouTube).
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'}} />
推荐答案
React vr 主页中的MediaPlayerState
MediaPlayerState in react vr home page
这篇关于是否可以使用 React-VR 链接到外部图像/视频?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文