I'm pretty sure I screwed something up.

3 replies
So, I set up a webpage with a video salesletter.

I uploaded the content to Amazon S3, and set up a cloudfront stream.

When I try to load the page however, the site loads pretty fast, but the video takes awhile to start.

I tried some rudimentary debugging, and from what I can tell, there's a set of redirects that are happening. When the redirect attempts time out, the video loads and plays.

I'm not sure if that's the main problem.

Thoughts?

Site: www.britishboxbreakout.com/BBBSystem/
#pretty #screwed
  • Profile picture of the author SeeSharp
    Hello RonnyRaygun,

    After looking into your incident for a while I will tell you what I found out:
    The video starts that slowly because, as you said, there are many redirects going on and the the player begins to play when the browser stopped the redirects and the page is fully loaded.
    Where do the redirects come from?
    In your jwplayer config you have this(only extract):

    Code:
    <script type='text/javascript'> 
        jwplayer('player').setup({ 
            flashplayer: 'player.swf', 
            image: 'Background1.jpg',
            file: 'SalesLetter1.mov', 
            skin: '/skins/default/glow.zip',
            id: 'playerID',
            autostart: 'true',
            fullscreen: 'false',
            allowfullscreen: 'false',
            controlbar: 'none',
            width: '700', 
            height: '392',
    Now look at this line: "skin: '/skins/default/glow.zip',".
    The browser tries to reach that file, but the server says the file has been moved and is now here: http://www.britishboxbreakout.com/skins/default/zerotofifty.html
    But that file again says it's been moved to http://www.britishboxbreakout.com/skins/default/zerotofifty.html and here we have an endless loop. The browser goes through but at some point it detects the endless loop and stopps going after that redirection, the site is fully loaded and the video begins to play.

    So to fix your problem, you need to fix the redirect for the "glow.zip" file.

    Please let me know if you need additional help.
    {{ DiscussionBoard.errors[5128176].message }}
    • Profile picture of the author RonnyRaygun
      Thanks for your help Exterior!

      You're right about that file, it didn't exist in that exact location.

      For future reference to others that come across this page:

      I found that it was resulting in a 400 error page which I had reconfigured so that it redirects to the salespage of another one of my websites. Because I used a relative and not an absolute address, it tried to find the file in the same directory which caused additional 400 errors and effectively created an infinite loop.

      That has since been fixed, and the page now loads in less than half a second.
      Signature

      {{ DiscussionBoard.errors[5128630].message }}
      • Profile picture of the author JosephTate
        Banned
        I get the same error message as well..thanks for your assistance!
        {{ DiscussionBoard.errors[5133107].message }}

Trending Topics