I have scoured google with this question and read through many articles, tutorials, PHP guides and other peoples questions. But not a single solution has worked for me so far. I know it must be something simple.
This is my code:
<?php
$random=array_rand("http://www.mentor-distribution.com/media/gmaster_header.mp4", "http://www.mentor-distribution.com/media/hs_freedom_chair.mp4");
?>
<html>
<body>
<iframe width="320" height="187" frameborder="0" src="<?php echo htmlspecialchars($random); ?>"></iframe>
</body>
</html>
But this is how it appears on inspect element: Chrome's inspect element output
Any help will be greatly appreciated.