<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Hi, i've modified this script, adding a link to view videos in streaming from veoh without the client, so the videos can be watched from Linux.
It seems to work for almost all videos, i'm still testing it but it seems to work fine!


I added a style:
&lt;code&gt;GM_addStyle(&quot;#gsviewLink {margin: 2px 1px; padding: 2px 6px; border: thin ridge #B0B0B0; -moz-border-radius: 3px; &quot; + &quot;background-color: #EAEAEA; font-weight: bold; float: right}&quot;);&lt;/code&gt;

In function getDownloadURL i added :
&lt;code&gt;viewURL = &quot;http://www.veoh.com/static/flash/players/veohplayer.swf?permalinkId=&quot;+permalinkId+&quot;&amp;player=videodetailsembedded&amp;contentRatingId=1&quot;&lt;/code&gt;

Then in function createDownloadLink:
&lt;code&gt;// Creates the view link and appends it to the actions div if it isn't there already (it shouldn't be)

	var viewLinkPreview = $(&quot;gsviewLink&quot;);

	if (!viewLinkPreview) {

		viewLinkPreview = createNode(&quot;a&quot;, {id: &quot;gsviewLink&quot;, href: viewURL, title: &quot;Watch full video &quot;, type: &quot;video/x-flv&quot;}, {textContent: &quot;Watch full Video&quot;});

		actionsDiv.appendChild(viewLinkPreview);

	}



	// The link was successfully added

	viewURL = null;&lt;/code&gt;</body>
  <body-html>&lt;p&gt;Hi, i've modified this script, adding a link to view videos in streaming from veoh without the client, so the videos can be watched from Linux.
&lt;br /&gt;It seems to work for almost all videos, i'm still testing it but it seems to work fine!&lt;/p&gt;

&lt;p&gt;I added a style:
&lt;br /&gt;&lt;code&gt;GM_addStyle(&quot;#gsviewLink {margin: 2px 1px; padding: 2px 6px; border: thin ridge #B0B0B0; -moz-border-radius: 3px; &quot; + &quot;background-color: #EAEAEA; font-weight: bold; float: right}&quot;);&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;In function getDownloadURL i added :
&lt;br /&gt;&lt;code&gt;viewURL = &quot;http://www.veoh.com/static/flash/players/veohplayer.swf?permalinkId=&quot;+permalinkId+&quot;&amp;amp;player=videodetailsembedded&amp;amp;contentRatingId=1&quot;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then in function createDownloadLink:
&lt;br /&gt;&lt;code&gt;// Creates the view link and appends it to the actions div if it isn't there already (it shouldn't be)&lt;/p&gt;

&lt;p&gt;	var viewLinkPreview = $(&quot;gsviewLink&quot;);&lt;/p&gt;

&lt;p&gt;	if (!viewLinkPreview) {&lt;/p&gt;

&lt;p&gt;		viewLinkPreview = createNode(&quot;a&quot;, {id: &quot;gsviewLink&quot;, href: viewURL, title: &quot;Watch full video &quot;, type: &quot;video/x-flv&quot;}, {textContent: &quot;Watch full Video&quot;});&lt;/p&gt;

&lt;p&gt;		actionsDiv.appendChild(viewLinkPreview);&lt;/p&gt;

&lt;p&gt;	}&lt;/p&gt;

&lt;p&gt;	// The link was successfully added&lt;/p&gt;

&lt;p&gt;	viewURL = null;&lt;/code&gt;&lt;/p&gt;</body-html>
  <created-at type="datetime">2009-08-10T18:31:35Z</created-at>
  <forumable-id type="integer">28954</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">156714</id>
  <topic-id type="integer">32548</topic-id>
  <updated-at type="datetime">2009-08-10T18:32:22Z</updated-at>
  <user-agent>Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2</user-agent>
  <user-id type="integer">103287</user-id>
</post>
