embedded video autoplay can't working

Discussion in 'Computing and Networks' started by thammineedis, Dec 23, 2011.

  1. thammineedis

    Thread Starter New Member

    Dec 23, 2011
    1
    0
    Hi Everyone!
    Sorry I am poor in English! This is my first blog for embedded video. I want a embedded video in my latest designed site, with auto play option. It cannot working with auto start flashvar. Below mentioned embedded code for my video. Please help me anyone to avoid this issue..

    Thanks in advance!!



    <script src="js/swfobject.js" type="text/javascript"></script>
    <script type="text/javascript">
    function get_video(iid){
    var setIdNumber = 6;

    var flashvars = {};

    flashvars.autostart = "true";

    flashvars.preview = "";

    flashvars.logo = "http://fdmtravelap.ms-serv.com/images/fdmtravellogo.swf";

    flashvars.id = "flash_embed_"+setIdNumber;

    var params = {};

    params.bgcolor = "#000000";

    params.allowfullscreen = "true";

    params.allowscriptaccess = "always";

    params.allownetworking = "all";

    var attributes = {};

    attributes.id = "flash_embed_"+setIdNumber;

    swfobject.embedSWF("http://fdm-travel.tv/flash/c2aanvato.swf?xml=http%3A%2F%2Ffdm-travel.tv%2Fxml%2Fcore_player_clip_data.php%3Fwtvk%"+iid+"%26wtve%3D285%26wtvl%3D2", "flash_embed_"+setIdNumber, "268", "178", "9.0.28", "expressInstall.swf", flashvars, params, attributes);
    }
    get_video('3D012664109281378');
    //get_video('3D013203274821152');
    //get_video( '3D012738286131312');
    </script>

    <div id="flash_embed_6">
    <p><a href="http://www.adobe.com/go/getflashplayer">
    <img src="http://fdmtravelap.ms-serv.com/images/newyork.jpg" border="0" alt="Get Adobe Flash player" /></a></p></div>
     
  2. Wendy

    Moderator

    Mar 24, 2008
    20,766
    2,536
    As far as I know AAC does not support embedded You Tube. Sorry about that.
     
  3. thatoneguy

    AAC Fanatic!

    Feb 19, 2009
    6,357
    718
    Video Autoplay is extremely annoying and disabled by most users on their browsers anyway to prevent ads.
     
  4. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    I think the OP wants embedded video in his personal site. I 'll move this to Programming where he may get more suggestions.
     
Loading...