clappr/dash-shaka-playback

SSL Issue locally

katsar0v opened this issue · 3 comments

Already mentioned here: clappr/clappr#1756

But it might be directly connect with dash shaka playback, that's why I wanted to post it here as well:

Browser: Chrome Version 71.0.3578.98 (Official Build) (64-bit)

OS: Ubuntu 18

Clappr Version: 0.3.0

There seems to be an issue with local ssl certificates. I have local videos.localhost.com hostname with self signed certificates. On playing the video, I get this in the console:

Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure resource '<URL>'. This request has been blocked; the content must be served over HTTPS.
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/init-f1-a1-x3.mp4'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/segment-1-f1-a1-x3.m4s'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/init-f1-v1-x3.mp4'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/segment-1-f1-v1-x3.m4s'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/init-f1-a1-x3.mp4'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/init-f1-v1-x3.mp4'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/segment-1-f1-a1-x3.m4s'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ dash-shaka-playback.js:885
xa @ dash-shaka-playback.js:590
next @ dash-shaka-playback.js:591
(anonymous) @ dash-shaka-playback.js:586
ka @ dash-shaka-playback.js:586
p @ dash-shaka-playback.js:586
W.f @ dash-shaka-playback.js:885
W @ dash-shaka-playback.js:884
(anonymous) @ dash-shaka-playback.js:633
fb @ dash-shaka-playback.js:625
(anonymous) @ dash-shaka-playback.js:624
dash-shaka-playback.js:885 Mixed Content: The page at 'https://videos.localhost.com/' was loaded over HTTPS, but requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/segment-1-f1-v1-x3.m4s'. This request has been blocked; the content must be served over HTTPS.

@katsar0v I think your manifest is pointing to http , see requested an insecure resource 'http://videos.localhost.com/dash/devito,360p.mp4,480p.mp4,720p.mp4,.urlset/init-f1-a1-x3.mp4'. This request has been blocked; the content must be served over HTTPS. can you post your manifest here? or can you change it to use https:

this is mostly related to how browser works

Yep, fixed it, no real issuex thanks