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.

Videos

June 13, 2010 10:49pm

Subscribe [2]
  • #1 / Jun 13, 2010 10:49pm

    cmw1

    94 posts

    I have a video player on my site that plays videos.  In the code:

    {exp:weblog:entries weblog="{my_weblog}" orderby="date" search:video_url=".flv" sort="desc" limit="1" rdf="off" disable="trackbacks"}

    It calls .flv videos and that’s the format the videos have been in up until now.  I worked out that if I change

    search:video_url=".flv"

    to

    search:video_url=".mp4"

    It will call the test video I put on the server and play that format of video as well (ok I know I’m a dense child its taken me all this time to work out the player will play other video formats!)

    Is there a way where I can call both url file types?  I only ask because I’m thinking of taking my iPad on my trip with me instead of the laptop.  I can do most things with it including edit video and upload either to youtube or via an FTP app to my own site however I do not think the app saves in “.flv” since the iPad doesn’t support flash anyway.

    I was trying to switch the player over to a html5 player with fall back to flash, but while I can get them to function with one video I can not get any of the ones that offer the ‘playlist’ function to work.  I do not suppose anyone has had a play with this and managed to get it working with ee?

    oh, and I’m using 1.6 ee not 2.

  • #2 / Jun 28, 2010 5:09pm

    brankin

    150 posts

    This may be a little late but the “search:” does allow for multiples as long as they are separated by a pipe. http://expressionengine.com/docs/modules/weblog/parameters.html#par_search

    search:body=“pickles|shoes”
    *this is a ‘Contains’ example which will look for the criteria anywhere in the custom field.

    Your code would be:

    search:video_url=”.flv|.mp4”

    Hope this helps.
    Bryan

  • #3 / Jul 02, 2010 7:52pm

    cmw1

    94 posts

    Thanks brankin and no its not to late I do not hit the road on my RTW until October.

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

ExpressionEngine News!

#eecms, #events, #releases