GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do you embed sponsor hosted FLVs? (https://gfy.com/showthread.php?t=1021833)

MrMaxwell 05-09-2011 03:47 PM

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?

ThatOtherGuy - BANNED FOR LIFE 05-09-2011 03:55 PM

Winning!

SWF is the player.
FLV is the media file.

SWF plays the media file by importing the FLV file.

Not hard.

PHP Code:

<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=yourclip.flv&image=yourstillshot.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.jpg' 
    
/> 
</
object

Some aff programs will let you hot link there flv's some may have a download for them and you host them.

Nicky 05-09-2011 04:00 PM

If It's a blog you can just download a FLV player plugin and hotlink the sponsors hosted flv's.

MrMaxwell 05-09-2011 04:13 PM

So file=yourclip.flv could be file=http://somewebsite.com/yourclip.flv

If they allow hot linking or whatever else, that is

??

ThatOtherGuy - BANNED FOR LIFE 05-09-2011 04:30 PM

Quote:

Originally Posted by MrMaxwell (Post 18121603)
So file=yourclip.flv could be file=http://somewebsite.com/yourclip.flv

If they allow hot linking or whatever else, that is

??

Yup exactly you goto put in the absolute URL of the intended FLV to play if it is not on your server.
It can be

http://www.xyx.com/hostedflv/flvfile.flv

For example.

V_RocKs 05-09-2011 04:31 PM

check out www.rhinosgirls.com

Lots of posts have movies and you should be able to figure it out from there.

just a punk 05-09-2011 04:33 PM

Quote:

Originally Posted by MrMaxwell (Post 18121541)
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?

Here is a good instruction for WordPress: http://www.cyberseo.net/wordpress-tube/

MrMaxwell 05-09-2011 04:39 PM

What am I doing all wrong? http://adceo.com/nakednews/

MrMaxwell 05-09-2011 04:56 PM

It says <param name='movie' value='player.swf'> ... so player.swf has to be on my server? Where do I get that?

MrMaxwell 05-09-2011 04:57 PM

<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>

ThatOtherGuy - BANNED FOR LIFE 05-09-2011 04:59 PM

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.

redwhiteandblue 05-09-2011 04:59 PM

Quote:

Originally Posted by MrMaxwell (Post 18121688)
It says <param name='movie' value='player.swf'> ... so player.swf has to be on my server? Where do I get that?

https://gfy.com/showthread.php?t=1021750

redwhiteandblue 05-09-2011 05:01 PM

Quote:

Originally Posted by ThatOtherGuy (Post 18121696)
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.

What browsers need the object tag? All the ones I've tested are fine with just the embed tag but I can't test everything.

MrMaxwell 05-09-2011 05:01 PM

Quote:

Originally Posted by ThatOtherGuy (Post 18121696)
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.

Won't I have two videos on the page, then?
I just want it to work like this: http://www.babysitterteenpass.com/april3/hun3/3/ it works in chrome, ff and IE

MrMaxwell 05-09-2011 05:02 PM

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

MrMaxwell 05-09-2011 05:06 PM

This is what happens when I try to use that code http://adceo.com/nakednews/index2.htm

ThatOtherGuy - BANNED FOR LIFE 05-09-2011 05:12 PM

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?

MrMaxwell 05-09-2011 05:15 PM

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

ThatOtherGuy - BANNED FOR LIFE 05-09-2011 05:19 PM

eheh cool, just trying to help.

GOod luck.

MrMaxwell 05-09-2011 05:39 PM

Quote:

Originally Posted by ThatOtherGuy (Post 18121757)
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?


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