![]() |
How do you embed sponsor hosted FLVs?
If I convert them to swf, I have to upload them and host them, right? Or does the swf just tell it where to find it?
|
Winning!
SWF is the player. FLV is the media file. SWF plays the media file by importing the FLV file. Not hard. PHP Code:
|
If It's a blog you can just download a FLV player plugin and hotlink the sponsors hosted flv's.
|
So file=yourclip.flv could be file=http://somewebsite.com/yourclip.flv
If they allow hot linking or whatever else, that is ?? |
Quote:
It can be http://www.xyx.com/hostedflv/flvfile.flv For example. |
check out www.rhinosgirls.com
Lots of posts have movies and you should be able to figure it out from there. |
Quote:
|
What am I doing all wrong? http://adceo.com/nakednews/
|
It says <param name='movie' value='player.swf'> ... so player.swf has to be on my server? Where do I get that?
|
<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
id='mediaplayer1' name='mediaplayer1' width='280' height='185'> <param name='movie' value='player.swf'> <param name='allowfullscreen' value='true'> <param name='allowscriptaccess' value='always'> <param name='bgcolor' value='#000000'> <param name='wmode' value='opaque'> <param name='flashvars' value='file=http://galleries.nakednewsanchors.com/flv_galleries/commentary/comm_011110.flv&image=randomimage.jpg'> <embed id='mediaplayer1' name='mediaplayer1' src='player.swf' width='280' height='185' allowfullscreen='true' allowscriptaccess='false' bgcolor='#000000' wmode='opaque' flashvars='file=yourclip.flv&image=yourstillshot.j pg' /> </object> |
The object and embed are two different tags for cross browser support.
SO do not forget to include the embed info. Other than that it looks correct basically. THink of it like wires. you got 5 wires that are key. Where your SWF player is and where the FLV clip is and where the preview pic is.) Connect the links in the embed area and the object area's and you should be good to go. Remember you goto call your swf player properly also. so if you got the player in a folder called player you need to call all parts of it. For example. JW player has an swfobject.js and jwplayer.js need to call that properly in the java script area of your header on the page in some cases depending on what you are using. Its just better to keep it all in the same directory for beginners though. |
Quote:
|
Quote:
|
Quote:
I just want it to work like this: http://www.babysitterteenpass.com/april3/hun3/3/ it works in chrome, ff and IE |
This is what they did
<script type="text/javascript" src="swfobject.js"></script> </head><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="920"> <tbody><tr> <td class="borders" align="center" valign="top"> <table border="0" cellspacing="5" cellpadding="5"> <tr> <td align="center"><div align="center"> <p id="player1"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p> <script type="text/javascript"> var s1 = new SWFObject("flvplayer.swf","single","540","500","7" ); s1.addParam("allowfullscreen","true"); s1.addVariable("file","1.flv"); s1.addVariable("image","1.jpg"); s1.addVariable("width","540"); s1.addVariable("height","500"); s1.write("player1"); </script> And if I copy the code from some website with an embedded video, am I ripping them off? Should I not try to do that? But I tried it and it doesn't work for me |
This is what happens when I try to use that code http://adceo.com/nakednews/index2.htm
|
They probably have sharing off on the rtp not sure:/
The source of that page ya linked is really wrong. UHmm. Link to the FLV seems right. swfobject.js is not linked right. call to the swf player is not correct. THe embed and object statements are not correct. The embed statement seems very odd. Ya seem to be trying it with Javascript. What Player you using? |
Well my connection over here is so horrible, I am going to fuck with this another time... I think maybe I need them to add my domain to their hotlink okay list or something
|
eheh cool, just trying to help.
GOod luck. |
Quote:
What would I like swfobject to? How do I change the call to the swf player? Which page are you referring to? All I want is to simply embed an flv from their server into my site... why is this so difficult??? Thx for looking at it :) |
All times are GMT -7. The time now is 04:18 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123