Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I am trying to create a shell script (CGI) which will create a website with an embedded flash mp3 player. At the same time I want this script to overwrite the file currently in the playlist with another file which will allow me to change the song currently playing on the flash player. The reason I am doing this is so that I can copy the song I want to play to this file at a low bitrate reducing its size. The code I am using in my script is:
I have done that and it still did not work. The other thing is that the flash player doesn't show up. I know the code works because I use the same code for the home page and it loads up no problem.
is the flash player/media files in your index file tier or under another tier if its own in main tier yes it will work on the index page if in its own file then copying the code from the index should work on any subsequent pages reading the code you have everything appearing as if its in the same folder as the code that wont work that way unless you installed all the files to the folder of each page. Heres how I do it not that i know cgi but my flash page is set up with the media player in its own folder and all media are in all their own folders and each page in its own folder with xml config files to recognize where everything is located
Last edited by amsweitzer; 04-15-2011 at 12:18 PM.
Reason: missed a word
let me know if you get it working I have a large flash site that i would like to get to cgi install with variable graphics views config the mp3 to lower bit rate would be great i could build on home server then transfer the converterd media files to host
I found out that the reason it wouldn't change the song is because of the permissions of the Song.txt file. It was setup for only the owner to have write access. I changed its permissions to read/write all and the cgi would switch the song. I then switched the way to load the flash player to java script instead of object and the player showed up.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.