react-360 中的 setLoop 不起作用
作者: Rolthar创建于 2018年10月22日更新于 2020年10月12日
I am trying to add an event for when my 360 video is completed so I can redirect the user somewhere else. To accomplish this, I need to set my video to not loop and add an event handler for this. The video should be set to not loop as stated in the documentation. However, when I use setLoop(false). The player doesn't seem to get effected and the video loops anyway. Here is my full code:
内容来源: facebookarchive/react-360