The site running fine but today the VideoPlayer stops to play on code #w(“siteVideoPlayer”).play().
The Chrome console
Uncaught (in promise) TypeError: Cannot read property ‘play’ of null at VideoPlayer.js:215
www-widgetapi.js:146 Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://www.youtube.com’) does not match the recipient window’s origin (‘https://editor.wix.com’).
Please, how can I figure out the problem origin? I guess it is a update
The fix was deleting and dragging the element again.
My site is not premium. Is it the cause of the issues?
On desktop:
The play() and stop() are generated by code ($w(“#siteVideoPlayer”).play() or .stop(). The ‘getVolume’ is generated when I click on YT play icon. A lot of ‘getVolume’ are shown til end of video.
On mobile works fine (published)
Console log:
Uncaught (in promise) TypeError: Cannot read property ‘stop’ of null
at static.parastorage.com/unpkg/wix-ui-santa@1.0.1845/dist/statics/wixui.VideoPlayer.chunk.js:14100
Uncaught (in promise) TypeError: Cannot read property ‘play’ of null
at static.parastorage.com/unpkg/wix-ui-santa@1.0.1845/dist/statics/wixui.VideoPlayer.chunk.js:14106
Uncaught (in promise) TypeError: Cannot read property ‘getVolume’ of null
at static.parastorage.com/unpkg/wix-ui-santa@1.0.1845/dist/statics/wixui.VideoPlayer.chunk.js:14230
The video element has not been configured correctly.