I have this code and this error in FireBug:
Error: Permission denied to access property \'toString\'
How can i fix this error?>
Something is likely wrong with your Iframe url constructor. The error is being thrown in a youtube script that loads in the Iframe. The same error gets thrown with a harcoded html Iframe that isn't dynamically added with your script
HTML version only demo http://jsfiddle.net/Lgt5f/
Double check the url isn't missing a parameter , otherwise I would check youtube support resources