Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Playing a Vimeo video does not seem to work over https. I think I've narrowed down the issue and I've fixed it locally, but I don't see a github repo that I can commit the fix to.
But basically, in vimeo.js at line 46, you have the line:
this.baseUrl = (document.location.protocol == 'http:')? 'https://secure.vimeo.com/video/' : 'http://player.vimeo.com/video/';
but as per W3Schools specs, location.protocol must contain a colon. So the check should actually be:
(document.location.protocol == 'https:').
Also, secure.vimeo.com just 301 redirects to player.vimeo.com, so I ultimately just changed the entire line to:
this.baseUrl = document.location.protocol + '//player.vimeo.com/video/';
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Vimeo not playing over https
Playing a Vimeo video does not seem to work over https. I think I've narrowed down the issue and I've fixed it locally, but I don't see a github repo that I can commit the fix to.
But basically, in vimeo.js at line 46, you have the line:
but as per W3Schools specs, location.protocol must contain a colon. So the check should actually be:
Also, secure.vimeo.com just 301 redirects to player.vimeo.com, so I ultimately just changed the entire line to:
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.