Youtube and PHP help

Discussion in 'PHP' started by levikay, Apr 4, 2008.

  1. #1
    here is my code and im trying to print youtube videos.
    on a text file i have this
    and here is my code to print it useing php but its not working here is my php code

    but its not working
    im new to PHP so any help will be GREAT
    thanks
     
    levikay, Apr 4, 2008 IP
  2. zerxer

    zerxer Peon

    Messages:
    368
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    First thing I notice is that you placed "<br />" at the end of $line and you're trying to insert that into the embed source and stuff? Why do you have the break? That'll certainly mess things up.
     
    zerxer, Apr 4, 2008 IP
  3. levikay

    levikay Active Member

    Messages:
    294
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #3
    thanks man i got it to work
    lol i had no idea y i put that there
     
    levikay, Apr 4, 2008 IP
  4. levikay

    levikay Active Member

    Messages:
    294
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #4
    Any one have any idea how i can have it show thumbnail and when u click on it it shows the video?
     
    levikay, Apr 4, 2008 IP
  5. contbd

    contbd Active Member

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
  6. levikay

    levikay Active Member

    Messages:
    294
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    68
    #6
    thanks i will have a look
     
    levikay, Apr 5, 2008 IP