We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6531
    • 154 Posts
    I would love to include the JW Media player as a button for embedding FLV in FCK Editor ... just like they do here: http://wiki.lamsfoundation.org/display/lams/flvPlayer

    I tried to install their version of the plugin, but I can’t get it to appear in the toolbar.

    Anyone in here with more experience feel up to the task?

    Thanks!
      • 6531
      • 154 Posts
      YAY! I got it to work!

      1. Just copy the flvplayer folder from the LAMS install to your editor/plugins folder under fckeditor
      2. Add this line to your custom_config.js:
      FCKConfig.Plugins.Add( 'flvPlayer','en') ;
      

      3. And add [tt]’flvPlayer’[/tt] to any of your ToolBarSets:
      FCKConfig.ToolbarSets["standard"] = [
      	['Source','-','Preview','-','Templates'],
      	['Cut','Copy','Paste','PasteText','PasteWord'],
      	['Undo','Redo','-','Find','Replace','-','RemoveFormat'],
      	['Bold','Italic','Underline'],
      	['OrderedList','UnorderedList','-','Outdent','Indent'],
      	['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
      	['Link','Anchor'],
      	['flvPlayer','Image','Flash','Table','Rule','SpecialChar'],
      	['Style'],['FontFormat'],['FontName'],['FontSize'],
      	['TextColor','BGColor'],['FitWindow','-','About']
      
      
        • 6531
        • 154 Posts
        Um ... well it ALMOST works ....

        It doesn’t point to the correct path for the actual flv file.

        The Resource Browser called from within FCKEditor is not pointing to the same path as the swf player ...

        Can someone help me fix this?

        I don’t know enough about js or FCK or the Resource Browser  sad
          • 4018
          • 1,131 Posts
          I’ll take a look at it here in just a bit and see what I can come up with. smiley
            Jeff Whitfield

            "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
            • 4018
            • 1,131 Posts
            Sorry about the delay.

            I experimented with this and found that it works. If it’s not working for you, try changing the Resource URL parameter in the main Configuration to a root relative path. You can also try setting the Rewrite Browser Paths option to "no" to get it to rewrite the URL’s to absolute URL’s, which should work for sure.

            Let me know if this does it for you. smiley

            Jeff
              Jeff Whitfield

              "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."
              • 20890
              • 2 Posts
              hi bravado, sorry to bother you again
              but i have the same problem as danzg

              im using fck editor ver 2.6 and i have configure the fckconfig.js file like danzg said before....
              the flv button appears, but when i click "browse" to browse my flv, it doesn’t hit the right path

              below is the url when the error appear

              http://avg.urlseek.vmn.net/search.php?lg=en&mkt=en&type=404&tb=ff&tbn=avg&q=http://localhost/ronald/ka/execution/extra/blackout_editor/editor/plugins/flvPlayer/undefined

              why does the last path is .../flvPlayer/undefined?

              anyway i tried to write the path manually, and it works sad
              i think the problem is just about the path configuration, buat i dont know where to configure the script sad

              thanks for the help.....i really appreciate it
                • 20890
                • 2 Posts
                oh i forgot....when i want to update the file, there’s problem appears....
                it says :
                Get the Flash Player to see this player.
                url=/ronald/ka/execution/data/flash/btx_op.flv width=300 height=200 loop=false play=false downloadable=false fullscreen=true displayNavigation=true displayDigits=true align=left dispPlaylist=none playlistThumbs=false
                " ; oFCKeditor.Create() ;


                someone can help? sad
                • admin note: commercial Flash player SEO spam removed.
                    Ryan Thrash, MODX Co-Founder
                    Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me