<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Controlling Embedded Video with Javascript Part I: Quicktime</title>
	<atom:link href="http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/</link>
	<description></description>
	<pubDate>Wed, 19 Nov 2008 23:53:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Beech</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-84</link>
		<dc:creator>Beech</dc:creator>
		<pubDate>Sun, 05 Oct 2008 16:42:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-84</guid>
		<description>Alex,
Thanks for demo but can't get any javascript communication to work in Firefox 2 or Opera on win98 using QT6.3 (last version for 98). 
Works fine in IE5.5 and IE6 (also with QT6.3), and Safari and Firefox on Mac work too.

Non QT javascript functions are working fine and video plays OK if I remove autoplay="false". I can see the named movie exists as an object in javascript but any calls to it do nothing and all readouts on your demo page are blank and buttons do nothing. Adding enablejavascript="true" doesn't help.

Any ideas would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Alex,<br />
Thanks for demo but can&#8217;t get any javascript communication to work in Firefox 2 or Opera on win98 using QT6.3 (last version for 98).<br />
Works fine in IE5.5 and IE6 (also with QT6.3), and Safari and Firefox on Mac work too.</p>
<p>Non QT javascript functions are working fine and video plays OK if I remove autoplay=&#8221;false&#8221;. I can see the named movie exists as an object in javascript but any calls to it do nothing and all readouts on your demo page are blank and buttons do nothing. Adding enablejavascript=&#8221;true&#8221; doesn&#8217;t help.</p>
<p>Any ideas would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menno</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-17</link>
		<dc:creator>Menno</dc:creator>
		<pubDate>Sat, 05 Apr 2008 16:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-17</guid>
		<description>I must say your blog precisely explains what I was looking for. The only problem is that it does not seem to work with Linux, I've tried several browsers and plugins (firefox with totem and mplayer most though). Does anyone have any experience?

Functions like getTime() just return 0 at all times. Though there is error that the function does not exist. I'm looking for a way to detect the end of the movie in particular.</description>
		<content:encoded><![CDATA[<p>I must say your blog precisely explains what I was looking for. The only problem is that it does not seem to work with Linux, I&#8217;ve tried several browsers and plugins (firefox with totem and mplayer most though). Does anyone have any experience?</p>
<p>Functions like getTime() just return 0 at all times. Though there is error that the function does not exist. I&#8217;m looking for a way to detect the end of the movie in particular.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: boris</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-16</link>
		<dc:creator>boris</dc:creator>
		<pubDate>Mon, 31 Mar 2008 20:40:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-16</guid>
		<description>Hi Scott,

There are many different ways to call javascript functions from normal links. The simplest method would be the following:

&lt;code&gt;&#60;a href="#" onclick="loadVideo()" rel="nofollow"&#62;Click Me&#60;/a&#62;&lt;/code&gt;

When called this way, you will probably need to make sure that the method returns false, in order to suppress the actual link being executed. 

Most javascript libraries (i.e. jQuery, prototype...) will include more elegant cross-browser functions for adding event handlers to arbitrary elements...

&lt;br /&gt;
&lt;br /&gt;
@mgwalk: youtube videos are displayed and controlled using flash, there does seem to be a javascript API though: http://code.google.com/apis/youtube/js_api_reference.html</description>
		<content:encoded><![CDATA[<p>Hi Scott,</p>
<p>There are many different ways to call javascript functions from normal links. The simplest method would be the following:</p>
<p><code>&lt;a href="#" onclick="loadVideo()" rel="nofollow"&gt;Click Me&lt;/a&gt;</code></p>
<p>When called this way, you will probably need to make sure that the method returns false, in order to suppress the actual link being executed. </p>
<p>Most javascript libraries (i.e. jQuery, prototype&#8230;) will include more elegant cross-browser functions for adding event handlers to arbitrary elements&#8230;</p>
<p>@mgwalk: youtube videos are displayed and controlled using flash, there does seem to be a javascript API though: <a href="http://code.google.com/apis/youtube/js_api_reference.html" rel="nofollow">http://code.google.com/apis/youtube/js_api_reference.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-15</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 31 Mar 2008 17:08:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-15</guid>
		<description>Got a question for you.  Is there anyway to control this movie without using a form and buttons?  I would like to use a normal text link for a current project.  I'm trying to load a new movie by using a normal text link and can't seem to figure it out. Your input would be greatly appreciated.

Thanks,

Scott</description>
		<content:encoded><![CDATA[<p>Got a question for you.  Is there anyway to control this movie without using a form and buttons?  I would like to use a normal text link for a current project.  I&#8217;m trying to load a new movie by using a normal text link and can&#8217;t seem to figure it out. Your input would be greatly appreciated.</p>
<p>Thanks,</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mgwalk</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-14</link>
		<dc:creator>mgwalk</dc:creator>
		<pubDate>Thu, 20 Mar 2008 14:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-14</guid>
		<description>How do you do this with youtube embeded videos?</description>
		<content:encoded><![CDATA[<p>How do you do this with youtube embeded videos?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-13</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 17 Mar 2008 22:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-13</guid>
		<description>Hi George,

thanks a lot, for your feedback and the bug report. I fixed this bug and uploaded the new source.</description>
		<content:encoded><![CDATA[<p>Hi George,</p>
<p>thanks a lot, for your feedback and the bug report. I fixed this bug and uploaded the new source.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-12</link>
		<dc:creator>George</dc:creator>
		<pubDate>Thu, 13 Mar 2008 08:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-12</guid>
		<description>Hi there, I like your backgroundPosition Animation plugin, very useful. Unfortunately it seems to throw an error when I use the the stop() method. Any idea why?

Many thanks,

George

PS: Apologies for commenting here but I could not find a better place!</description>
		<content:encoded><![CDATA[<p>Hi there, I like your backgroundPosition Animation plugin, very useful. Unfortunately it seems to throw an error when I use the the stop() method. Any idea why?</p>
<p>Many thanks,</p>
<p>George</p>
<p>PS: Apologies for commenting here but I could not find a better place!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Menno</title>
		<link>http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-11</link>
		<dc:creator>Menno</dc:creator>
		<pubDate>Thu, 28 Feb 2008 11:22:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.protofunc.com/2008/02/01/controlling-embedded-video-with-javascript-part-i-quicktime/#comment-11</guid>
		<description>Precisely what I was looking for. Very clear description. Thank you.</description>
		<content:encoded><![CDATA[<p>Precisely what I was looking for. Very clear description. Thank you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
