I keep getting this error: Not allowed to load local resource

38
May 23, 2019, at 05:50 AM

I have created my own local media server with html and I'm trying to access these files that are located on a different drive than to that of the website but it keeps outputting that same error:

Not allowed to load local resource

I have tried creating an alias to give access to the files that way as it worked for me before but it isn't working now. I'm using ampps to host the local server of an old desktop.

<div id="select_box">
  <div id="box1" onclick="VidFileTree('../../Videos/')"><p id="box1_txt" >Page 1</p></div>
  <div id="box2" onclick="VidFileTree('E:/Videos1/')"><p id="box2_txt" >Page 2</p></div>
</div>
READ ALSO
In a fully javascript web stack, how can floating point errors be avoided when converting from a currency source in decimal?

In a fully javascript web stack, how can floating point errors be avoided when converting from a currency source in decimal?

I had to design a money-handling application recently that was fully in javascript, expressjs, REST apis, the full node/browser js stack

58
Uncaught (in promise) Error on dispatching action after loading recaptcha value

Uncaught (in promise) Error on dispatching action after loading recaptcha value

I have a contact us page in my reactjs project and i use redux and store for managing states in my form i add react-google-recaptcha componenti have signed up in google recaptcha and all things are fine

44
How can I load a new html page and use an element obtained by onclick of a dynamic object?

How can I load a new html page and use an element obtained by onclick of a dynamic object?

so on my indexhtml page i have dynamic objects created by using appendChild and each one of them has an onclick function

59
How to convert a function into a Pipe Function

How to convert a function into a Pipe Function

I have a function that I am trying to convert into a pipe function but I am still unsure after reading the documentation on angular's website

56