Deprecated: Return type of WireData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/christian-wittwer.ch/test.christian-wittwer.ch/wire/core/WireData.php on line 278

Deprecated: Return type of FilenameArray::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/christian-wittwer.ch/test.christian-wittwer.ch/wire/core/FilenameArray.php on line 41

Deprecated: Return type of FilenameArray::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/vhosts/christian-wittwer.ch/test.christian-wittwer.ch/wire/core/FilenameArray.php on line 70
Seite 4 Video

ProcessWire Testseite von Christian Wittwer

Seite 4 Video

Testseite zur Anzeige von Youtube Videos

das Video ist eingefügt gemäss folgender Anleitung :
http://modules.processwire.com/modules/textformatter-video-embed/

1. Modul installieren : kopieren in : /site/modules/TextformatterVideoEmbed.module
2. im Feld, wo Videos angezeigt werden sollen, hier aktivieren:
    Setup > Fields > gewünschtes Feld auswählen  
              > Details : Text Formatter > Video embed for Youtube/Vimeo auswählen -> Save
           ( funktioniert sodann in jedem Textarea-Feld, bei dem dieses Video embed ... eingestellt ist )
3. im php muss das Feld wie ein Textfeld aufgerufen sein :
         z.B.  <p><?=$page->textfeld_video; ?></p>
4. Video-Url aus Youtube in den html-Editor ('Source') kopieren -> Safe - fertig