Skip to main content
Participant
April 13, 2013
Answered

How to attach a video hosted on a URL

  • April 13, 2013
  • 1 reply
  • 746 views

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!

This topic has been closed for replies.
Correct answer kglad

add an flvplayback component (with or without skin, depending on your needs) to your banner and assign its contentPath to the flv's url.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
April 13, 2013

add an flvplayback component (with or without skin, depending on your needs) to your banner and assign its contentPath to the flv's url.

mr_RazorAuthor
Participant
April 14, 2013

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

mr_RazorAuthor
Participant
April 14, 2013

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.


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.