Embedding .flv file into a website - Printable Version
-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Embedding .flv file into a website (/showthread.php?tid=88624)
Embedding .flv file into a website by Th3rmal on 01-22-2009 at 05:02 AM
I need help on embedding a .flv file into a website. I have tried the following two codes to no avail:
code: <html>
<body>
<script type="text/javascript" src="https://media.dreamhost.com/ufo.js"></script>
<p id="simpsons_CUT.flv"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var FO = { movie:"http://www.th3rmal.com/dana/simpsons/simpsons_CUT.flv",width:"575",height:"400",majorversion:"7",build:"0",bgcolor:"#FFFFFF",
flashvars:"file=http://www.th3rmal.com/dana/simpsons/simpsons_CUT.flv&showdigits=true&autostart=false" };
UFO.create(FO,"simpsons_CUT.flv");
</script>
</body>
</html>
and
code: <html>
<body>
<div id="mvcontainer"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="http://www.th3rmal.com/dana/simpsons/simpsons_CUT.flv"></script>
<script type="text/javascript">
var s1 = new SWFObject("http://www.th3rmal.com/dana/simpsons/simpsons_CUT.flv","ply","320","260","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://www.th3rmal.com/dana/simpsons/simpsons_CUT.flvℑ=https://media.dreamhost.com/mp4/preview.jpg");
s1.write("mvcontainer");
lt;/script>
</body>
</html>
The file is located at http://www.th3rmal.com/dana/simpsons/simpsons_CUT.flv
With the first code, the movie doesnt seem to load at all, while with the second code, the error of "Get Flash Player" seems to come up.
Any help would be appreciated
RE: Embedding .flv file into a website by WDZ on 01-22-2009 at 05:46 AM
You need a player to play the video... look at the examples on the DreamHost wiki and notice how they link to a .swf file where you're linking directly to the .flv.
RE: Embedding .flv file into a website by Th3rmal on 01-22-2009 at 07:32 AM
quote: Originally posted by WDZ
You need a player to play the video... look at the examples on the DreamHost wiki and notice how they link to a .swf file where you're linking directly to the .flv.
I have had a look at the wiki, thats where the first code came from =/
RE: Embedding .flv file into a website by WDZ on 01-22-2009 at 08:02 AM
The problem is that you replaced the player URL (highlighted in blue below) with the URL of your flv file... try changing it back.
code: <script type="text/javascript" src="https://media.dreamhost.com/ufo.js"></script>
<p id="sample.flv"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var FO = { movie:"https://media.dreamhost.com/mediaplayer.swf",width:"320",height:"240",majorversion:"7",build:"0",bgcolor:"#FFFFFF",
flashvars:"file=https://media.dreamhost.com/sample.flv&showdigits=true&autostart=false" };
UFO.create(FO,"sample.flv");
</script>
You could also upload a flash video player to your own site if you don't want to use DreamHost's copy.
RE: Embedding .flv file into a website by Th3rmal on 01-22-2009 at 08:23 AM
quote: Originally posted by WDZ
The problem is that you replaced the player URL (highlighted in blue below) with the URL of your flv file... try changing it back.
code: <script type="text/javascript" src="https://media.dreamhost.com/ufo.js"></script>
<p id="sample.flv"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</p>
<script type="text/javascript">
var FO = { movie:"https://media.dreamhost.com/mediaplayer.swf",width:"320",height:"240",majorversion:"7",build:"0",bgcolor:"#FFFFFF",
flashvars:"file=https://media.dreamhost.com/sample.flv&showdigits=true&autostart=false" };
UFO.create(FO,"sample.flv");
</script>
You could also upload a flash video player to your own site if you don't want to use DreamHost's copy.
OHHHHHH thanks testing now....
EDIT: Yay works! ty
RE: Embedding .flv file into a website by Ezra on 01-22-2009 at 02:57 PM
If you are looking for other flv players this is a good one: http://www.longtailvideo.com/players/jw-flv-player/
You can also add plugins to it for ratings and other stuff.
RE: Embedding .flv file into a website by prashker on 01-22-2009 at 09:17 PM
JW fails at life, get FlowPlayer
http://sonicsam.net for example (720p too!)
RE: Embedding .flv file into a website by Mike on 01-22-2009 at 09:41 PM
ALL flv players that use Flash suck. Period.
Suggestion: Use DivX Web Player.
RE: Embedding .flv file into a website by prashker on 01-22-2009 at 09:51 PM
hey cool lets use a player nobody has!
RE: Embedding .flv file into a website by Mike on 01-22-2009 at 10:01 PM
quote: Originally posted by SonicSam
hey cool lets use a player nobody has!
And that's the reason Flash still dominates the market...
RE: Embedding .flv file into a website by Ezra on 01-23-2009 at 02:47 AM
quote: Originally posted by SonicSam
JW fails at life, get FlowPlayer
http://sonicsam.net for example (720p too!)
Your site fails at streaming the video fast enough to show me the video's. I'll look into flowplayer tho.
RE: Embedding .flv file into a website by prashker on 01-23-2009 at 04:59 AM
quote: Originally posted by Ezra
quote: Originally posted by SonicSam
JW fails at life, get FlowPlayer
http://sonicsam.net for example (720p too!)
Your site fails at streaming the video fast enough to show me the video's. I'll look into flowplayer tho.
It's fine for me
RE: Embedding .flv file into a website by toddy on 01-23-2009 at 05:26 AM
quote: Originally posted by SonicSam
quote: Originally posted by Ezra
quote: Originally posted by SonicSam
JW fails at life, get FlowPlayer
http://sonicsam.net for example (720p too!)
Your site fails at streaming the video fast enough to show me the video's. I'll look into flowplayer tho.
It's fine for me
fails here
RE: Embedding .flv file into a website by ShawnZ on 01-23-2009 at 05:59 AM
quote: Originally posted by toddy
quote: Originally posted by SonicSam
quote: Originally posted by Ezra
quote: Originally posted by SonicSam
JW fails at life, get FlowPlayer
http://sonicsam.net for example (720p too!)
Your site fails at streaming the video fast enough to show me the video's. I'll look into flowplayer tho.
It's fine for me
fails here
your net is shit then.
RE: Embedding .flv file into a website by toddy on 01-23-2009 at 06:41 AM
quote: Originally posted by ShawnZ
quote: Originally posted by toddy
quote: Originally posted by SonicSam
quote: Originally posted by Ezra
quote: Originally posted by SonicSam
JW fails at life, get FlowPlayer
http://sonicsam.net for example (720p too!)
Your site fails at streaming the video fast enough to show me the video's. I'll look into flowplayer tho.
It's fine for me
fails here
your net is shit then.
on a 10Mb connection
RE: Embedding .flv file into a website by Jarrod on 01-23-2009 at 01:02 PM
quote: Originally posted by toddy
on a 10Mb connection
i have a .5Mb connection
RE: Embedding .flv file into a website by Spunky on 01-23-2009 at 03:09 PM
quote: Originally posted by Jarrod
quote: Originally posted by toddy
on a 10Mb connection
i have a .5Mb connection
16Mb!
NOW MY PENIS IS THE BIGGEST!!!! WINRAR IS ME!
RE: Embedding .flv file into a website by toddy on 01-23-2009 at 03:17 PM
quote: Originally posted by Spunky
quote: Originally posted by toddy
on a 10Mb connection
i have a .5Mb connection
16Mb!
NOW MY PENIS IS THE BIGGEST!!!! WINRAR IS ME! do you actually get the full 16Mb tho ?
RE: Embedding .flv file into a website by djdannyp on 01-23-2009 at 03:30 PM
RE: Embedding .flv file into a website by Mike on 01-23-2009 at 03:43 PM
quote: Originally posted by toddy
NOW MY PENIS IS THE BIGGEST!!!! WINRAR IS ME!
I've got a 24mbps connection (although I only reach 16-17mbps ).
quote: Originally posted by djdannyp
Why hotlink from the outside when you can hotlink from the inside?
http://shoutbox.menthix.net/images/download.jpg
RE: Embedding .flv file into a website by tony on 01-23-2009 at 04:16 PM
21743 kbps down 5611 up
RE: Embedding .flv file into a website by NanaFreak on 01-23-2009 at 11:53 PM
]=
|