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.

FLV Player for ee2.1

August 06, 2010 6:00am

Subscribe [4]
  • #1 / Aug 06, 2010 6:00am

    stevieboy

    13 posts

    I have just upgraded a site to ee 2.1 but the site used the flvplayer plugin which now doesn’t seem to work, is there another option to show flv files?

    On another note love the new admin area design.

    Steve

  • #2 / Aug 06, 2010 6:42am

    John Henry Donovan

    12339 posts

    Steve,

    Goign to move this thread to the new CodeShare Corner forum as more appropriate there.

    Unfortunately I have not had the chance to finish my upgrade of the plugin for EE2.x.
    Rather than leave your site in a broken state though for the time being you could hard-code the player code into the template and still use your custom field.

    You may also find other plugins at devot-ee.com

  • #3 / Aug 06, 2010 9:09am

    Steven Grant

    894 posts

    Hard coding is probably the better way. Nothing against Mr D’s work (I use the plugin on a few sites) but it doesn’t always support the JW plugins, for example the Google Analytics plugin has never worked for me.

  • #4 / Aug 06, 2010 9:17am

    John Henry Donovan

    12339 posts

    Steven,

    No offence taken 😊 You have added your ‘plugins’ flashvar to include ‘googlytics-1’. yeah?

  • #5 / Aug 06, 2010 9:26am

    Steven Grant

    894 posts

    Hehe - yeah I added it, makes the player disappear though. It was just for our church site to guage what sermons were being listened to, not a big deal so just stripped it out.

    Woulda been nice though.

  • #6 / Aug 06, 2010 9:28am

    John Henry Donovan

    12339 posts

    Steven,
    Well I am here if you want to get it working. You can privately email me if you wish

  • #7 / Aug 06, 2010 10:18am

    Steven Grant

    894 posts

    well

    {exp:flvplugin 
    playerpath="/flash/player.swf" 
    file="{audiofile}" 
    duration="{length}" 
    playernumber="{entry_id}" 
    screencolor="151d4a" 
    width="400" 
    height="20"
    }

    works swell

    but

    {exp:flvplugin 
    playerpath="/flash/player.swf" 
    file="{audiofile}" 
    duration="{length}" 
    playernumber="{entry_id}" 
    screencolor="151d4a" 
    width="400" 
    height="20"
    plugins="googlytics-1"
    }

    makes it vanish

  • #8 / Aug 06, 2010 10:22am

    John Henry Donovan

    12339 posts

    Steven,

    What version of the plugin and what version of JW player do you have?
    have you got a link to the site?

  • #9 / Aug 06, 2010 10:31am

    Steven Grant

    894 posts

    v 4.5.0
    Not sure about the player version though. The site is on http://www.greenviewevangelicalchurch.co.uk/resources/audio

  • #10 / Aug 06, 2010 10:51am

    John Henry Donovan

    12339 posts

    Leave it with me and I will look into it later on for you.

  • #11 / Aug 06, 2010 10:55am

    Steven Grant

    894 posts

    That would be grand.

  • #12 / Aug 06, 2010 11:30am

    John Henry Donovan

    12339 posts

    On line 95 of system/plugins/pi.flvplugin.php

    Change

    $id = ($TMPL->fetch_param('id')) ? "id: ".$TMPL->fetch_param('id')."',\n" : "id: '".$playerid."'\n";

    to

    $id = ($TMPL->fetch_param('id')) ? "id: ".$TMPL->fetch_param('id')."',\n" : "id: '".$playerid."',\n";

    That should have you set. Missing a comma. Thanks for the heads up

  • #13 / Dec 16, 2010 6:39pm

    chrcollins

    77 posts

    Not sure if this is the place to look for help but I am trying to use v4.5 of the flv plugin (EE vr 2.1.1) and it is throwing a php error ....

      “Call to member function fetch_param() on a non-object .... p.flvplugin.php line 22”

    My code looks like this .....

    {exp:channel:entries channel="video"}
      {exp:flvplugin playerpath="{proj_path}/flash/players/player.swf" 
          file ="{video_file}" 
          playernumber = "9" 
          width="640" video"400"}     
      {/exp:channel:entries}

      It’s complaining about the “playernumber” parameter.  What is this parameter used for.  I can’t find anything on it and everyone seems to stuff {entry_id} into it. 

      While I got you on the line ... do I have to download a new player.swf from the JW_FLV site or does the one that comes with the plugin have the latest players & swfobject.js.

  • #14 / Dec 16, 2010 6:41pm

    John Henry Donovan

    12339 posts

    chrcollins,

    That plugin is only available for EE1.x unfortunately for now.
    You might find a similar media plugin available on devot-ee.com for EE2.x

  • #15 / Dec 16, 2010 8:05pm

    chrcollins

    77 posts

    Any plans for 2.0?

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

ExpressionEngine News!

#eecms, #events, #releases