I wanted to add an html widget to hive post but somehow it never worked. Does anyone has an idea to help ?
This is what it brings :
(html comment removed: TradingView Widget BEGIN )
<div class="tradingview-widget-container">
<div class="tradingview-widget-container__widget"></div>
<div class="tradingview-widget-copyright"><a href="https://www.tradingview.com/markets/futures/" rel="noopener" target="_blank"><span class="blue-text">Commodities</span></a> <span class="blue-text">and</span> <a href="https://www.tradingview.com/markets/currencies/" rel="noopener" target="_blank"><span class="blue-text">Gold-miners favorites list</span></a> by TradingView</div>
<script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-market-overview.js" async>
{
"colorTheme": "light",
"dateRange": "12m",
"showChart": true,
"locale": "en",
"largeChartUrl": "",
"isTransparent": false,
"width": "400",
"height": "660",
"plotLineColorGrowing": "rgba(33, 150, 243, 1)",
"plotLineColorFalling": "rgba(33, 150, 243, 1)",
"gridLineColor": "rgba(240, 243, 250, 1)",
"scaleFontColor": "rgba(120, 123, 134, 1)",
"belowLineFillColorGrowing": "rgba(33, 150, 243, 0.12)",
"belowLineFillColorFalling": "rgba(33, 150, 243, 0.12)",
"symbolActiveColor": "rgba(33, 150, 243, 0.12)",
"tabs": [
{
"title": "Commodities",
"symbols": [
{
"s": "CME_MINI:ES1!",
"d": "E-Mini S&P"
},
{
"s": "CME:6E1!",
"d": "Euro"
},
{
"s": "COMEX:GC1!",
"d": "Gold"
},
{
"s": "NYMEX:CL1!",
"d": "Crude Oil"
},
{
"s": "NYMEX:NG1!",
"d": "Natural Gas"
},
{
"s": "CBOT:ZC1!",
"d": "Corn"
}
],
"originalTitle": "Commodities"
},
{
"title": "Gold-miners favorites list",
"symbols": [
{
"s": "TSX:K",
"d": "Kinross Gold Corp."
},
{
"s": "TSXV:MTA",
"d": "Metalla Royalty"
},
{
"s": "TSX:BTO",
"d": "B2GOLD"
},
{
"s": "TSXV:KNT",
"d": "K92 Mining"
}
],
"originalTitle": "Forex"
}
]
}
</script>
</div>
(html comment removed: TradingView Widget END )
But it was supposed to bring something like that :
I'm quite sure embeds need to be whitelisted. this is for security purposes.
Yep, there is a whitelist for embeds. But just left a comment on this post because in this case it's a bit different. We cannot allow
<script>
tag in the posts.I also tried to add a widget - but this does not work - bad
Hi, thanks for the post. Unfortunately we cannot allow users to embed
<script>
tags into their post because this will generate security risks for other users.So this is not a problem, but a feature to ensure the website is safe for all the visitors 😉