Forum

Support is provided free and on a “best endeavours” basis. This is usually daylight hours, UK time, Monday to Friday. At the time of this screen being refreshed it was Saturday 10:00am in the UK.

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
AuthorTopic: JavaScript issues
sciamannik-
oo
Newbie
Posts: 1
Permalink
Post JavaScript issues
on: July 19, 2012, 21:36
Quote

Hello.
I'm facing a big issue with the plugin (in a sidebar) when logged in WordPress (yes, when I'm not logged in, I don't get the issue).
Here's the URL: http://progettoanike.org (third column)
The site doesn't completely load (as a logged WP user, for instance, instead of the admin bar on the top, I see a blank space) and get stuck (I can't even scroll down the page).
Chrome's JavaScript console shows the following errors:
Unsafe JavaScript attempt to access frame with URL http://progettoanike.org/ from frame with URL http://www.youtube.com/embed/tAkriZO1veA?fs=1&rel=0&iv_load_policy=3&title=L%C3%A0+ou+r%C3%A9sonnent+les+tambours+il+y+a+la+paix+-+progettoanik%C3%A9+-+Tamtando&wmode=window. Domains, protocols and ports must match.
Unsafe JavaScript attempt to access frame with URL http://progettoanike.org/ from frame with URL http://www.youtube.com/embed/7jDEAI8VLww?fs=1&rel=0&iv_load_policy=3&title=orchestranik%C3%A9+-+progettoanik%C3%A9%2C+Tamtando&wmode=window. Domains, protocols and ports must match.
Unsafe JavaScript attempt to access frame with URL http://progettoanike.org/ from frame with URL http://www.youtube.com/embed/wPEG8vST0b4?fs=1&rel=0&iv_load_policy=3&title=atelier+di+pittura+con+Elvis+Aristo+-+progettoanik%C3%A9+-+Tamtando&wmode=window. Domains, protocols and ports must match.
Unsafe JavaScript attempt to access frame with URL http://progettoanike.org/ from frame with URL http://www.youtube.com/embed/5Us7iKeCKPI?fs=1&rel=0&iv_load_policy=3&title=Centre+i+dans%C3%A8+-+Tante+mani+per...+-+progettoanik%C3%A9+-+Tamtando&wmode=window. Domains, protocols and ports must match.
I've googled a bit and it seems that this is a common issue with Chrome as mentioned here: http://stackoverflow.com/questions/6346176/youtube-embed-unsafe-javascript-attempt-to-access-frame
However, the issue shouldn't break the site, since is related to the iframe contents, but in my case, when logged in WP, the site does get broken.
I've tried to select OBJECT instead of IFRAME on the default profile (the only profile I'm using right now), but nothing changed.
Then I've tried several combinations of settings (player type, embedding mode, etc.), but apparently nothing helps solving the issue.
Bottom line is that to test the site I just need to use a different browser where I'm not logged in WP, or browse in private mode.
However, I believe there is some bug in the plugin that makes the site breaks when users are logged in (that fortunately will never happen in this specific site, except for me and contributors).

David-
Artiss
Administrator
Posts: 553
Permalink
Post Re: JavaScript issues
on: July 20, 2012, 07:25
Quote

Ok. Looking at the page source I can see that the output my plugin generates has been modified - it should have some comments around it and that's missing. That suggests to me that you have some kind of caching plugin, or equivalent, which strips out comments, etc. Often these don't run when you're signed in, so may be a cause.

The only thing my plugin does differently if you're signed in is to add a new option to the Admin Bar. However, that wouldn't load a portion of the page and then stop if that failed. Changes are it's another plugin interfering - I bet (I don't know if you can do this) if you switched off all plugins except YouTube Embed that it would work.

Do you have WP Debug active? Is that showing anything?

Unfortunately, without being able to experience the issue myself, I'm a bit stuck for assisting with this.

David.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.018 seconds.
Loading Facebook Comments ...

2 Thoughts on “Forum

  1. Pingback: Artiss YouTube Embed » WordPress AddOns

  2. Pingback: Artiss YouTube Embed | Best Plugins - wordpress – widgets – plugin

2 Pings/Trackbacks for "Forum"
  1. [...] Although this document contains a lot of information more is available from a series of linked pages, plus as much information as possible is provided on the various administration pages. Whilst on the administration pages, click on the “Help” button in the top right for some useful tips and links. If anything isn’t covered and you’re unsure of what it does please ask on the forum. [...]

  2. Artiss YouTube Embed | Best Plugins - wordpress – widgets – plugin says:

    [...] Although this document contains a lot of information more is available from a series of linked pages, plus as much information as possible is provided on the various administration pages. Whilst on the administration pages, click on the “Help” button in the top right for some useful tips and links. If anything isn’t covered and you’re unsure of what it does please ask on the forum. [...]

Top
%d bloggers like this: