metrov Posted March 2, 2008 Share Posted March 2, 2008 Hi, I'm a designer, not a programmer. But I often hire programmers to implement my layouts, make them dynamic, etc. I have a client who needs to show and sell videos on her website. I think it would be best for her to display the videos in Flash format, Flash being the most common player available. Is it possible to create an admin whereby my client can upload her videos as easily as she would upload a regular .jpg image, for example? I had one programmer tell me that the only way to upload Flash videos via an admin is to upload the <object> code, then separately upload the .swf files to the server via an ftp program. Is this really the only way? I really need a simpler solution for my client. There is no way I can ask her to generate the <object> code for numerous video .swf files. Any ideas or recommendations appreciated. Thanks very much. Quote Link to comment https://forums.phpfreaks.com/topic/93958-uploading-flash-videos-via-admin/ Share on other sites More sharing options...
blueman378 Posted March 2, 2008 Share Posted March 2, 2008 well you could always jsut upload them to a folder then just use one object code with variables for the file name, not sure how youre site works but basically have your links to the page like pagename.php?file=gamer(this will be replacwed with the file name) and then retrieve it with the get function, or post as it may be Quote Link to comment https://forums.phpfreaks.com/topic/93958-uploading-flash-videos-via-admin/#findComment-481455 Share on other sites More sharing options...
trq Posted March 2, 2008 Share Posted March 2, 2008 The <object> code can quite easily be generated dynamically by php, and yes, you can also quite easily upload any file type with php. Quote Link to comment https://forums.phpfreaks.com/topic/93958-uploading-flash-videos-via-admin/#findComment-481462 Share on other sites More sharing options...
metrov Posted March 2, 2008 Author Share Posted March 2, 2008 Great, thanks so much for your replies. Quote Link to comment https://forums.phpfreaks.com/topic/93958-uploading-flash-videos-via-admin/#findComment-481752 Share on other sites More sharing options...
Lamez Posted March 2, 2008 Share Posted March 2, 2008 you can do it, you will need a database, I would think at least. Quote Link to comment https://forums.phpfreaks.com/topic/93958-uploading-flash-videos-via-admin/#findComment-481762 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.