SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Apr 2011
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I improve embedded Video playback?

    I embedded some videos on a site I am building. The videos are hosted on Vemeo. They will be viewed in a ‘LightBox’ type of window when launched. The JQuery script I used is named ColorBox.

    The videos seem to play fine but on some machines playback starts out stalled and jaggy. If I was creating a Flash site the obvious answer would be to create a preloader but this site is entirely xHTML and JavaScript.

    Anyone know how to improve playback for embedded videos? Is there a way to create a preloader or some such similar solution?

    Thanks


    Link: garrigan.net/sites/DSF_New/

  2. #2
    SitePoint Wizard
    Join Date
    Dec 2003
    Location
    USA
    Posts
    2,582
    Mentioned
    29 Post(s)
    Tagged
    0 Thread(s)
    Generally hosted videos have a buffer in them already, so it's possible that it's not that.

    If it really is just taking time to load, there isn't much that you can do about that other than having the users wait a few seconds (you can't really control that with JS though, without doing something that would make it so the video isn't buffering).

    However, it's also possible that something in your Javascript is causing the video to lag on slower machines. I would try disabling all of your Javascript and see if the video plays back any better, then go from there.

  3. #3
    Non-Member
    Join Date
    Sep 2007
    Posts
    148
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You may want to look into reducing the bitrate and/or display size of the videos you're using. Some internet connections can't handle higher bitrates and will slow the video

  4. #4
    Word Painter silver trophy Shyflower's Avatar
    Join Date
    Oct 2003
    Location
    Winona, MN USA
    Posts
    10,053
    Mentioned
    142 Post(s)
    Tagged
    2 Thread(s)
    this question was originally asked in August. Hopefully the OP has found an answer by now. Thread closed.
    Linda Jenkinson
    "Say what you mean. Mean what you say. But don't say it mean." ~Unknown


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •