makeAP(projectDir = input$projectDir,
surveyArea=file1$datapath,
useMP = TRUE,
demFn = file2$datapath,
maxFlightTime = input$maxWayPoints,
altFilter = input$altFilter,
followSurface = input$followSurface,
cameraType = input$CameraType ,
followSurfaceRes = input$followSurfaceRes,
horizonFilter = input$horizonFilter,
uavType = "dji_csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.