How to load youtube video url in jw player in cakephp
How to load youtube video url in jw player:
1) If you want to load the youtube video in the jw player then first go to the view file where you have put the jw player.
2) After go to the view file add the following lines.
$width = 100;
$height = 100;
$youtube_url = ‘www.youtube.com/watch?v=nO9oSQhRa9s‘;
‘width’ => $width,
‘height’ => $height
3) after add the above lines in view file run the jw player then play youtube video in jw player.