?
Solved

I need to embed a .flv/.swf file from one server onto another server hosting a different website.

Posted on 2009-02-11
2
Medium Priority
?
680 Views
Last Modified: 2013-11-12
Hello, I have some .flv/.swf files on a server which I have admin access to, and I need to embed the videos on a squarespace (www.squarespace.com) site I'm creating (Squarespace is a web hosting company). I have very limited bandwidth and space for the site and don't want to waste it on hosting the video myself. The server the videos are on is not a video hosting service like youtube and I just can't get the video to embed on the other page. Is this actually possible to do? I've linked the code I have been trying to use (Without the actual web addresses). The important facts to take from these details are that the videos I want to embed are not on the same server as the webpage, and the server they are on is not a video hosting service. I appreciate any help I can get. Thanks.
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="300" 
id="flashvideoplayer.swf" align="middle">
         <param name="allowScriptAccess" value="sameDomain">
         <param name="movie" 
                  value="http://www.myhomepage.com/flashvideoplayer.swf?
                  flv=http://www.myhomepage.com/myvideofile.flv">
         <param name="quality" value="high">
         <param name="bgcolor" value="#ffffff">
<embed src="http://www.myhomepage.com/flashvideoplayer.swf?
                  flv=http://www.myhomepage.com/myvideofile.flv" quality="high" bgcolor="#ffffff" width="400" height="300" name="flashvideoplayer.swf" 
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
</object>

Open in new window

0
Comment
Question by:chasecarter
1 Comment
 
LVL 5

Accepted Solution

by:
striker46 earned 2000 total points
ID: 23631936
Hello,

I tried as-is the code you posted with a SWF sample from another website, embedding it to my own site, and it worked. Try code below if you want (all I changed is SWF source URL).

If I'm not wrong you use scripts in your SWF, check them as the error might be there (perhaps retrieving the swf source url variable, etc.)


<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="400" height="300" 
id="flashvideoplayer.swf" align="middle">
         <param name="allowScriptAccess" value="sameDomain">
         <param name="movie" 
                  value="http://www.myhomepage.com/flashvideoplayer.swf?
                  flv=http://www.myhomepage.com/myvideofile.flv">
         <param name="quality" value="high">
         <param name="bgcolor" value="#ffffff">
<embed src="http://bytescout.com/demo/swfscout_VideoSample.swf" quality="high" bgcolor="#ffffff" width="400" height="300" name="flashvideoplayer.swf" 
align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>

Open in new window

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This article discusses how to implement server side field validation and display customized error messages to the client.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question