<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://de.contaowiki.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://de.contaowiki.org/index.php?action=history&amp;feed=atom&amp;title=Video_galerie</id>
		<title>Video galerie - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://de.contaowiki.org/index.php?action=history&amp;feed=atom&amp;title=Video_galerie"/>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Video_galerie&amp;action=history"/>
		<updated>2026-04-30T14:15:42Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in Contao Community Documentation</subtitle>
		<generator>MediaWiki 1.22.6</generator>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=7826&amp;oldid=prev</id>
		<title>Andreas: Gallerie =&gt; Galerie</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=7826&amp;oldid=prev"/>
				<updated>2013-11-22T22:35:09Z</updated>
		
		<summary type="html">&lt;p&gt;Gallerie =&amp;gt; Galerie&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 22. November 2013, 22:35 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erzeugt man daraus eine Galerie und aktiviert im Backend die Checkbox &amp;quot;Großansicht/Neues Fenster&amp;quot;, dann wird bei einem Klick auf einen Galerie-Screenshot die angegebene URL in einem neuen Browser-Fenster geöffnet und das Video darin abgespielt.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erzeugt man daraus eine Galerie und aktiviert im Backend die Checkbox &amp;quot;Großansicht/Neues Fenster&amp;quot;, dann wird bei einem Klick auf einen Galerie-Screenshot die angegebene URL in einem neuen Browser-Fenster geöffnet und das Video darin abgespielt.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Schön und gut ... allerdings will man oft die Besucher auf der eigenen Seite halten und ihnen dennoch das Abspielen der Videos gestatten. Peter Müller hat in seinem excellenten Buch &amp;quot;[http://websites-erstellen-mit-contao.de/ Websites erstellen mit CONTAO]&amp;quot; gezeigt, wie man Videos per Link im Text in einer Media/LightBox öffnen kann (Kapitel 10.3.1 &amp;quot;Inhaltselement Text: Ein Link in einer Mediabox&amp;quot;). Das sollte doch auch mit einer &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Gallerie &lt;/del&gt;funktionieren?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Schön und gut ... allerdings will man oft die Besucher auf der eigenen Seite halten und ihnen dennoch das Abspielen der Videos gestatten. Peter Müller hat in seinem excellenten Buch &amp;quot;[http://websites-erstellen-mit-contao.de/ Websites erstellen mit CONTAO]&amp;quot; gezeigt, wie man Videos per Link im Text in einer Media/LightBox öffnen kann (Kapitel 10.3.1 &amp;quot;Inhaltselement Text: Ein Link in einer Mediabox&amp;quot;). Das sollte doch auch mit einer &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Galerie &lt;/ins&gt;funktionieren?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Na klar! In weiser Voraussicht bietet Contao für das Inhalts-Element &amp;quot;Galerie&amp;quot; eine Auswahl des Templates im Backend an. Dort wird normalerweise nur &amp;quot;gallery_default&amp;quot; angeboten. Also muss man eine Kopie dieses Templates im Verzeichnis &amp;quot;.../templates&amp;quot; [[Templates_bearbeiten|erzeugen]], umbenennen und modifizieren.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Na klar! In weiser Voraussicht bietet Contao für das Inhalts-Element &amp;quot;Galerie&amp;quot; eine Auswahl des Templates im Backend an. Dort wird normalerweise nur &amp;quot;gallery_default&amp;quot; angeboten. Also muss man eine Kopie dieses Templates im Verzeichnis &amp;quot;.../templates&amp;quot; [[Templates_bearbeiten|erzeugen]], umbenennen und modifizieren.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kunde29sql1:diff:version:1.11a:oldid:3865:newid:7826 --&gt;
&lt;/table&gt;</summary>
		<author><name>Andreas</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=3865&amp;oldid=prev</id>
		<title>Manitougs: Aufbereitung</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=3865&amp;oldid=prev"/>
				<updated>2011-06-15T16:37:40Z</updated>
		
		<summary type="html">&lt;p&gt;Aufbereitung&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 15. Juni 2011, 16:37 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erzeugt man daraus eine Galerie und aktiviert im Backend die Checkbox &amp;quot;Großansicht/Neues Fenster&amp;quot;, dann wird bei einem Klick auf einen Galerie-Screenshot die angegebene URL in einem neuen Browser-Fenster geöffnet und das Video darin abgespielt.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Erzeugt man daraus eine Galerie und aktiviert im Backend die Checkbox &amp;quot;Großansicht/Neues Fenster&amp;quot;, dann wird bei einem Klick auf einen Galerie-Screenshot die angegebene URL in einem neuen Browser-Fenster geöffnet und das Video darin abgespielt.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Schön und gut ... allerdings will man oft die Besucher auf der eigenen Seite halten und ihnen dennoch das Abspielen der Videos gestatten. Peter Müller hat in seinem excellenten Buch &amp;quot;Websites erstellen mit CONTAO&amp;quot; gezeigt, wie man Videos per Link im Text in einer Media/LightBox öffnen kann (Kapitel 10.3.1 &amp;quot;Inhaltselement Text: Ein Link in einer Mediabox&amp;quot;). Das sollte doch auch mit einer Gallerie funktionieren?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Schön und gut ... allerdings will man oft die Besucher auf der eigenen Seite halten und ihnen dennoch das Abspielen der Videos gestatten. Peter Müller hat in seinem excellenten Buch &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[http://websites-erstellen-mit-contao.de/ &lt;/ins&gt;Websites erstellen mit CONTAO&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;&amp;quot; gezeigt, wie man Videos per Link im Text in einer Media/LightBox öffnen kann (Kapitel 10.3.1 &amp;quot;Inhaltselement Text: Ein Link in einer Mediabox&amp;quot;). Das sollte doch auch mit einer Gallerie funktionieren?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Na klar! In weiser Voraussicht bietet Contao für das Inhalts-Element &amp;quot;Galerie&amp;quot; eine Auswahl des Templates im Backend an. Dort wird normalerweise nur &amp;quot;gallery_default&amp;quot; angeboten .&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.. also &lt;/del&gt;muss man eine Kopie dieses Templates im Verzeichnis &amp;quot;.../templates&amp;quot; erzeugen, umbenennen und modifizieren.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Na klar! In weiser Voraussicht bietet Contao für das Inhalts-Element &amp;quot;Galerie&amp;quot; eine Auswahl des Templates im Backend an. Dort wird normalerweise nur &amp;quot;gallery_default&amp;quot; angeboten. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Also &lt;/ins&gt;muss man eine Kopie dieses Templates im Verzeichnis &amp;quot;.../templates&amp;quot; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Templates_bearbeiten|&lt;/ins&gt;erzeugen&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;, umbenennen und modifizieren.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Änderungen betreffen nur wenige Zeilen, deshalb hier nur das diff:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Änderungen betreffen nur wenige Zeilen, deshalb hier nur das diff:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit wird der JavaScript Code von $col-&amp;gt;attributes (window.open...) weggeworfen und stattdessen die Mediabox angefordert. Diese erhält, neben der oben erwähnten ID, auch eine Angabe für Breite und Höhe ... das ist die Größe des Original-Bildes, das für die Galerie verwendet wurde (auch wenn das nie gezeigt wird), nicht die Größe des Thumbnails!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Damit wird der JavaScript Code von $col-&amp;gt;attributes (window.open...) weggeworfen und stattdessen die Mediabox angefordert. Diese erhält, neben der oben erwähnten ID, auch eine Angabe für Breite und Höhe ... das ist die Größe des Original-Bildes, das für die Galerie verwendet wurde (auch wenn das nie gezeigt wird), nicht die Größe des Thumbnails!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Backend muß man nun nur noch das neue Template &amp;quot;gallery_videos&amp;quot; wählen und die Videos erscheinen in einer Mediabox auf der eigenen Seite&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/del&gt;man kann von Video zu Video innerhalb einer Galerie schalten und die (streaming) Videos damit &amp;quot;anteasern&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/del&gt;die Größe der Mediabox passt sich an das Video an (indirekt über die Größe des Original-Bildes)&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;; &lt;/del&gt;schaltet man zwischen den Videos hin und her oder schließt die Mediabox, hält das Abspielen automatisch an. Je nach Video-Lieferant kann das Video auch Fullscreen abgespielt werden (YouTube: ja, Google: nein).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Im Backend muß man nun nur noch das neue Template &amp;quot;gallery_videos&amp;quot; wählen und die Videos erscheinen in einer Mediabox auf der eigenen Seite &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;mit diversen Features:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/ins&gt;man kann von Video zu Video innerhalb einer Galerie schalten und die (streaming) Videos damit &amp;quot;anteasern&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/ins&gt;die Größe der Mediabox passt sich an das Video an (indirekt über die Größe des Original-Bildes)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*&lt;/ins&gt;schaltet man zwischen den Videos hin und her oder schließt die Mediabox, hält das Abspielen automatisch an. Je nach Video-Lieferant kann das Video auch Fullscreen abgespielt werden (YouTube: ja, Google: nein).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kunde29sql1:diff:version:1.11a:oldid:3808:newid:3865 --&gt;
&lt;/table&gt;</summary>
		<author><name>Manitougs</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=3808&amp;oldid=prev</id>
		<title>Deerwood: added to admin howtos</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=3808&amp;oldid=prev"/>
				<updated>2011-06-06T00:08:58Z</updated>
		
		<summary type="html">&lt;p&gt;added to admin howtos&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 6. Juni 2011, 00:08 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Admin HOWTOS]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Dev HOWTOS]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Dev HOWTOS]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Dev Snippets]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Dev Snippets]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key kunde29sql1:diff:version:1.11a:oldid:3783:newid:3808 --&gt;
&lt;/table&gt;</summary>
		<author><name>Deerwood</name></author>	</entry>

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=3783&amp;oldid=prev</id>
		<title>Deerwood: Artikel neu angelegt</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Video_galerie&amp;diff=3783&amp;oldid=prev"/>
				<updated>2011-05-31T03:34:30Z</updated>
		
		<summary type="html">&lt;p&gt;Artikel neu angelegt&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Dev HOWTOS]]&lt;br /&gt;
[[Category:Dev Snippets]]&lt;br /&gt;
{{AppliesTo&lt;br /&gt;
|Version=ab 2.9&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Die normale Galerie des Contao-Core kann bereits für (externe) Videos genutzt werden. Dazu legt man für jedes anzuzeigende Video ein Screenshot-Bild ab (z.B. in &amp;quot;.../tl_files/videos/gallery_01/&amp;quot;) und erzeugt eine Datei &amp;quot;meta.txt&amp;quot; im gleichen Verzeichnis, die, neben alternativem Text und Bildunterschrift, auch die URL zum Video enthält:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
dateiname.endung = Alternativer Text | URL | Bildunterschrift&lt;br /&gt;
The_Police_-_Roxanne_live_1979.jpg = The Police - Roxanne, live 1979 | http://www.youtube.com/watch?v=-wpX6drarrs | &amp;lt;p&amp;gt;The (very young) Police at Pinkpop 1979&amp;lt;/p&amp;gt;&lt;br /&gt;
Brazil.jpg = Brazil - Terry Gilliam (1985) | http://video.google.com/videoplay?docid=5752843086186063624# | &amp;lt;p&amp;gt;Brazil - Google Video (2:16:49)&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Erzeugt man daraus eine Galerie und aktiviert im Backend die Checkbox &amp;quot;Großansicht/Neues Fenster&amp;quot;, dann wird bei einem Klick auf einen Galerie-Screenshot die angegebene URL in einem neuen Browser-Fenster geöffnet und das Video darin abgespielt.&lt;br /&gt;
&lt;br /&gt;
Schön und gut ... allerdings will man oft die Besucher auf der eigenen Seite halten und ihnen dennoch das Abspielen der Videos gestatten. Peter Müller hat in seinem excellenten Buch &amp;quot;Websites erstellen mit CONTAO&amp;quot; gezeigt, wie man Videos per Link im Text in einer Media/LightBox öffnen kann (Kapitel 10.3.1 &amp;quot;Inhaltselement Text: Ein Link in einer Mediabox&amp;quot;). Das sollte doch auch mit einer Gallerie funktionieren?&lt;br /&gt;
&lt;br /&gt;
Na klar! In weiser Voraussicht bietet Contao für das Inhalts-Element &amp;quot;Galerie&amp;quot; eine Auswahl des Templates im Backend an. Dort wird normalerweise nur &amp;quot;gallery_default&amp;quot; angeboten ... also muss man eine Kopie dieses Templates im Verzeichnis &amp;quot;.../templates&amp;quot; erzeugen, umbenennen und modifizieren.&lt;br /&gt;
&lt;br /&gt;
Die Änderungen betreffen nur wenige Zeilen, deshalb hier nur das diff:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;diff&amp;quot;&amp;gt;&lt;br /&gt;
--- gallery_default.tpl	Fr 27. Mai 23:57:03 2011&lt;br /&gt;
+++ gallery_videos.tpl	Sa 28. Mai 02:51:13 2011&lt;br /&gt;
@@ -1,6 +1,7 @@&lt;br /&gt;
 &lt;br /&gt;
-&amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; summary=&amp;quot;Image gallery&amp;quot;&amp;gt;&lt;br /&gt;
+&amp;lt;table class=&amp;quot;videos&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; summary=&amp;quot;Video gallery&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;tbody&amp;gt;&lt;br /&gt;
+&amp;lt;?php $lightbox_id = rand(10000, 99999); ?&amp;gt;&lt;br /&gt;
 &amp;lt;?php foreach ($this-&amp;gt;body as $class=&amp;gt;$row): ?&amp;gt;&lt;br /&gt;
 &amp;lt;tr class=&amp;quot;&amp;lt;?php echo $class; ?&amp;gt;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;?php foreach ($row as $col): ?&amp;gt;&lt;br /&gt;
@@ -10,7 +11,7 @@&lt;br /&gt;
   &amp;lt;td class=&amp;quot;&amp;lt;?php echo $col-&amp;gt;class; ?&amp;gt;&amp;quot; style=&amp;quot;width:&amp;lt;?php echo $col-&amp;gt;colWidth; ?&amp;gt;;&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;div class=&amp;quot;image_container&amp;quot;&amp;lt;?php if ($col-&amp;gt;margin): ?&amp;gt; style=&amp;quot;&amp;lt;?php echo $col-&amp;gt;margin; ?&amp;gt;&amp;quot;&amp;lt;?php endif; ?&amp;gt;&amp;gt;&lt;br /&gt;
 &amp;lt;?php if ($col-&amp;gt;href): ?&amp;gt;&lt;br /&gt;
-    &amp;lt;a href=&amp;quot;&amp;lt;?php echo $col-&amp;gt;href; ?&amp;gt;&amp;quot;&amp;lt;?php echo $col-&amp;gt;attributes; ?&amp;gt; title=&amp;quot;&amp;lt;?php echo $col-&amp;gt;alt; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;&amp;lt;?php echo $col-&amp;gt;src; ?&amp;gt;&amp;quot;&amp;lt;?php echo $col-&amp;gt;imgSize; ?&amp;gt; alt=&amp;quot;&amp;lt;?php echo $col-&amp;gt;alt; ?&amp;gt;&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
+    &amp;lt;a href=&amp;quot;&amp;lt;?php echo $col-&amp;gt;href; ?&amp;gt;&amp;quot; rel=&amp;quot;lightbox[lbv&amp;lt;?php echo $lightbox_id; ?&amp;gt; &amp;lt;?php echo $col-&amp;gt;width; ?&amp;gt; &amp;lt;?php echo $col-&amp;gt;height; ?&amp;gt;]&amp;quot; title=&amp;quot;&amp;lt;?php echo $col-&amp;gt;alt; ?&amp;gt;&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;&amp;lt;?php echo $col-&amp;gt;src; ?&amp;gt;&amp;quot;&amp;lt;?php echo $col-&amp;gt;imgSize; ?&amp;gt; alt=&amp;quot;&amp;lt;?php echo $col-&amp;gt;alt; ?&amp;gt;&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt;
 &amp;lt;?php else: ?&amp;gt;&lt;br /&gt;
     &amp;lt;img src=&amp;quot;&amp;lt;?php echo $col-&amp;gt;src; ?&amp;gt;&amp;quot;&amp;lt;?php echo $col-&amp;gt;imgSize; ?&amp;gt; alt=&amp;quot;&amp;lt;?php echo $col-&amp;gt;alt; ?&amp;gt;&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;?php endif; ?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ganz am Anfang bekommt die Tabelle eine zusätzliche Klasse (optional) und ein angepasstes Attribut &amp;quot;summary&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Direkt danach wird eine Pseudo-ID erzeugt, die weiter unten im &amp;quot;rel&amp;quot; Attribut verwendet wird. Der Sinn: hat man mehrere Video-Galerien auf einer Seite, dann soll man in der Mediabox zwar von Video zu Video in EINER Galerie schalten, aber nicht zwischen Galerien wechseln können.&lt;br /&gt;
&lt;br /&gt;
Die wichtigste Änderung gegen Ende:&lt;br /&gt;
* &amp;quot;'''&amp;lt;?php echo $col-&amp;gt;attributes; ?&amp;gt;'''&amp;quot; wird ersetzt durch&lt;br /&gt;
* &amp;quot;''' rel=&amp;quot;lightbox[lbv&amp;lt;?php echo $lightbox_id; ?&amp;gt; &amp;lt;?php echo $col-&amp;gt;width; ?&amp;gt; &amp;lt;?php echo $col-&amp;gt;height; ?&amp;gt;]&amp;quot;'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Damit wird der JavaScript Code von $col-&amp;gt;attributes (window.open...) weggeworfen und stattdessen die Mediabox angefordert. Diese erhält, neben der oben erwähnten ID, auch eine Angabe für Breite und Höhe ... das ist die Größe des Original-Bildes, das für die Galerie verwendet wurde (auch wenn das nie gezeigt wird), nicht die Größe des Thumbnails!&lt;br /&gt;
&lt;br /&gt;
Im Backend muß man nun nur noch das neue Template &amp;quot;gallery_videos&amp;quot; wählen und die Videos erscheinen in einer Mediabox auf der eigenen Seite; man kann von Video zu Video innerhalb einer Galerie schalten und die (streaming) Videos damit &amp;quot;anteasern&amp;quot;; die Größe der Mediabox passt sich an das Video an (indirekt über die Größe des Original-Bildes); schaltet man zwischen den Videos hin und her oder schließt die Mediabox, hält das Abspielen automatisch an. Je nach Video-Lieferant kann das Video auch Fullscreen abgespielt werden (YouTube: ja, Google: nein).&lt;/div&gt;</summary>
		<author><name>Deerwood</name></author>	</entry>

	</feed>