Copy link to clipboard
Copied
Hi, im in desperate need. sry if this is basic stuff, but this is beyond me.
I got a 980x300 banner that the client want to show their videoclip on.
Cause of kb restrictment the video will be hosted on a external site.
I got the video as a FLV, which i guess i have to first upload on a site, and then attach the url to the banner.
And i got the video on a url with a player in case i needed that.
If someone could explain what to do in steps it would be great!
add an flvplayback component (with or without skin, depending on your needs) to your banner and assign its contentPath to the flv's url.
Copy link to clipboard
Copied
add an flvplayback component (with or without skin, depending on your needs) to your banner and assign its contentPath to the flv's url.
Copy link to clipboard
Copied
Thank you kglad. unfortenatley im abit novice at this, i would highly appreciate an example of how to implement this if its not to mutch work!
I got a deadline on monday and im abit nervous i cant pull this thing off.
Thanks for the feedback anyways!!
Copy link to clipboard
Copied
click window>components and drag an flvplayback component to your stage.
in the properties panel, while the component is still selected on your stage, assign a skin and contentPath.
test.
Copy link to clipboard
Copied
Thx. Well that will make the file .swf not .flv, even though i dont know if thats a bad or a good thing. I have used the swfobject .js to get the video online so i can attach the url back to my banner. but the swf wont show up on my server, which is weird since its showing up when i publish it in flash.
my test html is written like this:
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Soon new website</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<!-- <META HTTP-EQUIV="refresh" CONTENT="1"> -->
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("vid1.swf", "altContent", "456", "300", "9.0.0", false, flashvars, params, attributes);
</script>
</head>
<body>
<div id="altContent">
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</div>
</body>
</html>
so it should be correct shouldnt it.. (the swfobject.js is also on the ftp).
Its starting to get frustrating, cause this should be basic, but i just cant get it to work.
Thank you for the patience anyways.
Copy link to clipboard
Copied
this, "Well, that will make the file .swf not .flv" makes no sense.
in addition, "I have used the swfobject .js to get the video online so i can attach the url back to my banner. but the swf wont show up on my server, which is weird since its showing up when i publish it in flash." makes no sense.
anyway, you have code to embed vid1.swf using the html page code you showed in message 4. how do you suppose vid1.swf is going to display your flv file?
(HINT: read messages 1 and 3.)
or, maybe you want to add the flv to vid1.swf's timeline?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now