<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Redirect video]]></title><description><![CDATA[<p dir="auto">Salve a tutti, volevo aggiungere un redirect alla fine del video VIMEO che ho usato come background di un sito in wordpress.<br />
La parte di codice che trovo nel JS è questa:</p>
<p dir="auto">$allVideos.each(function(){<br />
var $this = $(this);<br />
if (this.tagName.toLowerCase() == 'embed' &amp;&amp; $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }<br />
var height = this.tagName.toLowerCase() == 'object' ? $this.attr('height') : $this.height(),<br />
aspectRatio = height / $this.width();<br />
if(!$this.attr('id')){<br />
var videoID = 'fitvid' + Math.floor(Math.random()*999999);<br />
$this.attr('id', videoID);<br />
}<br />
$this.wrap('&lt;div class="fluid-width-video-wrapper"&gt;&lt;/div&gt;').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");<br />
$this.removeAttr('height').removeAttr('width');<br />
});</p>
<p dir="auto">ho provato ad aggiungere:</p>
<p dir="auto"><strong>$f(iframe).addEvent('finish', function(){</strong>**                        console.log("redirect");    ****                        window.location =      window.location.origin+"/chi-siamo";****                        });</p>
<p dir="auto">ma non funziona.<br />
cosa sbaglio?**</p>
]]></description><link>https://connect.gt/topic/198353/redirect-video</link><generator>RSS for Node</generator><lastBuildDate>Fri, 11 Sep 2026 01:46:21 GMT</lastBuildDate><atom:link href="https://connect.gt/topic/198353.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Jan 2014 16:26:40 GMT</pubDate><ttl>60</ttl></channel></rss>