Code Suggestions
|
|
The header of this script can be:
var vidID = /v=([^#&]+)/.exec(document.URL)[1],
fv = document.getElementById("movie_player").getAttribute("flashvars"),
srcWithT = 'http://'+document.domain+'/get_video?video_id='+vidID+'&t='+/t=([^#&]+)/.exec(fv)[1],
pD = document.getElementById("watch-player-div");
and instead of document.body.appendChild(sGetter); |
|
|
Thanks for the code. I couldn't get it to work though. The |