Encrypt the html code in the source view


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&amp;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&amp;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="sdfj8435437fjdfs8458543(Some Kind of hashing or encryption)">



That is completely, fundamentally impossible.

No matter what you do, the user can see the final result in the inspector or network tab.

Instead, you can place a single-use token in the URL so that it will only work once.