Hi,
I use filepreviewer plugin and videos can't be viewable because of "mix content" HTTP and HTTPS
Into source code browser I can see :
as you can see the url into "data-video-source="[{source:'" begin with HTTP not with HTTPS
The file used for that is : "_preview_video.html.twig" from "themes/spirit/views/account/partial/"
EDIT : Have another error into console dev browser into the file: "evolution.js" line:240
Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://mysite.org/ea5f3122fac2e129/myfile.mp4' cannot be created in a document with origin 'https://mysite.org' and URL 'https://mysite.org/ea5f3122fac2e129?pt=WlRkbVZHc3ZjWGxSVG5VMGIyWlpibTVMVVdSWVFUMDlPaHhjZzJLUk9SRlhUa3d0eGpaaUN5Zz0='.
at updatePageUrlBar (https://mysite.org/themes/spirit/assets/js/evolution.js:240:20)
at successCallback (https://mysite.org/themes/spirit/assets/js/evolution.js:264:9)
at Object.<anonymous> (https://mysite.org/themes/spirit/assets/js/evolution.js:230:13)
at j (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:2:27136)
at Object.fireWith [as resolveWith] (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:2:27949)
at x (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:4:22244)
at XMLHttpRequest.b (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:4:26298)
Can you fix it please?
Regards
I use filepreviewer plugin and videos can't be viewable because of "mix content" HTTP and HTTPS
Into source code browser I can see :
<li data-thumb-source="https://mysite.org/plugins/filepreviewer/assets/players/ultimate/content/images/thumbnail.jpg" data-poster-source="" data-video-source="[{source:'http://mysite.org/2a738e8e13ee04ea/myfile.mkv?download_token=11514273ef37eeaba7839c08696860081439f74e775dee62b5da392b18c0f1eb', label:'Original'}]" data-start-at-video="0" data-downloadable="yes"></li> |
as you can see the url into "data-video-source="[{source:'" begin with HTTP not with HTTPS
The file used for that is : "_preview_video.html.twig" from "themes/spirit/views/account/partial/"
EDIT : Have another error into console dev browser into the file: "evolution.js" line:240
Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'http://mysite.org/ea5f3122fac2e129/myfile.mp4' cannot be created in a document with origin 'https://mysite.org' and URL 'https://mysite.org/ea5f3122fac2e129?pt=WlRkbVZHc3ZjWGxSVG5VMGIyWlpibTVMVVdSWVFUMDlPaHhjZzJLUk9SRlhUa3d0eGpaaUN5Zz0='.
at updatePageUrlBar (https://mysite.org/themes/spirit/assets/js/evolution.js:240:20)
at successCallback (https://mysite.org/themes/spirit/assets/js/evolution.js:264:9)
at Object.<anonymous> (https://mysite.org/themes/spirit/assets/js/evolution.js:230:13)
at j (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:2:27136)
at Object.fireWith [as resolveWith] (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:2:27949)
at x (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:4:22244)
at XMLHttpRequest.b (https://mysite.org/themes/spirit/assets/js/jquery-1.11.0.min.js:4:26298)
Can you fix it please?
Regards
Last edited: