Hi,
i am trying to provide a 3rd Party Widget in my Wix Website.
It says in the tutorial to add this into the html head:
<script type="text/javascript"
src="http://www.fussball.de/static/layout/fbde2/egm//js/widget2.js">
</script>
and to make it visible (body):
<div id="widget1"></div>
<script type="text/javascript">
new fussballdeWidgetAPI().showWidget('widget1', '023UP3NC70000000VS541L4GVSEMOAIT');
</script>
Is this even possible to add?
When yes, what is the right way to do?
Thanks for Help!
You can’t embed HTML in a Wix Code page. You might want to consider using an HtmlComponent . For more information, see the article Working with the HTML Component in Wix Code .
For services that provide a REST interface, a more secure way to handle web service requests is by using backend (server-side) code. Using backend code you can secure your passwords, API keys, and other secret information. The article Accessing 3rd Party Services explains how this is done.
I hope this helps,
Yisrael
Thanks for your Reply Yisreal!
I think the Problem with HtmlComponent comes that the js.Link ist not Https. And that a Big Problem isnt it?
cause of this Warning in your second Link… 
Warning:
The site you embed using the instructions above must be a site that has a URL that begins with the HTTPS protocol, and not HTTP. If you try to embed a site with a URL that begins with the HTTP protocol, the site may work in preview mode but it will not work on your published site.
When i paste Code from my first Post into an HtmlComponent. I dont even see anything in preview mode…
Find out from the service provider if they have an https URL. Most do.
A REST interface would be even better if they provide that.