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.

Video management

August 24, 2007 2:20pm

Subscribe [8]
  • #1 / Aug 24, 2007 2:20pm

    otane

    5 posts

    Is there a plugin or script that I can use to manage videos within EE?

  • #2 / Aug 24, 2007 2:22pm

    Lisa Wess

    20502 posts

    No, there isn’t. What most people do is simply set up a weblog for managing the videos with each entry being a video, and use the template to set up how to display them appropriately.

    I’m also going to move this to how-to as it’s more appropriate there =)

  • #3 / Aug 24, 2007 2:47pm

    otane

    5 posts

    That would be a nightmare if I had over 50 videos. I probably need to hire a developer to write a module? Can you recommend one?

    You might want to have one developed since video management is starting to gain traction in membership sites.

  • #4 / Aug 24, 2007 2:59pm

    Lisa Wess

    20502 posts

    Why would that be a nightmare?  Create an entry for each video - most people have many more than 50 entries, but just put the video file name or URL to it, and do the markup in the template.

    It’d take only a few minutes of setup plus creating the 50 entries, which shouldn’t take long at all really.

  • #5 / Aug 24, 2007 4:18pm

    Bruce2005

    536 posts

    flv player plugin

    This uses Jeroen Wijering’s flv player which is open source and excellent. You can also make a custom playlist from any rss or xml file, or it will add all media in a directory if wanted.

    I don’t use the plugin myself, I just use the player from
    the players site in a template and have used it with ajax, sidebar menus etc. One can also make a separate weblog as said above and have each entry as a video… using one template with conditionals, or use the playlist. One can also use flash vars for a playlist in sidebar etc…

    demo with playlist
    using flashvars thumbs in sidebar
    using quicktime with ajax
    Using entries as videos for a video blog

    Basically it isn’t difficult at all. Add the player to the page with EE tags for the video and conditionals etc…

  • #6 / Aug 24, 2007 8:11pm

    otane

    5 posts

    Why would that be a nightmare?  Create an entry for each video - most people have many more than 50 entries, but just put the video file name or URL to it, and do the markup in the template.

    It’d take only a few minutes of setup plus creating the 50 entries, which shouldn’t take long at all really.

    Ok, I did not know that your weblog was the database.

  • #7 / Aug 24, 2007 8:42pm

    mrjasonsweet

    8 posts

    Sorry to jump this post but I’m curious about the Flash player plugin.  I have a weblog where I created a custom field to store the URL to some Flash video content.  How can I dynamically insert this URL into the Flash Player plugin? 

    Thanks for any feedback.

  • #8 / Aug 24, 2007 8:58pm

    Bruce2005

    536 posts

    If you were using the plugin, according to the docs for it you enter the url to the file as below. I changed it to use a custom field for the file:

    {exp:flvplugin playerpath="http://www.somesite.com/players/flvplayer.swf"
     playernumber="1" file="(customfieldname)" width="320" 
    height="240" showdigits="true"}

    as an example the custom field would have /videos/mynewvideo.flv

  • #9 / Aug 24, 2007 9:45pm

    mrjasonsweet

    8 posts

    Seems simple enough. Thanks very much!

  • #10 / Aug 25, 2007 6:40am

    Yvonne Martinsson

    204 posts

    There is also the quicktime plugin, if you prefer QT for your movies. Otherwise, it’s just as easy to add the movie name to a custom field and then write the embed code in a template.

    {if custom_field}<object><embed src="{custom_field}" /> </object>{/if}

    Both methods require that all movies have the same size.

  • #11 / Aug 25, 2007 8:58am

    stinhambo

    1268 posts

  • #12 / Dec 16, 2007 4:40pm

    aimbot

    36 posts

    I used the Flv plugin and made a weblog to denote where the video was located, and what the dimensions were so you can use different sized videos.

  • #13 / Dec 16, 2007 5:03pm

    Bruce2005

    536 posts

    One could also use custom fields for flv location, height, and width. 😉

  • #14 / Dec 17, 2007 5:01pm

    stef25

    268 posts

    me too sorry for jumping in. using youtube video embed code, we could just paste this markup in a custom field, right?

  • #15 / Feb 02, 2008 6:53pm

    Bruce2005

    536 posts

    Yes, but a better way that validates:
    SWFObject embed
    I use, with the js link in head;

    {if utube_vidid}
    <div class="center">
    <div id="flashcontent">
    Oops! You don’t have flash installed, or JavaScript is off.
    </div>
    
    // <![CDATA[
    var so = new SWFObject("http://www.youtube.com/v/{utube_vidid}", “youtube”, “400”, “326”, “8");
    so.addParam("wmode", “opaque");
    so.setAttribute("redirectUrl", “http://www.youtube.com/watch?v={utube_vidid}");
    so.write("flashcontent");
    // ]]>
    
    </div>
    {/if}

    Then I put just the video id into the custom field. Centered, valid xhtml, and easy with no “click to activate” in ie. Resize all one wants…
    .

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

ExpressionEngine News!

#eecms, #events, #releases