Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

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.

  #2 (permalink)  
Old March 2nd, 2008, 09:45 AM
Imar's Avatar
Wrox Author
Points: 72,073, Level: 100
Points: 72,073, Level: 100 Points: 72,073, Level: 100 Points: 72,073, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

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.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
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.>
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 07:11 PM.


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