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 plugin by John Henry Donovan - EE2?

March 30, 2011 4:31pm

Subscribe [5]
  • #1 / Mar 30, 2011 4:31pm

    Krake

    72 posts

    Hi there,
    I was just about to update from 1.7 to 2.1.3 when I realized that the FLV plugin by John Henry is not yet available for EE2.

    My site depends on showing our 150+ flv videos and audio clips, and I need this up and running right after this urgent update to EE2. I understand hardcoding would be possible, but could you please help me more specifically on how to?

    Present version of plugin is 3.0 and I hesitate on updating it to the current 4.5 unless it’s required, since it won’t work in EE2.

    So - how would I play this well?
    Thanks!
    -K

    PS. If you EllisLab people need any access to ftp and cp, you are free to use the info I’ve submitted in the login request for the thread mentioned above.

  • #2 / Mar 31, 2011 6:56am

    Greg Salt

    3988 posts

    Hi Krake,

    One way to do it would be to copy the output of the templates where you have video and audio and then copy that into the upgraded templates. This of course would not be dynamic but the output should show you how to structure your dynamic data (file names and paths) in the code to reproduce something similar.

    I’ll move this thread to the CodeShare Corner so that you can get some community assistance with how best to approach this.

    Cheers

    Greg

  • #3 / Mar 31, 2011 2:13pm

    Krake

    72 posts

    Hi Greg, thanks a lot.

    I replaced the flv plugin tag with the actual output on current template (EE1), and changed the file name to call a segment.

    
    <a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Flash Player</a> to see this player.
    [removed]
    var s1 = new SWFObject('[MY PATH]player.swf','single','348','216','7');
    s1.addParam('allowscriptaccess','always');
    s1.addVariable('file','{segment_4}.flv');
    s1.addVariable('height','216');
    s1.addVariable('width','348');
    s1.addVariable('showdigits','true');
    s1.addVariable('autostart','true');
    s1.write('player1');
    [removed]

    It’s working well, so there shouldn’t be any probl. after update - unless player1 would be an issue?

    I guess that I could also…
    1. Include the code as snippets since I use a certain segment to call the .flv?
    2. Update to latest JW player and swfobject script?

    All the best,
    K

  • #4 / Jan 31, 2012 2:25am

    jeramiah

    301 posts

    I’d pay money if he could get this working in EE2.. I as well didn’t realize this issue.  Kinda been a nightmare upgrading to EE2 considering how many modules I used that don’t upgrade.

  • #5 / Feb 01, 2012 7:13am

    John St-Amand

    865 posts

    If your template calls for more than one player to be in the same page, then the “player1” will become an issue - this would need to be unique - so can you make it dynamic.  For example, if each FLV file is tied distinctly to an entry, if you make it something like player{entry_id}, each player id would then be unique.

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

ExpressionEngine News!

#eecms, #events, #releases