<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Projekktor HTML5 video player - Forum - Multiple wideos on same page</title>
<link>http://www.projekktor.com/board/</link>
<description>hints, tips, suggestions, chit chat</description>
<language>en</language>
<item>
<title>Multiple wideos on same page (reply)</title>
<content:encoded><![CDATA[<p>Thanks Sascha, it worked wonderfully!</p>
]]></content:encoded>
<link>http://www.projekktor.com/board/index.php?id=3030</link>
<guid>http://www.projekktor.com/board/index.php?id=3030</guid>
<pubDate>Thu, 17 May 2012 03:49:26 +0200</pubDate>
<category>Projekktor Core</category>
<dc:creator>Mei</dc:creator>
</item>
<item>
<title>Multiple wideos on same page (reply)</title>
<content:encoded><![CDATA[<blockquote><p>For some reason though, the first video loads, but I cannot exit the fancybox. </p>
</blockquote><p>Your script runs into an &quot;myPlayer.setStop() is not a function&quot; error which breaks further actions. </p>
<p>If you init Projekktor with &quot;projekktor('video');&quot; in your example &quot;myPlayer&quot; will hold an Array of two Players - one element for each &lt;video&gt; on page.</p>
<p>It´s better to apply unique IDs to each &lt;video&gt; and init the player e.g. this way: &quot;myPlayerOne = projekktor('#videoone'); myPlayerTwo = projekktor('#videotwo');.</p>
<blockquote><p>Autoplay also does not work...</p>
</blockquote><p>Autoplay works but your video is buffered completely first before playbacl starts. It´s a common issue. Please check <a href="index.php?id=2345">this forum entry</a>.</p>
<p>- sascha</p>
]]></content:encoded>
<link>http://www.projekktor.com/board/index.php?id=2909</link>
<guid>http://www.projekktor.com/board/index.php?id=2909</guid>
<pubDate>Wed, 09 May 2012 09:55:07 +0200</pubDate>
<category>Projekktor Core</category>
<dc:creator>sascha</dc:creator>
</item>
<item>
<title>Multiple wideos on same page</title>
<content:encoded><![CDATA[<p>I am using Projekktor with Fancybox in a Wordpress theme. </p>
<p>Here is the page: <a href="http://ennio.crumplepop[dot]com/a-fancybox-video-page/">http://ennio.crumplepop[dot]com/a-fancybox-video-page/</a></p>
<p>This is the code I added before &lt;/head&gt;:</p>
<pre><code>&lt;!-- Start Fancybox --&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js&quot;&gt;&lt;/script&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;&lt;?php bloginfo('template_url') ?&gt;/fancybox/jquery.fancybox-1.3.4.pack.js&quot;&gt;&lt;/script&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('template_url') ?&gt;/fancybox/jquery.fancybox-1.3.4.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
	&lt;!-- End --&gt;
	
	&lt;!-- Start Projekktor --&gt;
	&lt;script type=&quot;text/javascript&quot; src=&quot;/projekktor/projekktor-1.0.13r41.min.js&quot;&gt;&lt;/script&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;/projekktor/theme/style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
	&lt;!-- End --&gt;

&lt;!-- Apply Projekktor to all HTML5 media elements --&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
		$(document).ready(function() {
			var myPlayer = projekktor('video', {
				/* path to the MP4 Flash-player fallback component */
				playerFlashMP4:        '/projekktor/jarisplayer.swf',
				controls: false,
				autoplay: false,
				volume: 0.8
			});
			   
			var popup = $(&quot;#popup&quot;).fancybox({
				'onComplete':function(){
					myPlayer.reset();
					myPlayer.setPlay();
				},
				'onCleanup':function(){
					myPlayer.setStop();
				},
				'titlePosition'		: 'none',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
		});
	&lt;/script&gt;

	&lt;!-- End --&gt;
</code></pre><p>And this is the code in my Wordpress page:<br />
</p>
<pre><code>&lt;div class=&quot;videolist&quot;&gt;

&lt;div class=&quot;videomodule&quot;&gt;

	&lt;a id=&quot;popup&quot; href=&quot;#inline1&quot; title=&quot;Fancybox meets Projekktor &amp;lt;3&quot;&gt;
		&lt;img src=&quot;/promo/640/transimatic640.jpg&quot; /&gt;
	&lt;/a&gt;
	&lt;div style=&quot;display: none;&quot;&gt;
		&lt;video id=&quot;inline1&quot; class=&quot;projekktor&quot; poster=&quot;/promo/640/transimatic640.jpg&quot; title=&quot;This is Projekktor&quot; width=&quot;640&quot; height=&quot;360&quot; controls&gt;
		&lt;source src=&quot;/wp-content/themes/grid_focus/images/bunny/TransiMatic-video-fixed.mp4&quot; /&gt;
	&lt;/div&gt;

&lt;/div&gt;


&lt;div class=&quot;videomodule&quot;&gt;
        &lt;a id=&quot;popup&quot; href=&quot;#inline2&quot; title=&quot;Fancybox meets Projekktor &amp;lt;3&quot;&gt;
		&lt;img src=&quot;http://ennio.crumplepop.com/promo/640/platinotype640.jpg&quot; /&gt;
	&lt;/a&gt;
	&lt;div style=&quot;display: none;&quot;&gt;
		&lt;video id=&quot;inline2&quot; class=&quot;projekktor&quot; poster=&quot;http://ennio.crumplepop.com/promo/640/platinotype640.jpg&quot; title=&quot;This is Projekktor&quot; width=&quot;640&quot; height=&quot;360&quot; controls&gt;
		&lt;source src=&quot;http://ennio.crumplepop.com/promo/platinotype-640x360.mp4&quot; /&gt;
	&lt;/div&gt;
&lt;/div&gt;

&lt;/div&gt;</code></pre><p>For some reason though, the first video loads, but I cannot exit the fancybox. Autoplay also does not work...</p>
<p>Any insight would be really helpful!!</p>
]]></content:encoded>
<link>http://www.projekktor.com/board/index.php?id=2901</link>
<guid>http://www.projekktor.com/board/index.php?id=2901</guid>
<pubDate>Tue, 08 May 2012 18:26:10 +0200</pubDate>
<category>Projekktor Core</category>
<dc:creator>Mei</dc:creator>
</item>
</channel>
</rss>