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)
-   -   Business Thread : FLV ok in Firefox,, but not in IE (https://gfy.com/showthread.php?t=863372)

directfiesta 10-20-2008 06:07 PM

Business Thread : FLV ok in Firefox,, but not in IE
 
Am finishing a site using Cs-Cart. I add movie clips in flv in the description page :

http://dfidistribution.com/defonce-d...ts-culs-6.html

In Firefox, the trailer shows and plays ok. In Internet explorer, it doesn't show or play.

On the other hand, in IE, not in the shopping cart, it does play :

http://dfidistribution.com/mediaplayer/flash2.htm

This is the code :

PHP Code:

<p align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" 

width="320" height="240"><param name="flashvars" value="file=http://dfidistribution.com/flv/defonce_6.flv" 

/><param name="movie" value="player.swf" /><embed src="http://dfidistribution.com/mediaplayer/player.swf"

 
width="320" height="240" type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"


flashvars="file=http://dfidistribution.com/flv/defonce_6.flv" /></object

I really would like it to work in both browser. I am considering to get a new window to open to play the clip; that would solve the IE situation, but if I could do otherwise...

Player is JW Player 4.1.60



Any ideas ????

directfiesta 10-20-2008 06:32 PM

Forgot to put a Hit-it pic in the subject of the thread ....


Or maybe a contest .....

OK, first to give me a working solution ( flash in the pages of both IE and FF ) wins a Starter Plan virtual for six months.....

Now Shoot ....

Adam_M 10-20-2008 06:56 PM

ActiveX is blocking the flash, use swfobject to display the flash content. Get the js file from here http://blog.deconcept.com/swfobject/

And use this code

<script type="text/javascript" src="swfobject.js"></script>

<div id="flashcontent">
This text is replaced by the Flash movie.
</div>

<script type="text/javascript">
var so = new SWFObject("http://dfidistribution.com/mediaplayer/player.swf", "movie", "320", "240", "8", "#336699");
so.addParam("file", "http://dfidistribution.com/flv/defonce_6.flv");
so.write("flashcontent");
</script>

directfiesta 10-20-2008 06:57 PM

Quote:

Originally Posted by Adam_WildCash (Post 14928573)
ActiveX is blocking the flash, use swfobject to display the flash content. Get the js file from here http://blog.deconcept.com/swfobject/

And use this code

<script type="text/javascript" src="swfobject.js"></script>

<div id="flashcontent">
This text is replaced by the Flash movie.
</div>

<script type="text/javascript">
var so = new SWFObject("http://dfidistribution.com/mediaplayer/player.swf", "movie", "320", "240", "8", "#336699");
so.addParam("file", "http://dfidistribution.com/flv/defonce_6.flv");
so.write("flashcontent");
</script>

will try that now and let you know :thumbsup

directfiesta 10-20-2008 07:22 PM

Placed that code in the description, but did not work ...

I put back the original code, and your code in this page:

http://dfidistribution.com/defonce-d...ts-culs-5.html

No video shows up all .. unless I didn't undedstand the actual code ... Did the site today, so am a bit tired ....

Just don't want to use wmv files ....

SmokeyTheBear 10-20-2008 07:33 PM

<embed width=320 height=240 src="http://dfidistribution.com/mediaplayer/player.swf?file=http://dfidistribution.com/flv/defonce_6.flv&tp=swf">

SmokeyTheBear 10-20-2008 07:36 PM

you could also link straight to the player with file like so

http://dfidistribution.com/mediaplay...autostart=true

Adam_M 10-20-2008 07:40 PM

Have a good read around http://blog.deconcept.com/swfobject/ I'm sure this is your best option.

directfiesta 10-20-2008 07:58 PM

Quote:

Originally Posted by SmokeyTheBear (Post 14928681)
<embed width=320 height=240 src="http://dfidistribution.com/mediaplayer/player.swf?file=http://dfidistribution.com/flv/defonce_6.flv&tp=swf">

That does work in both browser :

http://dfidistribution.com/la-bacheliere-21.html

In IE, it starts at the second click .... but that is no real problem. Settles my problem.

Thanks for that ...

Hit me up for your free hosting ....

directfiesta 10-20-2008 08:00 PM

Quote:

Originally Posted by Adam_WildCash (Post 14928703)
Have a good read around http://blog.deconcept.com/swfobject/ I'm sure this is your best option.

I am readinf=g that, but smokey's code works just fine. If you need some free hosting, I will live up to my promise ... just hit me up or email is better ( going to bed now ... :) ):

pierre -at- pdg.hosting -dot-com

SmokeyTheBear 10-20-2008 08:13 PM

another easy way to do it would be to put it in an iframe like so

<iframe width=320 height=240 frameborder=0 src="http://dfidistribution.com/mediaplayer/player.swf?file=http://dfidistribution.com/flv/defonce_6.flv&autostart=true&tp=swf"></iframe>

change autostart to false if you dont want it to play on load

SmokeyTheBear 10-20-2008 08:59 PM

btw i built a little system you might be interested that automagically adds custom intro's or outro' to the video without altering the flv's , its pretty simple , basically using a little htaccess trickery to call the video as a playlist adding a custom changeable intro and or outro

Deej 10-20-2008 09:04 PM

IE lost a lawsuit with adobe a couple years back that made flash encounter complications. The dead click issue. The swfobject rectifies that problem.

Not sure if it helps yours

SmokeyTheBear 10-20-2008 09:44 PM

heres an example of your video using the playlist example i explained above

http://ytmnd.webspacemania.com/dfi/p...&repeat=always

if you look at the url closely you will see the flv is added into the playlist "on the fly "

i.e. any flv can simply be added into the url to create a new playlist with a custom intro and outro

SmokeyTheBear 10-20-2008 09:45 PM

Quote:

Originally Posted by Deej (Post 14928925)
IE lost a lawsuit with adobe a couple years back that made flash encounter complications. The dead click issue. The swfobject rectifies that problem.

Not sure if it helps yours

nah i think his original problem was just a line break where it shouldn't have been

Deej 10-20-2008 10:54 PM

Quote:

Originally Posted by SmokeyTheBear (Post 14929009)
nah i think his original problem was just a line break where it shouldn't have been

i figured it had nothing to do with his problem, i was just elaborating on the dead click issue with IE


All times are GMT -7. The time now is 12:39 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123