We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32142
    • 19 Posts
    Greetings,

    I do not know if this is the right place to post my finding. After searching high and low, day and night for a robust flash player to use on my site, i ran across this incredibly easy to customize flash player.
    I have played around with all the other flash player options that are available at the repository, but none did what I have been attempting to do. Which was simply to play flash videos and mp3s on the site.

    In any case, I found this by chance this afternoon. I could set everything up in 5-10 minutes, calling up the player on the pages on my site via tv and chunks.
    It also comes with some powerful but easy to use plugins which can allow audio synching to still images et cetera.

    Here is a link to the site: http://flowplayer.org/index.html

    Hopefully the geeks here can wrap this up as a snippet for newbies like myself..:)

    The basic version is free by the way. I am not in any way affiliated to the site or its authors.

    Thanks.
      • 4310
      • 2,310 Posts
      Thanks for the heads up. Looks nice, will have to try it out smiley
        • 1268
        • 2 Posts
        Flowplayer rocks! definitely my favorite flash player.

        I just finished writing a snippet for our company website, it just needs a couple tweaks and it’ll be ready for release.
          Nathan Fitzgerald
          • 4310
          • 2,310 Posts
          That would be good grin
            • 19132
            • 199 Posts
            altiventure
            Did you write and release that snippet for Flowplayer?
              MySQL: 5.0.45
              PHP: 5.2.6
              Linux 2.6.9-023stab048.6-enterprise #1
              cURL enabled
              PDO enabled
              FFox Apple 3.6.8
              Firebug DIS-abled
              • 23849
              • 223 Posts
              Also curious if anyone has released a snippet for flowplayer.

              Let me know!
                Nick Hoag
                Creative Partner
                The FutureForward

                http://thefutureforward.com
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                I have a snippet/chunk that I use quite successfully...

                The snippet
                <?php
                $movie = $modx->getTemplateVar('PageVideos');
                if (!empty($movie['value'])) {
                    if(is_file('assets/flash/videos/pages/' . $movie['value'] . '.flv')) {
                         $chunk = $modx->getChunk('rightflash');
                         return $chunk;
                    }
                }
                $output = '<img id="noVideo" src="assets/js/images/flash_bkg.png" width="250" height="261" alt="" />';
                return $output;
                ?>

                The chunk
                <div id="rightFlash">
                <!-- this A tag is where your Flowplayer will be placed. it can be anywhere -->
                <a  href="assets/flash/videos/pages/[*PageVideos*].flv"  id="player"> </a> 
                <!-- this will install flowplayer inside previous A- tag. -->
                <script type="text/javascript" src="assets/js/rightmovie.js"></script>
                </div>
                

                The javascript:
                flowplayer("player", "assets/flash/flowplayer.commercial-3.1.5.swf", {
                    key: 'xxxxxxxxxxxxxxxx',
                    logo: {
                		url: '../js/images/flash_bkg.png',
                		fullscreenOnly: false,
                		zIndex:0,
                		top: '45%',
                		left: '50%'
                	},
                    splash: {
                        backgroundColor: '#ffffff'
                    },
                    canvas: {
                        backgroundColor: '#ffffff'
                    },
                        screen: {
                        backgroundColor: '#ffffff'
                    },
                    
                    clip: {
                
                		autoPlay: true, autoBuffering: true,
                
                		// let screen fade in gradually so Acme logo can be seen below it
                		fadeInSpeed: 3000,
                
                		// on last second, fade out screen
                		onLastSecond: function() {
                			this.getScreen().animate({opacity: 0}, 3000);
                		},
                
                		// if screen is hidden, show it upon startup
                		onStart: function() {
                			this.getScreen().css({opacity: 1});
                		}
                
                	},
                
                    plugins:  { 
                            controls: {
                                    autoHide: 'true',
                                    hideDelay: 1000,
                            }
                    }
                });

                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org