title: res.sendFile("path") is not accepting firebase storage video URL
body: <p>I'm working on the video stream web app like youtube in firebase hosting and storage in nodejs.</p>
  <p>I'm able to host the video player by getting the firebase storage download url location from client side and can play the video. But I don't want my users to see the url by inspecting the web page. For that I made a app.get(&quot;/video/videoID&quot;) in nodejs express and getting the download url server side, and I'm able to get the download URL. But I'm not able to send the URL to my video player. I tried res.sendFile(&quot;URL path&quot;); but it is saying that the &quot;Path should be absolute&quot;. I understand that the path should come from the server local machine.</p>
  <p>Is there any way where I can send the URL to my video source path from server?</p>
  <blockquote>
  <p>HTML file:</p>
  </blockquote>
  <pre><code>&lt;video width=&quot;100%&quot; controls&gt;&lt;source src=&quot;/video/songID&quot; type=&quot;video/mp4&quot;&gt;Your browser does not support HTML video.&lt;/video&gt;
  </code></pre>
  <blockquote>
  <p>Server code:</p>
  </blockquote>
  <pre><code>app.get(&quot;/video/:songKey&quot;, function(req, res, next) {
      var fDb = admin.database();
      var ref = fDb.ref(&quot;videos&quot;);
      ref.orderByKey().equalTo(req.params.songKey).on('child_added', async (snapshot) =&gt; {
          var refPath = snapshot.val().video_ref_path; // This is the firebase storage ref path stored in realtime database
          var storage = admin.storage();
          var songFile = storage.bucket(&quot;&lt;bucket-name&gt;&quot;).file(refPath);
          var [meta] = await songFile.getMetadata();
          var token = meta.metadata.firebaseStorageDownloadTokens;
          var link = `https://firebasestorage.googleapis.com/v0/b/&lt;bucket_name&gt;/o/${encodeURIComponent(
              refPath
            )}?alt=media&amp;token=${token}`
          res.sendFile(link); //This line is giving error saying path needs absolute path
          // If I use res.send(link) call the web location I'm able to get the file URL
      });
  });
  </code></pre>
  <p>Any help with this is appreciated and thankful. <strong>BTW I'm new to nodejs and learning it.</strong></p>
  <p>Thanks in Advance</p>