Dreamweaver and S3 Amazon

by Rainer
7 replies
  • WEB DESIGN
  • |
I'm using the video player that comes with Dreamweaver CS4 and it seems to work fine as long as I'm using the flash video on my hard drive.

How do I change the embed src to link it to my video on Amazon's S3 storage? I can't find the code in Dreamweaver to make that change.

I'm sure it's a no-brainer for you DW experts out there but this is really frustrating me. Must be doing something wrong. :confused:

Any quick help is appreciated.

Thanks.

Rainer
#amazon #dreamweaver #s3 amazon
  • Profile picture of the author Jeff Klein
    Not sure the code is contained in Dreamweaver but that's not to say you can't do it. You just need to find the code elsewhere. Try doing a Google search for dreamwever S3 or something like that. I am sure it's out there. Best of luck.
    {{ DiscussionBoard.errors[1690309].message }}
    • Profile picture of the author Rainer
      Originally Posted by jklein View Post

      Not sure the code is contained in Dreamweaver but that's not to say you can't do it. You just need to find the code elsewhere. Try doing a Google search for dreamwever S3 or something like that. I am sure it's out there. Best of luck.
      Still can't get it to work. Even my DW programmer doesn't know how to do it. Next stop is a DW forum. After that I guess it's a different flash player.

      Thanks anyway.

      Rainer
      {{ DiscussionBoard.errors[1695905].message }}
  • {{ DiscussionBoard.errors[1695936].message }}
  • Profile picture of the author Jeff Klein
    According to this Yahoo Answer, Amazon S3 provides you with a public link to your video after you upload it. Did you get this public link? Are you able to add it to your page in Dreamweaver's code view?
    {{ DiscussionBoard.errors[1695943].message }}
    • Profile picture of the author Rainer
      Originally Posted by jklein View Post

      According to this Yahoo Answer, Amazon S3 provides you with a public link to your video after you upload it. Did you get this public link? Are you able to add it to your page in Dreamweaver's code view?
      Tried that. I think the problem is with S3, not Dreamweaver, because I can get it ti work if I host the video in Hostgator.

      R.
      {{ DiscussionBoard.errors[1715935].message }}
      • Profile picture of the author EzraCc
        I know the thread is old, but I it's ranking high in Google so I figured I'd provide a possible answer.

        Flash, and videos in general, have a URL policy file, aka crossdomain.xml, that restricts what websites can access files. E.g., you probably don't want Pirates-R-Us.com to be able to pull your popular videos straight from your site, where you'll get pinged for the data transfers. The default is that only the domain hosting the .swf or video has permission to load it.

        Amazon's public link will allow others to visit the S3 URL of the video to view the file, but that does not allow your site on HostGator to play the video from S3 directly on your site.

        The good news is that you can create a crossdomain.xml file and load it to the ROOT of your S3 bucket to grant your site access to the resources on S3. Make sure to put it at the root and not in a folder or it won't work. Amazon has an article on it here: Using Amazon S3 with Adobe Flash and Microsoft Silverlight : Articles & Tutorials : Amazon Web Services

        There is a code box with a sample file you can copy. Just change out the two instances of *.example.com with your website. Note that the * is a wildcard that grants access to all sub-domains. You may or may not want that.
        {{ DiscussionBoard.errors[8597599].message }}
  • Profile picture of the author fthomas137
    If you have access to the warrior, search it there. There have been a few posts in this regard there.

    Frank
    {{ DiscussionBoard.errors[1696068].message }}

Trending Topics