Vimeo and Youtube API play issue
-
Hello! I’m using your plugin since I saw your talk at WordCamp Verona some years ago.
I have an issue right now that happens only if Headers Security Advanced & HSTS WP is active.
In this page there are 3 video players activated by click – one is an html video that works fine – the others are a Vimeo and YouTube embed made using their relative APIs.
When your plugin is active the play function for Vimeo gets this error:player.js:2 Uncaught (in promise) NotAllowedError: play() failed because the user didn't interact with the document first.
and for YouTube:
Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://www.youtube.com') does not match the recipient window's origin ('https://blanktheme.paperplanefactory.com').
q.sendMessage @ www-widgetapi.js:1186
q.zc @ www-widgetapi.js:1183
setInterval (asinc)
rj @ www-widgetapi.js:689
qq @ www-widgetapi.js:1184
oq @ www-widgetapi.js:1167
xq @ www-widgetapi.js:1202
(anonimo) @ wpo-minify-footer-201a11e3.min.js:26
dispatch @ wpo-minify-header-19210396.min.js:2
y.handle @ wpo-minify-header-19210396.min.js:2When your plugin is inactive it works fine.
Is there any workaround to fix this?The page I need help with: [log in to see the link]
- The topic ‘Vimeo and Youtube API play issue’ is closed to new replies.