Hi anybody please help me to find out what is the problem with my code.I placed vimeo video in my site and it is working clearly in firefox and all. but not in IE. It showing the error. Error: Permission denied for <http://player.vimeo.com> to call method Location.toString. My site link is http://www.thecommercialutilitybrokers.co.uk/ I used below function for getting vemio id from its url. function _GetVimeoIdFromUrl($url) { if ( preg_match("/vimeo\.com\/[0-9]+/i", $url) ) { list($domain, $video_id) = split(".com/", $url); $video_ids = explode("[",esc_attr($video_id)); $id = $video_ids[0]; return $id; } } And below function for embedding its code. function EmbedVimeo($videoid,$width = 320,$height = 350) { $videoid = $this->_GetVimeoIdFromUrl($videoid); return '<iframe src="http://player.vimeo.com/video/'.$videoid.'?title=0&byline=0&portrait=0&color=b09f84" width="'.$width.'" height="'.$height.'" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><p>'; } And i'm calling function using <div id="innervideos"><?php echo $ytube->EmbedVimeo(''.$url.'','462','328');?></div> pls any one help me to clear this issue soon... Thanks in advance..
Hi luckyguy, First of all thanx for your reply, I had checked in all IE versions bro. Including IE7,IE8.