javascript - Google chrome - playing a file from local storage is not working -



javascript - Google chrome - playing a file from local storage is not working -

i need play video file in local kiosk. has windows 8.1 64-bit, google canary/chrome latest version. have same problem latest google chrome/canary versions not playing files local storage. if play cloud have bandwidth issue+ there no net access kiosk.

step 1 : allow 0 restrictions

"c:\program files (x86)\google\chrome\application\chrome.exe" --incognito --allow-file-access-from-files --disable-web-security

step 2:

now open remote url https://stackoverflow.com/test.html, trying play video file located in users pc, c:\loop.webm

example: test.html

<video id="mediaplayer" autoplay="autoplay" poster="/images/vlc.jpg" type="video/webm" loop="" src="file:///c:/loop.webm" style="display: inline;"></video>

result:

the page @ 'https://....mysite.com/test.html' loaded on https, displayed insecure content 'file:///c:/loop.mp4': content should loaded on https.

gives no error, not read file, play file @ all.

how can play file in case?

the error telling what's wrong! c:\ drive doesn't have https certificate - can't - website using has one. chrome doing protect user's security. if want load video file c:\ drive, need on non-https website.

edit: plugin appears work-around: https://chrome.google.com/extensions/detail/jllpkdkcdjndhggodimiphkghogcpida

javascript windows html5 google-chrome html5-video

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -