mikes02
09-26-2008, 12:08 AM
So here is the issue, basically I want to embed a SWF file on one site, and then I want to be able to send that code to people so they can easily embed the file on their site, however, when I tried this on a separate site, the embedded FLV didn't play
<script type="text/javascript" src="http://www.urlhere.com/videos/swfobject.js"></script>
<div id="shares">
<strong>Please upgrade your Flash Player to the latest version</strong>
<a href="http://www.adobe.com/go/getflashplayer" target="_blank">Click here to download </a> </div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://www.urlhere.com/videos/sample.swf", "video", "320", "240", "8");
so.write("shares");
// ]]>
Fake URL's obviously :p
I thought direct linking would solve the problem, but it isn't, is this possible to even do?
<script type="text/javascript" src="http://www.urlhere.com/videos/swfobject.js"></script>
<div id="shares">
<strong>Please upgrade your Flash Player to the latest version</strong>
<a href="http://www.adobe.com/go/getflashplayer" target="_blank">Click here to download </a> </div>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://www.urlhere.com/videos/sample.swf", "video", "320", "240", "8");
so.write("shares");
// ]]>
Fake URL's obviously :p
I thought direct linking would solve the problem, but it isn't, is this possible to even do?