I am using an video embed code (Similar to youtube's embed code) and I would like to Encrypt or hash a part of the code (The Video id or filename of the video). It is important to me that a user that views the source code of the page wont be able to view those items. Is there a way I can do so? Any recommendation?
I'd add that my site is using php.
For example, here is an youtube embed code:
<object width="420" height="315"><param name="movie" value="http://www.youtube.com/v/fRgWBN8yt_E?hl=en_US&version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/fRgWBN8yt_E?hl=en_US&version=3" type="application/x-shockwave-flash" width="420" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object>
Lets say I would want to change the part:
value="http://www.youtube.com/v/fRgWBN8yt_E?hl=en_US&version=3">
Into:
value="sdfj8435437fjdfs8458543(Some Kind of hashing or encryption)">
Thanks,
Nimi