What WordPress File Do I Edit To Embed Video?

Discussion in 'WordPress' started by boxer126, Feb 7, 2008.

  1. #1
    Hi everyone,

    Just wondering, what freakin' file would I edit to embed a wmv object into a WordPress post? I'm not looking for a plugin. I want to put the embed tags right in the page using a variable to hold the correct videos but I have no idea which file creates the page. I'm not talking about the index page. I'm talking about the page you go to when you click a post's title.

    Also, what variable holds the name of the page the title redirects you to? I have re-write on so I assume it's gotta be somewhere. The title will be the same name as the video file so I can use it in the embed as well.

    Hope that was somewhat clear. Any help would be appreciated.

    Thanks,
    boxer126
     
    boxer126, Feb 7, 2008 IP
  2. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Your individual post pages are controlled by single.php for the most part.

    But if you want the video in one single post you can just put the embed tags right in via the wp admin panel.
     
    MTbiker, Feb 8, 2008 IP
    boxer126 likes this.
  3. boxer126

    boxer126 Well-Known Member

    Messages:
    878
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    145
    #3
    You can? I thought I tried that. Or maybe it was so simple I just never thought of it. Thanks. I'll give it a shot.

    -boxer126
     
    boxer126, Feb 8, 2008 IP
  4. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #4
    Just make sure you're using the code editor, not the "visual editor"
     
    MTbiker, Feb 8, 2008 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Exactly. Don't use the WYSIWY(may)G editor.

    If you're also concerned about your HTML validating, you'll want to look at "Bye Bye, Embed" by Elizabeth Castro: www.alistapart.com/articles/byebyeembed
     
    Dan Schulz, Feb 8, 2008 IP
  6. oceanadsense

    oceanadsense Peon

    Messages:
    39
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Just copy the code from example youtube and paste into your code editor.
     
    oceanadsense, Feb 9, 2008 IP