Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-24-2008, 10:34 PM   PM User | #1
sakka
New Coder

 
Join Date: Nov 2007
Posts: 41
Thanks: 6
Thanked 0 Times in 0 Posts
sakka is an unknown quantity at this point
Youtube-like code to embed external flash videos

Hello! I am working on a page that allows viewers to embed videos, much like Youtube, except the videos are hosted on our server. However, I know the player swf will cause trouble as it needs to be on the actual server that is playing the video and so on. Does anyone have any ideas how I could do this? Thank you...
sakka is offline   Reply With Quote
Old 09-25-2008, 12:10 AM   PM User | #2
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
Use absolute urls in your flash file and in your embed code meaning instead of using yoursite.swf you should use http://www.yoursite.com/yoursite.swf same goes with the flv files. This is how youtube does their way of embedding.
__________________
||||If you are getting paid to do a job, don't ask for help on it!||||
_Aerospace_Eng_ is offline   Reply With Quote
Old 09-25-2008, 07:42 AM   PM User | #3
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
Do some research on crossdomain.xml files. You need it set up so that others can access your flash files properly too.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Reply

Bookmarks

Tags
flash, video, youtube

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:13 AM.


Advertisement
Log in to turn off these ads.