I have web running youtube videos by fetching them through an asp script the page where videos titles and icons use to display have a value of <% =strFileName %> but when some one click a video to play it, it use to open in a new window and this new page only load the video id and then play the video Now i want to set that when a user click a video to play then this new page automatically set this page Title to Video Name by fetching value of <% =strFileName %> from the main page of that video can any one help me with this ? or anyone can suggest me best ?
Thanks for ur replys But it didnt solve my problem i have codes which use to display youtube videos on my index page, and when user click a video it use to open on video player page by this code line <a target="_blank" href="video.asp?v=<% =strVideoID %>"> and the next page open with url http://www.myweb.com/video.asp?v=<real Video id of youtube> real video id= youtube video id now i actually want to use some codes which can set this http://www.myweb.com/video.asp?v=<real Video id of youtube> page title by fetching the Video name of this video id from my indexed page indexed page is using strings to get video name by following codes strFileName = mid(strFileNameStart, 13, iFileNameEnd+13) and placing it with video by using <% =strFileName %> on indexed page but didnt submiting on video player page
I don't understand the problem... do you have the video file name in a variable or in the db or anywhere else? Just retrieve the title before the title tag and put in the title tag: If you pass only the videoID and u have title name stored in the db, just select it in the video page by the videoID.
pass the strFileName value through query string to new window <A href="yoursitename.com/newpagename.asp?titlevalue=strFileName"> and then display it by using <title><% =request.querystring("titlevalue") %></title>
Instead of <a target="_blank" href="video.asp?v=<% =strVideoID %>"> Set the strVideoID = "video.asp?v=" + strVideoID Then use <a target="_blank" href=<% =strVideoID %>>Link Title</a>