verbb / vizy

A flexible visual editor for Craft CMS
Other
43 stars 8 forks source link

Iframe's don't generate src on front-end render #219

Closed DowleyDeveloped closed 1 year ago

DowleyDeveloped commented 1 year ago

Describe the bug

Within the CMS, if I add a Spotify Url into the iframe, I get a render popup.

<iframe url="https://open.spotify.com/embed/playlist/37i9dQZF1EM5oL6QIRd0Sa?utm_source=generator" src="https://open.spotify.com/embed/playlist/37i9dQZF1EM5oL6QIRd0Sa?utm_source=generator" frameborder="0"></iframe>

However on the front-end the html is renders as <iframe url="https://open.spotify.com/embed/playlist/37i9dQZF1EM5oL6QIRd0Sa?utm_source=generator" frameborder="0"></iframe>

So without a src it does not load.

Steps to reproduce

  1. Add Spotify Embed Url into Iframe
  2. View on front-end

Craft CMS version

4.4.7.1

Plugin version

2.1.3

Multi-site?

No

Additional context

No response

engram-design commented 1 year ago

Fixed for the next release. To get this early, run composer require verbb/vizy:"dev-craft-4 as 2.1.3"

engram-design commented 1 year ago

Should be fixed in 2.1.4