Hello guys!!! I think I need your help here...
In to my
php code I have add a hidden
textbox by the
id video_url that holds video's source and a
div by the
id video.
<input id="video_url" name="video_url" type="hidden" value="" />
<div id="video"></div>
Now in to my
javascript code I have add something like this...
var Open = String.fromCharCode(123,121,111,117,116,117,98,101,125); // {youtube}
var Close = String.fromCharCode(123,47,121,111,117,116,117,98,101,125); // {/youtube}
var video = document.getElementById("video");
var video_url = document.getElementById("video_url");
...
video.innerHTML = Open+video_url.value+Close;
So, when someone click on an image,
video div comes up with youtube tags in it. Problem is youtube tags and video source they appear just as text!!!
Any idea how I will make it work???
Thank you in advance!!!