Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 2nd, 2008, 12:32 AM
Registered User
Join Date: Jun 2005
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Uploading Flash videos via admin


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.

Old March 2nd, 2008, 09:45 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts

It depends on your requirements.... Currently, the user doesn't have to define am <img /> element, right? All they do do is upload the image, and then the path to the image is embedded in the src attribute of the <img /> element through server side code.

You can do a similar thing with Flash movies. Let users upload the file, and embed it in an <object> element with some server side code.

However, Flash movies tend to be more complex than images. You may need your users to enter a hight and a width and other parameters that might be fed to the Flash movie. While that is pretty easy to write out using a server side language, your users may not be knowledgeable enough to enter the correct values. However, if they were able to define an <object> element, they certainly would be able to fill in the right details for a custom solution.

For some ideas on how others have implemented this, check out the FckEditor demo at http://www.fckeditor.net/demo. Then click the Flash button to insert a Flash movie. You can upload a Flash movie and choose a height and a width. The <object> element is then added to the page.


Imar Spaanjaars
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.>

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading videos!! ankur_icfai Javascript How-To 1 November 9th, 2006 10:34 AM
Loading videos through FTP ankur_icfai JSP Basics 0 October 24th, 2006 02:58 PM
Streaming Videos pritambaldota ASP.NET 1.0 and 1.1 Professional 0 August 18th, 2006 06:53 AM
Download videos rajanikrishna HTML Code Clinic 1 October 27th, 2005 05:07 AM
Streaming Videos everest General .NET 0 October 13th, 2005 09:08 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.