• Hello,

    I’m using the Autofocus theme but I want to be able to post video files. Can someone help me with this? I know I have to write some code in here:
    <?php the_post_image(‘large’); ?>
    Something like “If the category is video, then don’t post image”, but I don’t know how to do it. Can someone help me please?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • I would like to know how to add videos as well.

    I found a resolution to embed YouTube videos in my post. However, I suppose you would like to integrate it as well on the frontpage? Would be cool!

    I’m also trying to integrate videos into autofocus… somehow really struggling with it… anyone got a solution for this?

    Hey guys. It is possible to embed a video with this theme – just figured it out. (at least partially)
    First, it will be important to have a default image for the video – this will serve in the home page. Secondly, take a look at the custom fields of the post.
    For image_tag use your embed code.
    For image_url use the URL to the default image discussed above.
    Repeat the above for post-image

    ^ I tried that but it doesn’t seem to work?

    edit, nevermind, it does work. You need the embed code for image_tag and lead_image. image_url can be anything you want, but that’s what shows on the blog index.

    THANKS A TON DUDE!!!

    simonl023

    (@simonl023)

    Okay, so you said “Repeat the above for post-image”, how do I do that?

    This doesn’t really make sense to me when I try to actually accomplish it.

    Can someone clear things up?

    Do I need to host my video first and then link to it? or what?

    I should be able to just upload it into the post, but of course that doesn’t work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Autofocus theme to post video files’ is closed to new replies.