
not working
?>
<video id="clip" width="400" controls>
<source src="/stream.php?token=<?php echo $_SESSION['token']; ?>&file=<?php echo $file; ?>&rand=<?php echo $rand; ?>" type="video/mp4">
Your browser does not support the video tag.
</video>
<?php
when run is working
but
var clip1 ="/stream.php?token=<?php echo $_SESSION['token']; ?>&file=<?php echo $file; ?>&rand=<?php echo $rand; ?> type=video/mp4";
console.log(clip1);
var url='/uploadfile/video/videos_secret_folder8642087/A1.mp4';
jwplayer("myvideo5").setup({
file: clip1,
image: "/asset/images/success.png",
width:640,
height:360,
title:'moslem',
description:'Borhani'
});
not working
what is the problem?