Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2012
    Posts
    47
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Possible to autoplay embed video? (not youtube)

    I have successfully embed this streaming video:

    Code:
    <div id="vid" style="position:absolute;left:990px;top:880px;">
    <iframe src="http://embed.live.huffingtonpost.com/HPLEmbedPlayer/?segmentId=50f35f5efe3444768d0000b2" width="350" height="174" frameBorder="0" scrollable="no"></iframe>
    </div>
    Is there anyway to make this autoplay though?

    Bonus: Is there anyway to remove the controls too?

  • #2
    New Coder
    Join Date
    Sep 2012
    Posts
    47
    Thanks
    13
    Thanked 0 Times in 0 Posts
    I take it no one knows?

  • #3
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,628
    Thanks
    0
    Thanked 648 Times in 638 Posts
    Perhaps if you were to use a <video> or <object> tag to actually embed the video in your page you would then have access to functionality like that. Currently you don't have the video embedded in your page so the functionality available is specified by the site the video is on.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

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