Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Oct 2010
    Posts
    272
    Thanks
    8
    Thanked 1 Time in 1 Post

    Problems adding Flowplayer to Site

    I though I followed the instructions correctly to add the flowplayer music box from this link http://flowplayer.org/plugins/streaming/audio.html

    where it says "Example: Flowplayer as a music box"


    Heres my code

    www.college-ebook.com

  • #2
    New Coder
    Join Date
    May 2011
    Posts
    79
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Does "flowplayer.securestreaming-3.2.3.swf" exist in the web root of your site? If not you could try to copy it there. Because in this code the javascript is pointing to a nonexistent file.
    Code:
    <script type="text/javascript">
    	// install flowplayer into container
    $f("audiosecure", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
    
    	// fullscreen button not needed here
    	plugins: {
    		controls: {
    			fullscreen: false,
    			height: 30,
    			autoHide: false
    		},
    		
            secure: {
    			// path to latest version
    			url: 'flowplayer.securestreaming-3.2.3.swf',
    
    			// URL used to fetch a timestamp from the server
    			timestamp: '4e0e6938',
    
    			// identical to lighttpd.conf / secdownload.secret
    			token: 'simplek'
    		}		
    	},
    
    	clip: {
    		autoPlay: false,
            urlResolvers: 'secure'
    	}
    
    });
    	</script>
    Quote Originally Posted by bullant View Post
    Basically - Java is to Javascript as Ham is to Hampster.

  • #3
    Regular Coder
    Join Date
    Oct 2010
    Posts
    272
    Thanks
    8
    Thanked 1 Time in 1 Post
    It does now. I just uploaded that file to the ftp server

  • #4
    New Coder
    Join Date
    May 2011
    Posts
    79
    Thanks
    3
    Thanked 4 Times in 4 Posts
    I'm still getting a 404 error when I try to pull it up - are you sure its named "flowplayer.securestreaming-3.2.3.swf" and is in the web root of your site?
    Quote Originally Posted by bullant View Post
    Basically - Java is to Javascript as Ham is to Hampster.

  • #5
    Regular Coder
    Join Date
    Oct 2010
    Posts
    272
    Thanks
    8
    Thanked 1 Time in 1 Post
    It wasnt named that. I renamed it that and reuploaded as you can see in the pic of my file manager
    Attached Thumbnails Attached Thumbnails Problems adding Flowplayer to Site-untitled.jpg  

  • #6
    Regular Coder
    Join Date
    Oct 2010
    Posts
    272
    Thanks
    8
    Thanked 1 Time in 1 Post
    Should I of added source code from pic to the root as well because I didnt do anything with that file????

    Update: I just added all the files in winzip into the ftp server still doesnt work though
    Attached Thumbnails Attached Thumbnails Problems adding Flowplayer to Site-untitled.jpg  
    Last edited by andynov123; 07-06-2011 at 03:12 AM.

  • #7
    New Coder
    Join Date
    May 2011
    Posts
    79
    Thanks
    3
    Thanked 4 Times in 4 Posts
    I'm sorry Andy, I honestly don't know. I've never used Flowplayer so I can't be of much help. Is there a forum on their site you could post your question on? You might have some better luck.
    Quote Originally Posted by bullant View Post
    Basically - Java is to Javascript as Ham is to Hampster.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •