MobileChromeApps / mobile-chrome-apps

Chrome apps on Android and iOS
BSD 3-Clause "New" or "Revised" License
2.5k stars 347 forks source link

Can not modify CSP on android #601

Closed nghia1986 closed 8 years ago

nghia1986 commented 8 years ago

The CSP for media source is always media-src * event I changed it by adding meta tag to html file like below <meta http-equiv="Content-Security-Policy" content="media-src * data: blob: filesystem: mediastream:;" >

Then I can not load hls on video tag since the policy is not accept blob.

nghia1986 commented 8 years ago

csp can be changed by adding to manifest.mobile.json example: "csp": "default-src 'self' blob: file:'"