trying to put link in variable and calling it as below(as .html extension):
<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
$link="https://jia666-my.sharepoint.com/:v:/g/personal/s1pxky0tu_xkx_me/EXvt95V1DmRHg9lrqhd5L0ABby8GhL5XC15qXq1tu87zYw?Download=1";
?>
<video controls="" height="640" width="720">
<source src="<?php echo $link ?>" type="video/mp4"></source>
<source src="<?php echo $link ?>" type="video/webm"></source>
Your browser does not support the video tag.
</video>
</body>
</html>
But I'm getting the unexpexted output on chrome browser:
also i try ruining in .php extension with below code:
<?php
$link='"https://jia666-my.sharepoint.com/:v:/g/personal/s1pxky0tu_xkx_me/EXvt95V1DmRHg9lrqhd5L0ABby8GhL5XC15qXq1tu87zYw?Download=1"';
echo '<video controls="" height="640" width="720">
<source src=', $link, 'type="video/mp4"></source>
<source src=', $link, 'type="video/webm"></source>
Your browser does not support the video tag.
</video>
</body>
</html>';
?>
But This Time output on chrome browser was : Your browser does not support the video tag.