WordPress.org

Forums

The Columnist embed video in 'hero' positioning (1 post)

  1. conalthwaite
    Member
    Posted 1 year ago #

    Hi

    I'm using The Columnist on my site: http://www.conalthwaite.org

    I'm trying to embed a video from youtube into what the designer of this theme calls the 'hero' positioning as done here: http://thecolumnist.info/videos/a-video-post/

    Youtube gives me the embed code either as:

    <iframe width="640" height="360" src="//www.youtube.com/embed/qIFFSZfkHTA" frameborder="0" allowfullscreen></iframe>

    Or if I choose the 'old' format:

    <object width="640" height="360"><param name="movie" value="//www.youtube.com/v/qIFFSZfkHTA?version=3&hl=en_GB"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/qIFFSZfkHTA?version=3&hl=en_GB" type="application/x-shockwave-flash" width="640" height="360" allowscriptaccess="always" allowfullscreen="true"></embed></object>

    The first code gives me the video embedded into the post but not in the hero positioning. The second gives me a still frame of the video in the hero positioning.

    The theme designer notes (in the link above) that "The embedded videos are positioned and sized using CSS by selecting the object tag. When copying/pasting the embed code snippet, make sure it includes the object tag to achieve the Hero positioning."

    I get why the second code with the object tag gives me the hero positioning, but I don't understand why it only gives me a still shot of the video.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic