ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Embedding Vimeo Videos

October 30, 2012 3:43pm

Subscribe [2]
  • #1 / Oct 30, 2012 3:43pm

    Hi, I am working on taking vimeo videos and making entries for them in a website. I created a set of fields (2 one for the video and one for the summary). However I am having an issue with them showing up.

    I have posted content in a channel called after effects.  This is my code and I am wondering why my content isn’t showing up…

    <div class="main_feature">
    {exp:channel:entries
    channel:"after_effects"}
    {/exp:channel:entries}
    </div>

    I am kinda a noob, at the expression engine tags yet. For the video entry I pasted the embed code in and I am assuming that will make the video show up? Am I way off in my logic of how this works? Thanks in advance for any help, it is greatly appreciated!

  • #2 / Oct 31, 2012 3:49pm

    Shane Eckert

    7174 posts

    Hello reanimatedfallout,

    Thank you for posting your question.

    I think you may want to read up a bit on the Channel Entries Tag.

    First, you want to use an = sign, not : when setting channel parameters.

    Next, inside the channel entries tags you will want to place your channel fields. Whatever you named those. So assume that you create video_link, video_name and video_description.

    <div class="main_feature">
    {exp:channel:entries channel="after_effects"}
    <h1>{title}</h1>
    <a href="http://{video_link}">{video_name}</a>
    
    {video_description}
    {/exp:channel:entries}
    </div>

    Does that make sense?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases