Rotate iframe node content by 90 degrees?

Hi,

I have embedded a web page to dashboard utilizing "node-red-node-ui-iframe". Embedded page is stream from camera and needs to be rotated 90 degrees. What is easiest way to pass style="transform:rotate(90deg)" to iframe tag? And no I cannot change camera stream itself, camera or streaming server is not under my control so I cannot modify that.

Tero

.nr-dashboard-ui_iframe * iframe{
        transform: rotate(90deg);
}
2 Likes