<?xml version='1.0' encoding='ISO-8859-1'?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Comment to: YouTube Chromeless Player with Google Analytics Event Tracking - Savio.no</title>
<link>http://www.savio.no</link>
<description>Savio.no omhandler Webanalyse og Markedsføring på Internett, og er et felles nettsted for Jarle og Eivind Savio.</description>
<dc:language>no</dc:language>
<item>
<title>Comment by: Maria</title>
<description>Hi, &lt;br /&gt;I found this demo and it looks perfect for my project however I can't seem to get it to work. I installed all the files as you specified but for some reason the iframe is empty. I would really appreciate your guidance?</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Maria</dc:creator>
<dc:date>14.04.2010 21:41:27</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment151</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Dette nettstedet benytter gammel ASP ja. PHP-delen er ikke hentet fra noen plasser, det var et halvveis fors&#248;k for lenge siden p&#229; &#229; knote sammen noe PHP uten &#229; kunne kode PHP. &lt;br /&gt; &lt;br /&gt;Om noen har laget (eller kan lage) en PHP-versjon setter jeg pris p&#229; det.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>19.03.2010 00:07:25</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment150</link>
</item>
<item>
<title>Comment by: Stine Kveen</title>
<description>Hei. &lt;br /&gt; &lt;br /&gt;Fint eksempel &lt;img src=&quot;/FCKeditor/editor/images/smiley/msn/teeth_smile.gif&quot; alt=&quot;Bredt smil&quot; /&gt; &lt;br /&gt; &lt;br /&gt;Kan du fortelle hvor du har hentet PHP-delen fra, siden det ikke virker? Det er ASP du bruker p&#229; din egen side? &lt;br /&gt; &lt;br /&gt;Vennlig hilsen &lt;br /&gt;Stine  </description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Stine Kveen</dc:creator>
<dc:date>18.03.2010 18:33:06</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment149</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>See also my article about &lt;a href=&quot;http://www.savio.no/blogg/a/91/video-analytics-using-google-analytics-api-and-excel&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;strong&gt;Video Analytics using Google Analytics API and Excel&lt;/strong&gt;&lt;/a&gt;. &lt;br /&gt; &lt;br /&gt;To make the video analytics data tracked with this player more understandable I have made an Excel 2007 spreadsheet that is connected directly to Google Analytics using the Google Analytics API. </description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>17.03.2010 23:53:54</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment148</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>The player has been updated. New functions: &lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Google Analytics Asynchronous Tracking&lt;/strong&gt;. The player is now using Google Analytics Asynchronous Tracking&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Improved time tracking&lt;/strong&gt;. The end time is tracked also if the browser is closed and a movie is either playing, paused or buffering.&lt;/li&gt; &lt;br /&gt;&lt;/ol&gt;</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>14.03.2010 21:04:01</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment147</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Hi, and sorry for my delayed answer. &lt;br /&gt; &lt;br /&gt;Yes you should be able to make the video autoplay on load, but I haven't done it my self. &lt;br /&gt; &lt;br /&gt;The easiest method (but not a pretty one) is to add &lt;br /&gt;&lt;em&gt;startNewVideo('videoID', 0);&lt;/em&gt; to your &lt;strong&gt;body onload&lt;/strong&gt; code. But at least that should get you started. &lt;br /&gt; &lt;br /&gt;Hope it was to some help.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>02.09.2009 21:31:16</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment138</link>
</item>
<item>
<title>Comment by: wwwcoder</title>
<description>Great example. I implemented a right side playlist using the YouTube API, I have it set up so when I click on the video in the nav it loads it in the video player via an Ajax call. What I would like it to do is autoplay. Is there any way I can get the video to autoplay on load?</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>wwwcoder</dc:creator>
<dc:date>22.08.2009 00:55:08</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment136</link>
</item>
<item>
<title>Comment by: Chris</title>
<description>Nope.  Sure didn't.  Wow that's embarrassing&lt;img src=&quot;/FCKeditor/editor/images/smiley/msn/embaressed_smile.gif&quot; alt=&quot;Flau&quot; /&gt; &lt;br /&gt; &lt;br /&gt;Thanks for all your help.  I'm seeing the same stuff in HTTP headers now.  Thanks again.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Chris</dc:creator>
<dc:date>07.06.2009 09:53:05</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment131</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Hi Chris &lt;br /&gt; &lt;br /&gt;Since I haven't seen your test site, it's impossible to know why it doesn't work. I assume you have replaced the UA account number in the example with your own? &lt;br /&gt; &lt;br /&gt;You are right that the createEventTracker() has been deprecated, but it works splendid on my site. &lt;br /&gt; &lt;br /&gt;To debug I would use Firefox and Live &lt;a href=&quot;https://addons.mozilla.org/en-US/firefox/addon/3829&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;HTTP Headers extension&lt;/a&gt;. Then you don't have to wait for your data to show up in Google Analytics, you can see it right away if data are being sent to Google Analytics. &lt;br /&gt; &lt;br /&gt;As an example, below is some of the data logged by Live HTTP Headers when I clicked on pause on the Marit Larsen video.  &lt;br /&gt; &lt;br /&gt;http://www.google-analytics.com/__utm.gif?utmwv=4.3&amp;utmn=2140778241&amp;utmhn=www.savio.no&amp;utmt=event&amp;utme=5(YouTube%20Video%20Player*Video%20-%20Pause* Marit%20Larsen%20-%20If%20a%20Song%20Could%20Get%20Me%20You) &lt;br /&gt; &lt;br /&gt;Hope this helps a little bit.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>07.06.2009 09:24:14</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment130</link>
</item>
<item>
<title>Comment by: Chris</title>
<description>Okay, so I finally had the balls to remove the regular youtube player from my site and put your chromeless player implementation in (had it up on test site). &lt;br /&gt; &lt;br /&gt;The trouble is that it's not logging any events in GA. &lt;br /&gt; &lt;br /&gt;According to Google's website, the &quot;createEventTracker()&quot; function has been deprecated, but that doesn't mean that it shouldn't work, right? &lt;br /&gt; &lt;br /&gt;The video plays fine and everything looks good to the end user (which is great) but it's not tracking any events (which defeats purpose). &lt;br /&gt; &lt;br /&gt;Any ideas on where to start troubleshooting this?  I appreciate your help.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Chris</dc:creator>
<dc:date>07.06.2009 00:35:35</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment129</link>
</item>
<item>
<title>Comment by: Chris</title>
<description>Thanks Eivind - that did it.  It works now.  I don't understand WHY it works...but that's a fight for another day.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Chris</dc:creator>
<dc:date>08.05.2009 00:02:26</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment128</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Hi Chris &lt;br /&gt; &lt;br /&gt;Your question is not stupid, the PHP file contained (or do perhaps contains errors, I'm not a PHP programmer). &lt;br /&gt; &lt;br /&gt;Server.HTMLEncode is not PHP, my fault. I think the correct code should be &lt;strong&gt;&lt;?php htmlspecialchars($_GET['VideoID'])?&gt;&lt;/strong&gt; etc. Any PHP programmers, please correct me if I'm wrong. &lt;br /&gt; &lt;br /&gt;Regarding the function &quot;startNewVideo()&quot; it should transfer the videoID parameter. I am however not the person behind that part of the code, here is the original code: &lt;br /&gt;&lt;a href=&quot;http://sandbox.epikone.us/ytanalytics/index2.txt&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://sandbox.epikone.us/ytanalytics/index2.txt&lt;/a&gt;</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>07.05.2009 19:50:30</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment127</link>
</item>
<item>
<title>Comment by: Chris</title>
<description>Forgive me as I'm new to developing (JS, PHP, etc).  So this might be a VERY stupid question. &lt;br /&gt; &lt;br /&gt;I am getting this error: &lt;br /&gt;&quot;&lt;a href=&quot;javascript:startNewVideo(' &lt;br /&gt;Fatal error: Call to undefined function htmlencode() Line 42&quot; &lt;br /&gt; &lt;br /&gt;Line 42 in my code is this: &lt;br /&gt;&lt;div id=&quot;ytimage&quot;&gt;&lt;a href=&quot;javascript:startNewVideo('&lt;?php Server.HTMLEncode(Request.QueryString(&quot;VideoID&quot;)) ?&gt;', 0);&quot;&gt;&lt;span&gt;&lt;/span&gt;  &lt;br /&gt;    &lt;img src=&quot;http://img.youtube.com/vi/&lt;?php Server.HTMLEncode(Request.QueryString(&quot;VideoID&quot;)) ?&gt;/0.jpg&quot; alt =&quot; &lt;?php Server.HTMLEncode(Request.QueryString(&quot;VideoTitle&quot;))?&gt; &quot; width=&quot;463&quot; height=&quot;347&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;&lt;/div&gt; &lt;br /&gt; &lt;br /&gt;I noticed a couple of things that I don't understand: &lt;br /&gt;1.) the function &quot;startNewVideo()&quot; is &lt;strong&gt;defined&lt;/strong&gt; as taking no parameters.  Yet here it is being called and given TWO parameters:  &lt;br /&gt;a.) '&lt;?php Server.HTMLEncode(Request.QueryString(&quot;VideoID&quot;)) ?&gt;' &lt;br /&gt;b.) 0 &lt;br /&gt; &lt;br /&gt;Is that valid Javascript?  Can a function that is defined as accepting no parameters be CALLED with parameter? &lt;br /&gt; &lt;br /&gt;2.) Is &quot;Server.HTMLEncode()&quot; even PHP?  I looked up that phrase on Google and it appears to be ASP &lt;br /&gt; &lt;br /&gt;Again, I'm sure this is a very stupid question - but its completely holding me up none-the-less.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Chris</dc:creator>
<dc:date>07.05.2009 18:28:21</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment126</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Thank you for your useful feedback Andy. &lt;br /&gt; &lt;br /&gt;As you correctly writes, index.php hasn't been tested. &lt;br /&gt; &lt;br /&gt;Do you have a working PHP version that you can share? That will be appreciated. &lt;br /&gt; &lt;br /&gt;And please keep me/us posted when you have a proper object-oriented apporach working.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>06.03.2009 19:54:02</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment116</link>
</item>
<item>
<title>Comment by: Andy Geers</title>
<description>Thanks for the great work. Found a couple of bugs: &lt;br /&gt; &lt;br /&gt;* The included index.php obviously hasn't been tested (fair enough) - for anybody having troubles: it still contains a few ASP tags where there should be PHP, it lacks a number of closing brackets, and you need an explicit &quot;print&quot; after each occurrence &quot;&lt;?php&quot; &lt;br /&gt; &lt;br /&gt;* I find that pressing &quot;stop&quot;, whilst it does bring back the &quot;play&quot; button overlay, doesn't actually stop the video! I haven't found a way to fix this, so I just added a call to &quot;pauseVideo&quot; before stopping &lt;br /&gt; &lt;br /&gt;* At the moment, sadly, you can only have one video per page. I'm working on turning it into a proper object-oriented approach so that you can have one javascript object per video</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Andy Geers</dc:creator>
<dc:date>06.03.2009 12:22:15</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment115</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>A small bug fix is made, pluss tracking of time played if a visitor leaves the video/page. &lt;br /&gt; &lt;br /&gt;If a visitor didn't finish watching the video, or didn't press Stop, time played wouldn't be recorded in the previous version. This is now fixed, and will be tracked as &lt;br /&gt;&lt;strong&gt;Video - Stop Left Page&lt;/strong&gt;. &lt;br /&gt; &lt;br /&gt;Happy playing!</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>21.12.2008 22:02:10</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment105</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Hi Jay &lt;br /&gt; &lt;br /&gt;According to my knowledge you can't. &lt;br /&gt; &lt;br /&gt;Anyway, the player is built upon the YouTube API, and I don't think there exist an API for Google Video: &lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://code.google.com/more/&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/more/&lt;/a&gt;</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>13.10.2008 20:55:26</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment95</link>
</item>
<item>
<title>Comment by: Jay</title>
<description>Could I get this same player to work for google video? or would it take too much coding? &lt;br /&gt; &lt;br /&gt;Regards, Jay</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Jay</dc:creator>
<dc:date>13.10.2008 15:57:24</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment94</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>No problem at all. &lt;br /&gt; &lt;br /&gt;Since we are talking about Firefox. When I started to make this player I wasn't able to make it work in Firefox 3.0.1, so I wrote that in an earlier Norwegian blog post. Later I got corrected, it was Firefox on that particular pc that had the problem. A fresh reinstall solved the problem (and some other problems). &lt;br /&gt; &lt;br /&gt;I also know that an add-on for Firefox called Flashblock can cause problems.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>10.09.2008 21:49:18</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment89</link>
</item>
<item>
<title>Comment by: H&#229;vard Pedersen</title>
<description>Sorry for sounding a bit harsh. I'm looking at it now in Chrome on Windows XP and the player works pretty sweet indeed. :) I know the Mac Flash Player has some issues from time to time, it could be that you stumbled upon some of them.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>H&#229;vard Pedersen</dc:creator>
<dc:date>10.09.2008 19:56:49</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment88</link>
</item>
<item>
<title>Comment by: Eivind Savio</title>
<description>Thanks for your feedback H&#229;vard. I have tested the solution in IE6, IE7, IE8 Beta, Opera, Google Chrome and Firefox 3.0.1 on different computers, but not on Mac. &lt;br /&gt; &lt;br /&gt;I have sometimes also experienced buffering problems with the high quality videos, and this potential problem is also mentioned in the &lt;a href=&quot;http://digitalmedia.oreilly.com/2008/04/17/hi-res-youtube-hacks.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;O'Reilly Hi-Res YouTube Hacks&lt;/a&gt; (linked to earlier in this article). &lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;Note that the hi-res videos take longer to load and are more prone to stalling during playback.  &lt;br /&gt; &lt;br /&gt;&#8212;David Battino&lt;/blockquote&gt;I have however never experienced this as so problematic as you describe it. I would appreciate if someone else with Mac and Firefox also could give me feedback on this, and perhaps test the videos over at O'Reilly also. One of the videos is embedded as &quot;normal&quot; YouTube video, except from the Hi-Res Hack.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>Eivind Savio</dc:creator>
<dc:date>10.09.2008 16:49:47</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment87</link>
</item>
<item>
<title>Comment by: H&#229;vard Pedersen</title>
<description>Nice in theory, but it came off as completely useless (FF3, Mac OS X 10.5.4). The video playback was so choppy, it was close to unwatchable. And the pause button didn't really work (10 seconds after I pressed it, the video spontaneously restarted though). &lt;br /&gt; &lt;br /&gt;The video seemed to have ample buffer for playback, and I don't normally have problems viewing high quality Youtube videos.</description>
<dc:subject>Web Analytics</dc:subject>
<dc:creator>H&#229;vard Pedersen</dc:creator>
<dc:date>10.09.2008 09:33:08</dc:date>
<link>http://www.savio.no/blogg/a/53/youtube-chromeless-player-with-google-analytics-event-tracking?utm_source=feed-blog-comment&amp;utm_medium=feed&amp;utm_campaign=youtube-chromeless-player-with-google-analytics-event-tracking#comment86</link>
</item>
</channel>
</rss>

