PHP Classes

newbie question

Recommend this page to a friend!

      YouTube  >  All threads  >  newbie question  >  (Un) Subscribe thread alerts  
Subject:newbie question
Summary:Can het lr=<language> to work
Messages:1
Author:danny
Date:2010-08-11 05:36:16
 

  1. newbie question   Reply   Report abuse  
Picture of danny danny - 2010-08-11 05:36:16
Hello,

I am trying to implement video's only in dutch language, but it does not work:

const FEED = "http://gdata.youtube.com/feeds/api/videos?lr=nl&q=%s&start-index=%d&max-results=%d&v=2";

It still gives me english video's.

Also When the function in executed, how to actually embed the video so it shown?

Now i get something like this:

array(1) {
[0]=>
object(video)#6 (20) {
["author"]=>
string(12) "SilverMagics"
["title"]=>
string(41) "Console wars between the PS3 and Xbox 360"
["description"]=>
string(29) "Cool wars between ps3 and 360"
["keywords"]=>
string(48) "Console, wars, between, the, PS3, and, Xbox, 360"
["player_url"]=>
string(64) "http://www.youtube.com/watch?v=1HVD-cksNWE&feature=youtube_gdata"


How to use this info to embed?

Thanks