I am trying to show some video files in an Iframe for our company web site. Whenever the user clicks on a video link it will be shown inside an Iframe. I used a Javascript file to perform this action. If I host my videos on you tube, you tube show the title of video.But the javascript I used only change the content of the iframe. I need to show the title of the video files somewhere above the Iframe.
The javascript file I use is this :
<script type=text/javascript>
function ChangeVideoUrl(url)
{
document.getElementById(video_iframe).src = url;
}
</script>
and in I wrote this :
<a class=links href=JavaScript:ChangeVideoUrl('https://..something.');> text</a>
Any Ideas?