0

What is wrong with this PHP code?

I was trying to put link inside variables and call it inside echo: <?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>'; ?> I allso tried: <?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>'; ?> But none of them play video while executing the code.

16th May 2020, 1:04 PM
Ashish Sah
Ashish Sah - avatar
1 Respuesta
16th May 2020, 4:52 PM
niranjan
niranjan - avatar