<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress + Video = Love</title>
	<atom:link href="http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/?utm_source=subscriber&#038;utm_medium=rss&#038;utm_campaign=rss</link>
	<description>the Frontend Developer</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:51:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: StefanZ</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-2135</link>
		<dc:creator>StefanZ</dc:creator>
		<pubDate>Sun, 11 Sep 2011 16:42:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-2135</guid>
		<description>Foarte bun tutorialul, JWPlayer dovedindu-se a fiind o solutie rapida si eleganta pentru embed. 
A trecut ceva vreme de cand a fost scris acest articol, intre timp fiind scoase noi versiuni ale playerului. La versiunea curenta (5.7) &quot;player-viral.swf&quot; a fost modificat in &quot;player.swf&quot; lucru care in cazul meu a blocat functionarea playerului. Solutia e simpla, trebuie modificat player-viral.swf in player.swf .
Well, am lasat partea cea mai importanta la sfarsit. Am avut link-ul video-ului intr-un &quot;Custom Field&quot;. Cum in aceste &quot;box-uri&quot; , by default, nu se pot adauga shortcode-uri ([video] in cazul de fata) a fost nevoie de un mic hack preluat de &lt;a href=&quot;http://nspeaks.com/978/insert-shortcodes-into-your-custom-fields/&quot; rel=&quot;nofollow&quot;&gt;aici&lt;/a&gt; : 

[php]
if ( get_post_meta($post-&gt;ID, &#039;cfield&#039;, true) ) {
    echo do_shortcode(get_post_meta($post-&gt;ID, &#039;cfield&#039;, $single = true));
}
[/php]

unde &quot;cfield&quot; este numele &quot;Custom Field&quot; ului unde se afla video-ul. In cazul meu codul final arata asa : 
[php]
$default_video_path = &#039;[video]&#039;.get_bloginfo(&#039;template_url&#039;).&#039;/videoname.flv [/video]&#039;;
add_post_meta($post-&gt;ID, &#039;Intro Video&#039;, $default_video_path , true);
						
if ( get_post_meta($post-&gt;ID, &#039;Intro Video&#039;, true) ) {
  echo do_shortcode(get_post_meta($post-&gt;ID, &#039;Intro Video&#039;, $single = true));
}
[/php]

PS : In cazul in care video-ul detinut nu este .flv nu ezitati sa utilizati un convertor.</description>
		<content:encoded><![CDATA[<p>Foarte bun tutorialul, JWPlayer dovedindu-se a fiind o solutie rapida si eleganta pentru embed.<br />
A trecut ceva vreme de cand a fost scris acest articol, intre timp fiind scoase noi versiuni ale playerului. La versiunea curenta (5.7) &#8220;player-viral.swf&#8221; a fost modificat in &#8220;player.swf&#8221; lucru care in cazul meu a blocat functionarea playerului. Solutia e simpla, trebuie modificat player-viral.swf in player.swf .<br />
Well, am lasat partea cea mai importanta la sfarsit. Am avut link-ul video-ului intr-un &#8220;Custom Field&#8221;. Cum in aceste &#8220;box-uri&#8221; , by default, nu se pot adauga shortcode-uri ([video] in cazul de fata) a fost nevoie de un mic hack preluat de <a href="http://nspeaks.com/978/insert-shortcodes-into-your-custom-fields/" rel="nofollow">aici</a> : </p>
<pre class="brush: php; title: ; notranslate">
if ( get_post_meta($post-&gt;ID, 'cfield', true) ) {
    echo do_shortcode(get_post_meta($post-&gt;ID, 'cfield', $single = true));
}
</pre>
<p>unde &#8220;cfield&#8221; este numele &#8220;Custom Field&#8221; ului unde se afla video-ul. In cazul meu codul final arata asa : </p>
<pre class="brush: php; title: ; notranslate">
$default_video_path = '[video]'.get_bloginfo('template_url').'/videoname.flv [/video]';
add_post_meta($post-&gt;ID, 'Intro Video', $default_video_path , true);

if ( get_post_meta($post-&gt;ID, 'Intro Video', true) ) {
  echo do_shortcode(get_post_meta($post-&gt;ID, 'Intro Video', $single = true));
}
</pre>
<p>PS : In cazul in care video-ul detinut nu este .flv nu ezitati sa utilizati un convertor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-307</link>
		<dc:creator>Vlad</dc:creator>
		<pubDate>Wed, 31 Mar 2010 17:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-307</guid>
		<description>Salut. Frumos tutorial. Sti cumva cum pot adauga si subtitrare ?</description>
		<content:encoded><![CDATA[<p>Salut. Frumos tutorial. Sti cumva cum pot adauga si subtitrare ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: petro</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-299</link>
		<dc:creator>petro</dc:creator>
		<pubDate>Mon, 29 Mar 2010 11:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-299</guid>
		<description>am reusit sa fac o mare parte din instructiuni , insa nu`mi adauga filmul. Crezi ca ma poti ajuta?</description>
		<content:encoded><![CDATA[<p>am reusit sa fac o mare parte din instructiuni , insa nu`mi adauga filmul. Crezi ca ma poti ajuta?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-277</link>
		<dc:creator>Adrian</dc:creator>
		<pubDate>Mon, 01 Mar 2010 18:36:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-277</guid>
		<description>Multumesc mult 

keep up the good work</description>
		<content:encoded><![CDATA[<p>Multumesc mult </p>
<p>keep up the good work</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: furbie</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-273</link>
		<dc:creator>furbie</dc:creator>
		<pubDate>Fri, 26 Feb 2010 19:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-273</guid>
		<description>ms, chiar este solutia de care aveam nevoie</description>
		<content:encoded><![CDATA[<p>ms, chiar este solutia de care aveam nevoie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-252</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 05 Feb 2010 09:57:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-252</guid>
		<description>Explicatia si solutia ta ma vor salva la 3 bloguri exclusiv video ;) Sar&#039;na!</description>
		<content:encoded><![CDATA[<p>Explicatia si solutia ta ma vor salva la 3 bloguri exclusiv video <img src='http://www.iamntz.com/wp-includes/images/smilies/wink.gif' alt=';)' class='wp-smiley' />  Sar&#8217;na!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maxi</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-242</link>
		<dc:creator>Maxi</dc:creator>
		<pubDate>Mon, 01 Feb 2010 17:30:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-242</guid>
		<description>Asta chiar e dragut . e foarte util thank</description>
		<content:encoded><![CDATA[<p>Asta chiar e dragut . e foarte util thank</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phorias</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-238</link>
		<dc:creator>phorias</dc:creator>
		<pubDate>Sat, 30 Jan 2010 11:55:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-238</guid>
		<description>Ar fi fost foarte util sa pui la finalul postului si rezolvarea pentru a avea codul sursa valid(sau macar link catre un alt post unde e rezolvata problema)
Foarte utila varianta gasita de tine.</description>
		<content:encoded><![CDATA[<p>Ar fi fost foarte util sa pui la finalul postului si rezolvarea pentru a avea codul sursa valid(sau macar link catre un alt post unde e rezolvata problema)<br />
Foarte utila varianta gasita de tine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magic</title>
		<link>http://www.iamntz.com/397/frontend-developer/wordpress-videos-love/#comment-234</link>
		<dc:creator>Magic</dc:creator>
		<pubDate>Mon, 25 Jan 2010 12:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.iamntz.com/?p=397#comment-234</guid>
		<description>Useful, thanks si mai scrie articole de genu.</description>
		<content:encoded><![CDATA[<p>Useful, thanks si mai scrie articole de genu.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

