/ Published in: PHP
Requires youtube-dl to be in the directory.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function serveFile( $file ){ $output = ''; $prep = `cd /Applications/XAMPP/xamppfiles/htdocs/download`; { $buffer = $myLine; echo $myLine; $output .= $buffer."...\n"; } return $output; }