Watched the Productivity Guru youtube video on using iframe in Obsidian, which is where I got the idea from.
Contacted TradingView, the provider of the widget I want to embed, and asked for assistance. Which they did provide, but their solution did not work, either.
What I’m trying to do
I want to embed a stock ticker widget from tradingview.com in my Obsidian notes. Tradingview provides the code for the widget, which I did embed, but it did not work. I tried several modifications of my own, as well as several suggested solutions from Tradingview. None of them worked.
If any of you have any ideas about how I could tweak the following code, I would appreciate it. Now if I can just figure out how to put a code block in this topic…
(a preview button would be nice in this situation).
A very strange iframe code!
You can do this:
1 - go to the page where you define the widget (e.g.: Market Overview Widget — Free and Powerful Tool — TradingView)
2 - define the wanted settings and click in “Apply”
3 - then, in your browser, open the “dev tools” and target the produced widget
4 - there you’ll find the “iframe” code → something like this:
@mnvwvnm: your example worked like a charm. But…I must admit I found the developers tool to be a bit overwhelming, and could not find the proper iframe code in their Ticker widget. I have informed the Tradingview help desk of your solution, and asked them for pointers. In the meantime, I will keep digging through the code…