ClojureScript + React-Native - Embed Videos

前端 未结 2 1200
遇见更好的自我
遇见更好的自我 2021-01-24 23:38

I am new to ClojureScript. I would like to embed video (Youtube) to the hybrid mobile app using ClojureScript and React Native. I have tried to implement react-native-vi

2条回答
  •  感情败类
    2021-01-25 00:27

    Without knowing what error you're getting and which setup you have, try calling the modules like this instead:

    (def Video (aget (js/require "react-native-video") "default"))
    

提交回复
热议问题