<?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=Hintergrund_Video</id>
		<title>Hintergrund Video - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://de.contaowiki.org/index.php?action=history&amp;feed=atom&amp;title=Hintergrund_Video"/>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;action=history"/>
		<updated>2026-04-30T18:36:08Z</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=Hintergrund_Video&amp;diff=8502&amp;oldid=prev</id>
		<title>Ainschy: /* j_mediaelement anpassen */</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8502&amp;oldid=prev"/>
				<updated>2015-03-31T21:47:49Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;j_mediaelement anpassen&lt;/span&gt;&lt;/span&gt;&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 31. März 2015, 21:47 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 45:&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;== j_mediaelement anpassen ==&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;== j_mediaelement anpassen ==&lt;/div&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;Legt ein eigenes j_mediaelement.html5 unter Templates an, kopiert hierzu das existierende Template j_mediaelement.html5 und ändert es wie unter stehend ab. Erweitert werden die Angaben um videoWidth: 100%, und videoHeight: 100% damit wird z.B. das Inhaltselement Youtube auf 100% Breite und entsprechender Höhe ausgedehnt. Für das Hintergrund-Video ist das nicht wichtig aber für Responsive Webseiten unverzichtbar. Für das Hintergrund-Video ist hingeben die Angabe &amp;lt;source&amp;gt;$('video:not(.no-mejs),audio:not(.no-mejs)').mediaelementpla...&amp;lt;/source&amp;gt; wichtig, da die Klassen-Anweisung im Video-Tag an dieser Stelle dafür sorgt das jQuery unser Hintergrund-Video ignoriert.&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;Legt ein eigenes j_mediaelement.html5 unter Templates an, kopiert hierzu das existierende Template j_mediaelement.html5 und ändert es wie unter stehend ab. Erweitert werden die Angaben um videoWidth: 100%, und videoHeight: 100% damit wird z.B. das Inhaltselement Youtube auf 100% Breite und entsprechender Höhe ausgedehnt. Für das Hintergrund-Video ist das nicht wichtig aber für Responsive Webseiten unverzichtbar. Für das Hintergrund-Video ist hingeben die Angabe&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;&amp;lt;source&amp;gt;$('video:not(.no-mejs),audio:not(.no-mejs)').mediaelementpla...&amp;lt;/source&amp;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;wichtig, da die Klassen-Anweisung im Video-Tag an dieser Stelle dafür sorgt das jQuery unser Hintergrund-Video ignoriert.&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;&amp;lt;source&amp;gt;&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;&amp;lt;source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

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

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8501&amp;oldid=prev</id>
		<title>Ainschy am 31. März 2015 um 21:46 Uhr</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8501&amp;oldid=prev"/>
				<updated>2015-03-31T21:46:33Z</updated>
		
		<summary type="html">&lt;p&gt;&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 31. März 2015, 21:46 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 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;'''Wie ihr mit dem &amp;lt;video&amp;gt; Element in HTML5 Hintergrund Videos realisiert'''&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;'''Wie ihr mit dem &amp;lt;video&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Element in HTML5 Hintergrund&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Videos realisiert'''&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;== Der HTML-Code ==&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;== Der HTML-Code ==&lt;/div&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;Um ein Hintergrund Video vollflächig einzusetzen kommt ihr nicht um hin die fe_page zu erweitern. Hierzu wird ein sogenannter Container eingefügt. Dieser hilft später beim ausrichten des Videos, der Inserttag erleichtert die spätere Bearbeitung im Backend. (Die eckige Klammern beim Inserttag sind zu entfernen!)&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;Um ein Hintergrund&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Video vollflächig einzusetzen kommt ihr nicht um hin die fe_page zu erweitern. Hierzu wird ein sogenannter Container eingefügt. Dieser hilft später beim ausrichten des Videos, der Inserttag erleichtert die spätere Bearbeitung im Backend. (Die eckige Klammern beim Inserttag sind zu entfernen!)&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;&amp;lt;source&amp;gt;&amp;lt;body ...&amp;gt;&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;&amp;lt;source&amp;gt;&amp;lt;body ...&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

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

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8500&amp;oldid=prev</id>
		<title>Ainschy: /* j_mediaelement anpassen */</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8500&amp;oldid=prev"/>
				<updated>2015-03-31T21:45:49Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;j_mediaelement anpassen&lt;/span&gt;&lt;/span&gt;&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 31. März 2015, 21:45 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 45:&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;== j_mediaelement anpassen ==&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;== j_mediaelement anpassen ==&lt;/div&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;Legt ein eigenes j_mediaelement.html5 unter Templates an, kopiert hierzu das existierende Template j_mediaelement.html5 und ändert es wie unter stehend ab. Erweitert werden die Angaben um videoWidth: 100%, und videoHeight: 100% z.B. das Inhaltselement Youtube &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;wird &lt;/del&gt;auf 100% Breite und entsprechender Höhe ausgedehnt. Für das Hintergrund Video ist das nicht wichtig aber für Responsive Webseiten unverzichtbar. Für das Hintergrund Video ist hingeben die Angabe &amp;lt;source&amp;gt;$('video:not(.no-mejs),audio:not(.no-mejs)').mediaelementpla...&amp;lt;/source&amp;gt; wichtig, da die Klassen Anweisung im Video Tag an dieser Stelle dafür sorgt das jQuery unser Hintergrund Video ignoriert.&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;Legt ein eigenes j_mediaelement.html5 unter Templates an, kopiert hierzu das existierende Template j_mediaelement.html5 und ändert es wie unter stehend ab. Erweitert werden die Angaben um videoWidth: 100%, und videoHeight: 100% &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;damit wird &lt;/ins&gt;z.B. das Inhaltselement Youtube auf 100% Breite und entsprechender Höhe ausgedehnt. Für das Hintergrund&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Video ist das nicht wichtig aber für Responsive Webseiten unverzichtbar. Für das Hintergrund&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Video ist hingeben die Angabe &amp;lt;source&amp;gt;$('video:not(.no-mejs),audio:not(.no-mejs)').mediaelementpla...&amp;lt;/source&amp;gt; wichtig, da die Klassen&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Anweisung im Video&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Tag an dieser Stelle dafür sorgt das jQuery unser Hintergrund&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;-&lt;/ins&gt;Video ignoriert.&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;&amp;lt;source&amp;gt;&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;&amp;lt;source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

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

	<entry>
		<id>https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8499&amp;oldid=prev</id>
		<title>Ainschy: Wie ein Hintergrund Video voll flächig einsetzt wird.</title>
		<link rel="alternate" type="text/html" href="https://de.contaowiki.org/index.php?title=Hintergrund_Video&amp;diff=8499&amp;oldid=prev"/>
				<updated>2015-03-31T21:42:02Z</updated>
		
		<summary type="html">&lt;p&gt;Wie ein Hintergrund Video voll flächig einsetzt wird.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Wie ihr mit dem &amp;lt;video&amp;gt; Element in HTML5 Hintergrund Videos realisiert'''&lt;br /&gt;
== Der HTML-Code ==&lt;br /&gt;
Um ein Hintergrund Video vollflächig einzusetzen kommt ihr nicht um hin die fe_page zu erweitern. Hierzu wird ein sogenannter Container eingefügt. Dieser hilft später beim ausrichten des Videos, der Inserttag erleichtert die spätere Bearbeitung im Backend. (Die eckige Klammern beim Inserttag sind zu entfernen!)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&amp;lt;body ...&amp;gt;&lt;br /&gt;
&amp;lt;div id=&amp;quot;bgvideo&amp;quot;&amp;gt;{[{]insert_module::hintergrund_video[}]}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;?php $this-&amp;gt;block('body')...&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Legt als nächstes das Modul &amp;quot;hintergrund_video&amp;quot; als HTML Modul an.&lt;br /&gt;
&amp;lt;source&amp;gt;&amp;lt;video class=&amp;quot;no-mejs&amp;quot; autoplay loop muted poster=&amp;quot;files/layout/images/ALTERNATIVES-BILD.jpg&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;source src=&amp;quot;files/layout/video/VIDEO_IM_MP4-FORMAT.mp4&amp;quot; type=&amp;quot;video/mp4&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;source src=&amp;quot;files/layout/video/VIDEO_IM_WEBM-FORMAT.webm&amp;quot; type=&amp;quot;video/webm&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;img src=&amp;quot;files/layout/images/ALTERNATIVES-BILD.jpg&amp;quot; width=&amp;quot;1920&amp;quot; height=&amp;quot;1080&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/video&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Das Video sollten in den Formaten mp4 und webm vorliegen, ein Fallback-Bild für Browser die das Video-Element nicht unterstützen wird empfohlen.&lt;br /&gt;
&lt;br /&gt;
== Der CSS Code ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
#bgvideo {&lt;br /&gt;
    bottom:0;&lt;br /&gt;
    left:0;&lt;br /&gt;
    right:0;&lt;br /&gt;
    top:0;&lt;br /&gt;
    position:fixed;&lt;br /&gt;
    overflow:hidden;&lt;br /&gt;
    background: 50% 50% no-repeat;&lt;br /&gt;
    background-size: cover;&lt;br /&gt;
}&lt;br /&gt;
#bgvideo video {&lt;br /&gt;
    min-width:100%;&lt;br /&gt;
    min-height:100%;&lt;br /&gt;
    left:50%;&lt;br /&gt;
    top:50%;&lt;br /&gt;
    position:absolute;&lt;br /&gt;
    display:inline-block;&lt;br /&gt;
    -webkit-transform: translate(-50%,-50%);&lt;br /&gt;
    -moz-transform: translate(-50%,-50%);&lt;br /&gt;
    -ms-transform: translate(-50%,-50%);&lt;br /&gt;
    -o-transform: translate(-50%,-50%);&lt;br /&gt;
    transform: translate(-50%,-50%);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== j_mediaelement anpassen ==&lt;br /&gt;
Legt ein eigenes j_mediaelement.html5 unter Templates an, kopiert hierzu das existierende Template j_mediaelement.html5 und ändert es wie unter stehend ab. Erweitert werden die Angaben um videoWidth: 100%, und videoHeight: 100% z.B. das Inhaltselement Youtube wird auf 100% Breite und entsprechender Höhe ausgedehnt. Für das Hintergrund Video ist das nicht wichtig aber für Responsive Webseiten unverzichtbar. Für das Hintergrund Video ist hingeben die Angabe &amp;lt;source&amp;gt;$('video:not(.no-mejs),audio:not(.no-mejs)').mediaelementpla...&amp;lt;/source&amp;gt; wichtig, da die Klassen Anweisung im Video Tag an dieser Stelle dafür sorgt das jQuery unser Hintergrund Video ignoriert.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;script&amp;gt;&lt;br /&gt;
  (function($) {&lt;br /&gt;
    $(document).ready(function() {&lt;br /&gt;
      $('video:not(.no-mejs),audio:not(.no-mejs)').mediaelementplayer({&lt;br /&gt;
        // Put custom options here&lt;br /&gt;
        videoWidht: '100%',&lt;br /&gt;
        videoHeight: '100%',&lt;br /&gt;
        pluginPath: '&amp;lt;?php echo TL_PATH; ?&amp;gt;/assets/jquery/mediaelement/&amp;lt;?php echo $GLOBALS['TL_ASSETS']['MEDIAELEMENT']; ?&amp;gt;/',&lt;br /&gt;
        flashName: 'legacy/flashmediaelement.swf',&lt;br /&gt;
        silverlightName: 'legacy/silverlightmediaelement.xap'&lt;br /&gt;
      });&lt;br /&gt;
    });&lt;br /&gt;
  })(jQuery);&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ainschy</name></author>	</entry>

	</feed>