9 replies
I'm trying to figure out the best way to host a video on my website and have it auto play and I don't want it to be able to be paused. Does anyone have any suggestions? I would really appreciate it
#embedding #video
  • Profile picture of the author ronperkins
    It's really going to depend on the format of your video.... but if you can convert it to flash (flv) format then I would recommend that you have a read here:

    swfobject - Project Hosting on Google Code

    You may also want to have a look at Amazon's S3 service for the actual hosting of your video:

    Amazon Simple Storage Service (Amazon S3)
    {{ DiscussionBoard.errors[2476232].message }}
    • Profile picture of the author jaywilsonjr
      There is a even easier way that is pretty straight forward if you want something simple...

      convert your site over to HTML5 doctype. Then use the <video>http://videoLinkHere.flv </video>tag to embed your video on the page. There are plenty of sites that can show you how to do this.

      Just google HTML5 + video and you will find out everything you need to know...

      HTML5 has some new killer attributes. One of which is the ability to embed video directly in the page just using HTML (no more having to embed/host a flash video player.) You can do some super niffy things if you know a little javascript/css...

      Hope this helps mate,

      If you need a hand let me know...


      Jay
      Signature
      Got Tech Problems? PM me for quick help!

      Need a psd converted into a website? --> Check out my new offer | 1 FREE review copy left!
      {{ DiscussionBoard.errors[2486282].message }}
      • Profile picture of the author ronperkins
        Originally Posted by jaywilsonjr View Post

        There is a even easier way that is pretty straight forward if you want something simple...

        convert your site over to HTML5 doctype. Then use the <video>http://videoLinkHere.flv </video>tag to embed your video on the page.
        The video tag at the moment is not supported in IE and it looks like we will have to wait until IE9 before it is. Becuase of this you will still need to provide a solution for the current IE browsers of IE6, 7 and 8...

        Looking at my own website stats the majority of users who are coming to my websites are using mostly IE6, IE8 and then Firefox.

        In my opinon I think it is best to stick with good old HTML4 at the moment until all browsers fully support the new standards of HTML5.
        {{ DiscussionBoard.errors[2489793].message }}
        • Profile picture of the author iamscottj
          Originally Posted by ronperkins View Post

          The video tag at the moment is not supported in IE and it looks like we will have to wait until IE9 before it is. Becuase of this you will still need to provide a solution for the current IE browsers of IE6, 7 and 8...

          Looking at my own website stats the majority of users who are coming to my websites are using mostly IE6, IE8 and then Firefox.

          In my opinon I think it is best to stick with good old HTML4 at the moment until all browsers fully support the new standards of HTML5.
          And one more thing. I dont think that the video tag supports FLV straight out of box. I think if you want to go to plugin based, flash is the popular one and even Silverlight has got decent players. Silverlight player will play the videos of some formats like playback of MP3, WMA Standard, WMV7, WMV8 and WMV9/VC-1 streams.
          I also would like to suggest to you that make sure that you dont auto play the videos or any media content. The target users who have less bandwidth may not like auto playing of the video. Its better to let them click and then play the video.
          Signature
          Watch TV Shows Online

          Its beggars pride that he is not a thief.
          {{ DiscussionBoard.errors[2518795].message }}
  • Profile picture of the author jaywilsonjr
    I guess it depends on the nature of your site, and what you are trying to do. IE has always been behind the eight ball when it came to keeping up with standards, (that nearly every other major browser supported) as a result developers have to create work around so that pages display correctly in IE. This holds true for HTML5, here what you need to do if you want to work with HTML5 now as described earlier in this thread...

    Add this line of text to the head section of your page:

    <meta http-equiv="X-UA-Compatible" content="chrome=1" />

    I won't bore you with the details, but google "Chrome Frame" if you want to learn more. This work around what developed by Google to allow developers to use HTML5 in IE 6 and up. There are critics to this method, but at the end of the day even when IE9 rolls out there will still be tens of millions of users using IE 7 and 8 look at how many people are still using IE 6 today...

    I guess if you are just a end user then you can wait for IE9 to come out before you start messing with HTML5. If you are a developer you will be WAY behind the eight ball if you haven't stated working with it like yesterday. Not that you can't get up to speed fast - because you can...

    I have several sites live now using HTML5, when it really does go main stream I will be in a great position as a freelancer. If you look it is actually being used all around us. Mike Filsaimes AffiliateDotCom.com site is coded in HTML5.

    HTML5 comes down to 3 things, if you work with these 3 things you can create web vodoo magic:

    1. HTML
    2. CSS
    3. JavaScript API's

    It the combination of those 3 that make HTML5 what it is.



    Jay
    Signature
    Got Tech Problems? PM me for quick help!

    Need a psd converted into a website? --> Check out my new offer | 1 FREE review copy left!
    {{ DiscussionBoard.errors[2491683].message }}
    • Profile picture of the author Karen Blundell
      Originally Posted by jaywilsonjr View Post

      snip

      Add this line of text to the head section of your page:

      <meta http-equiv="X-UA-Compatible" content="chrome=1" />

      snip
      thanks for this tip...I was looking for something like this and then you posted...yay!
      Signature
      ---------------
      {{ DiscussionBoard.errors[2512886].message }}
  • Profile picture of the author Justin Wheeler
    Easy Video Player is what I have been using for this. Makes it pretty simple and integrates well with Amazon S3. You have a choice of different players as well.
    Signature
    I sell my own products and training via www.marketerspassport.com
    I review products and offer bonuses at www.wantabonus.com
    I blog personally, infrequently and a little randomly at www.justinwheeler.net
    And I run a Web Development and Social Media Consultancy at www.vashonmedia.com
    Look forward to knowing you... Drop by on Facebook
    {{ DiscussionBoard.errors[2511389].message }}
  • Profile picture of the author Jazzmin
    Just a heads up-- if you plan on doing any Facebook advertising, you can't have your landing page have a video which autoplays.

    Has anyone tested if the autoplay results in more conversions? I guess it must work since it is so common.

    I personally don't like autoplaying videos without controls. You are bound to annoy some of your visitors. (They like controls.) People browsing on the job when they are supposed to be working might get caught. I guess they learn to keep their speaker volume off.
    {{ DiscussionBoard.errors[2518696].message }}

Trending Topics