Text

Unable to show the myscript-text-web in html

I am attaching the code. Please check. This is not working. Nothing is showing.


I am planning to integrate this in web html page.



Hi Ganesh,


It seems that the path for webcomponents is incorrect. So you should adjust the path to the location where you installed it.


Best regards,


Gwenaëlle

Dear Ganesh,


I removed your code as you had inserted your keys into the code snippet, and your keys are personal and should be kept private.


If you are starting a new Web project, we recommand you to use myScriptJS that is the core of the MyScript browser technology and will allow you high integration flexibility.


Though, if you'd rather use the myscript-text-web component, you should carefully follow the get started page that will give you the step-by-step installation procedure.
Following this procedure, your code worked by only adjusting the path:

<script type="module" src="./node_modules/myscript-text-web/myscript-text-web.js"></script>
<script src="./node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>


So full code is in the index.html file.

Please note in developement phase, you might want to disable the hmac . For further information you can refer to this topics



Best regards,


Gwenaëlle

html
(1.74 KB)

I am using electron js.

Here are the error once i updated path.


image