Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to attach a video hosted on a URL

New Here ,
Apr 13, 2013 Apr 13, 2013

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!

TOPICS
ActionScript
716
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 13, 2013 Apr 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.

Translate
Community Expert ,
Apr 13, 2013 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 14, 2013 Apr 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!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2013 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 14, 2013 Apr 14, 2013

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2013 Apr 14, 2013
LATEST

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines