Closed danielbehrendt closed 10 months ago
v3.0.93
v3.0.4
PHP 8.2.11
When using the "Insert Media" function to add an video it gets inserted but after reloading the form there's an error:
Call to undefined method DOMText::getAttribute()
Maybe it's caused by the encoded iframe:
<div data-vimeo-video="" class="responsive"><iframe src="https://player.vimeo.com/video/12345?rel=0&amp;" width="1600" height="900" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" style="aspect-ratio: 16 / 9; width: 100%; height: auto;" data-aspect-width="16" data-aspect-height="9"></iframe></div>
Error should not appear :)
Insert any video by URL from YouTube or Vimeo.
No response
I'm not seeing any errors with the 'insert video' button.
Feel free to reopen if you can provide a reproduction.
Filament Version
v3.0.93
Plugin Version
v3.0.4
PHP Version
PHP 8.2.11
Problem description
When using the "Insert Media" function to add an video it gets inserted but after reloading the form there's an error:
Call to undefined method DOMText::getAttribute()
Maybe it's caused by the encoded iframe:
Expected behavior
Error should not appear :)
Steps to reproduce
Insert any video by URL from YouTube or Vimeo.
Reproduction repository
No response
Relevant log output
No response