www.webdeveloper.com
Results 1 to 8 of 8

Thread: HTML, how to disable autoplay

  1. #1
    Join Date
    Jan 2011
    Posts
    6

    HTML, how to disable autoplay

    Hello world. I am new here and I have just basic expririence of html from Uni but I was wondering if anyone can help me with small problem which I am facing. I have an blog and there is a video in a web site where it gives you the option to ambed it by coping its code and the video works just fine but the problem is that there is an annoying commercial for 15 secs at the begging which you can not stop and also the video play once you have open the page.

    First and for most, I would to find some way to kill the autoplay, I found 3 times the word autoplay with some code but I cant delete it because then the video does not play, I cant also translate this weird code.

    As a second but least important problem, I would like to to kill the commercial at the before the main video.

    Is there anyone you can help me to crack this code?
    Thanks anyway guys.

  2. #2
    Join Date
    Nov 2010
    Location
    Los Angeles, CA
    Posts
    234
    can you post a link to the page with the video?

  3. #3
    Join Date
    Jan 2011
    Posts
    6
    sorry Big O, after I did the threat I realised that forgot to attach the code so I did again a new threat. anyway the website is greek and here is: http://www.skai.gr/player/TV/?MMID=23045

    but most important this is the code:

    Code:
    <object id="null" width="588" height="331" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> 
        <param value="true" name="allowfullscreen"/>
        <param value="always" name="allowscriptaccess"/>
        <param value="high" name="quality"/>
        <param value="true" name="cachebusting"/>
        <param value="#000000" name="bgcolor"/>
        <param name="movie" value="http://www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer-3.2.5.swf?0.36807105503976345" />
        <param value="config=%7B%22clip%22%3A%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%2C%22plugins%22%3A%7B%22controls%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.controls-3.2.3.swf%22%2C%22buttonColor%22%3A%22%23000000%22%2C%22buttonOverColor%22%3A%22%23000000%22%2C%22backgroundColor%22%3A%22rgba%280%2C0%2C0%2C0%29%22%7D%2C%22viral%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.viralvideos-3.2.3.swf%22%2C%22share%22%3A%7B%22shareUrl%22%3A%22http%3A//www.skai.gr/player/TV/%3FMMID%3D23045%22%2C%22title%22%3A%22Μοιραστείτε%20το%20βίντεο%22%2C%22description%22%3A%22Αραβικές%20νύχτες%22%7D%2C%22embed%22%3A%7B%22size%22%3A%22Μέγεθος%22%2C%22title%22%3A%22Επιλέξτε%20τον%20ακόλουθο%20κώδικα%20και%20προσθέσθε%20τον%20στην%20ιστοσελίδα%20σας%22%2C%22copy%22%3A%22Αντιγραφή%22%2C%22options%22%3A%22Προσαρμόστε%20το%20χρώμα%20και%20το%20μέγεθος%22%2C%22buttonColor%22%3A%22Χρώμα%20πλήκτρων%22%2C%22backgroundColor%22%3A%22Χρώμα%20background%22%7D%2C%22email%22%3Afalse%7D%2C%22vidads%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/vidads.swf%22%2C%22iurl%22%3A%22http%3A//www.vidads.gr/get/video/nms/92%22%7D%2C%22myContent%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.content-3.2.0.swf%22%2C%22borderRadius%22%3A0%2C%22bottom%22%3A30%2C%22display%22%3A%22none%22%2C%22height%22%3A30%2C%22border%22%3A%22none%22%2C%22html%22%3A%22%3Cp%3E%3Cimg%20vspace%3D%5C%220%5C%22%20hspace%3D%5C%220%5C%22%20align%3D%5C%22right%5C%22%20src%3D%5C%22http%3A//www.skai.gr/files/1/contentRating_flow/SYMBOL2.png%5C%22/%3E%3Cp%20align%3D%5C%22left%5C%22%3EΑραβικές%20νύχτες%3C/p%3E%3C/p%3E%22%2C%22style%22%3A%7B%22.title%22%3A%7B%22fontSize%22%3A13%2C%22fontFamily%22%3A%22Helvetica%2C%20Arial%2C%20sans-serif%22%7D%7D%7D%7D%2C%22playlist%22%3A%5B%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%5D%7D" name="flashvars"/>
        <embed src="http://www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer-3.2.5.swf?0.36807105503976345" type="application/x-shockwave-flash" width="588" height="331" allowfullscreen="true" allowscriptaccess="always" cachebusting="true" flashvars="config=%7B%22clip%22%3A%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%2C%22plugins%22%3A%7B%22controls%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.controls-3.2.3.swf%22%2C%22buttonColor%22%3A%22%23000000%22%2C%22buttonOverColor%22%3A%22%23000000%22%2C%22backgroundColor%22%3A%22rgba%280%2C0%2C0%2C0%29%22%7D%2C%22viral%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.viralvideos-3.2.3.swf%22%2C%22share%22%3A%7B%22shareUrl%22%3A%22http%3A//www.skai.gr/player/TV/%3FMMID%3D23045%22%2C%22title%22%3A%22Μοιραστείτε%20το%20βίντεο%22%2C%22description%22%3A%22Αραβικές%20νύχτες%22%7D%2C%22embed%22%3A%7B%22size%22%3A%22Μέγεθος%22%2C%22title%22%3A%22Επιλέξτε%20τον%20ακόλουθο%20κώδικα%20και%20προσθέσθε%20τον%20στην%20ιστοσελίδα%20σας%22%2C%22copy%22%3A%22Αντιγραφή%22%2C%22options%22%3A%22Προσαρμόστε%20το%20χρώμα%20και%20το%20μέγεθος%22%2C%22buttonColor%22%3A%22Χρώμα%20πλήκτρων%22%2C%22backgroundColor%22%3A%22Χρώμα%20background%22%7D%2C%22email%22%3Afalse%7D%2C%22vidads%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/vidads.swf%22%2C%22iurl%22%3A%22http%3A//www.vidads.gr/get/video/nms/92%22%7D%2C%22myContent%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.content-3.2.0.swf%22%2C%22borderRadius%22%3A0%2C%22bottom%22%3A30%2C%22display%22%3A%22none%22%2C%22height%22%3A30%2C%22border%22%3A%22none%22%2C%22html%22%3A%22%3Cp%3E%3Cimg%20vspace%3D%5C%220%5C%22%20hspace%3D%5C%220%5C%22%20align%3D%5C%22right%5C%22%20src%3D%5C%22http%3A//www.skai.gr/files/1/contentRating_flow/SYMBOL2.png%5C%22/%3E%3Cp%20align%3D%5C%22left%5C%22%3EΑραβικές%20νύχτες%3C/p%3E%3C/p%3E%22%2C%22style%22%3A%7B%22.title%22%3A%7B%22fontSize%22%3A13%2C%22fontFamily%22%3A%22Helvetica%2C%20Arial%2C%20sans-serif%22%7D%7D%7D%7D%2C%22playlist%22%3A%5B%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%5D%7D" bgcolor="#000000" quality="true">
          <a href="null" target="_blank"></a>
        </embed>
    </object>

  4. #4
    Join Date
    Jan 2011
    Location
    WI
    Posts
    8
    If it is an strictly an embed, usually you just have to put autostart="false" within the embed tag.

    EXAMPLE:


    <embed autostart="false">


    If it is an object (which is recommended), you will want to use a param.

    EXAMPLE:

    <object width="160" height="144">
    <param name="autoplay" value="false">

    <embed src="sample.mov" width="160" height="144"
    autoplay="false" controller="false"
    </embed>

    </object>


    Good Luck

    Jaysantos
    website-tips.lightningcraft.com

  5. #5
    Join Date
    Jan 2011
    Posts
    6
    @jaysantos thanks also for your reply but the most of the code is not in plain english as your example and as my knowledge in html. I have already reply with the code which i forgot in the original threat but for some reason has been not approved yet.

  6. #6
    Join Date
    Jan 2011
    Posts
    6
    please anyone? you can see the code posted above

  7. #7
    Join Date
    Jan 2011
    Location
    WI
    Posts
    8
    If it is an strictly an embed, usually you just have to put autostart="false" within the embed tag.

    EXAMPLE:

    <embed autostart="false">


    If it is an object (which is recommended), you will want to use a param.

    EXAMPLE:

    <object width="160" height="144">
    <param name="autoplay" value="false">

    <embed src="sample.mov" width="160" height="144"
    autoplay="false" controller="false"
    </embed>

    </object>
    Just put the location of your video file in the place of "sample.mov"

  8. #8
    Join Date
    Mar 2013
    Posts
    1
    Quote Originally Posted by helloworld001 View Post
    sorry Big O, after I did the threat I realised that forgot to attach the code so I did again a new threat. anyway the website is greek and here is: http://www.skai.gr/player/TV/?MMID=23045

    but most important this is the code:

    Code:
    <object id="null" width="588" height="331" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"> 
        <param value="true" name="allowfullscreen"/>
        <param value="always" name="allowscriptaccess"/>
        <param value="high" name="quality"/>
        <param value="true" name="cachebusting"/>
        <param value="#000000" name="bgcolor"/>
        <param name="movie" value="http://www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer-3.2.5.swf?0.36807105503976345" />
        <param value="config=%7B%22clip%22%3A%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%2C%22plugins%22%3A%7B%22controls%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.controls-3.2.3.swf%22%2C%22buttonColor%22%3A%22%23000000%22%2C%22buttonOverColor%22%3A%22%23000000%22%2C%22backgroundColor%22%3A%22rgba%280%2C0%2C0%2C0%29%22%7D%2C%22viral%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.viralvideos-3.2.3.swf%22%2C%22share%22%3A%7B%22shareUrl%22%3A%22http%3A//www.skai.gr/player/TV/%3FMMID%3D23045%22%2C%22title%22%3A%22Μοιραστείτε%20το%20βίντεο%22%2C%22description%22%3A%22Αραβικές%20νύχτες%22%7D%2C%22embed%22%3A%7B%22size%22%3A%22Μέγεθος%22%2C%22title%22%3A%22Επιλέξτε%20τον%20ακόλουθο%20κώδικα%20και%20προσθέσθε%20τον%20στην%20ιστοσελίδα%20σας%22%2C%22copy%22%3A%22Αντιγραφή%22%2C%22options%22%3A%22Προσαρμόστε%20το%20χρώμα%20και%20το%20μέγεθος%22%2C%22buttonColor%22%3A%22Χρώμα%20πλήκτρων%22%2C%22backgroundColor%22%3A%22Χρώμα%20background%22%7D%2C%22email%22%3Afalse%7D%2C%22vidads%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/vidads.swf%22%2C%22iurl%22%3A%22http%3A//www.vidads.gr/get/video/nms/92%22%7D%2C%22myContent%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.content-3.2.0.swf%22%2C%22borderRadius%22%3A0%2C%22bottom%22%3A30%2C%22display%22%3A%22none%22%2C%22height%22%3A30%2C%22border%22%3A%22none%22%2C%22html%22%3A%22%3Cp%3E%3Cimg%20vspace%3D%5C%220%5C%22%20hspace%3D%5C%220%5C%22%20align%3D%5C%22right%5C%22%20src%3D%5C%22http%3A//www.skai.gr/files/1/contentRating_flow/SYMBOL2.png%5C%22/%3E%3Cp%20align%3D%5C%22left%5C%22%3EΑραβικές%20νύχτες%3C/p%3E%3C/p%3E%22%2C%22style%22%3A%7B%22.title%22%3A%7B%22fontSize%22%3A13%2C%22fontFamily%22%3A%22Helvetica%2C%20Arial%2C%20sans-serif%22%7D%7D%7D%7D%2C%22playlist%22%3A%5B%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%5D%7D" name="flashvars"/>
        <embed src="http://www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer-3.2.5.swf?0.36807105503976345" type="application/x-shockwave-flash" width="588" height="331" allowfullscreen="true" allowscriptaccess="always" cachebusting="true" flashvars="config=%7B%22clip%22%3A%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%2C%22plugins%22%3A%7B%22controls%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.controls-3.2.3.swf%22%2C%22buttonColor%22%3A%22%23000000%22%2C%22buttonOverColor%22%3A%22%23000000%22%2C%22backgroundColor%22%3A%22rgba%280%2C0%2C0%2C0%29%22%7D%2C%22viral%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.viralvideos-3.2.3.swf%22%2C%22share%22%3A%7B%22shareUrl%22%3A%22http%3A//www.skai.gr/player/TV/%3FMMID%3D23045%22%2C%22title%22%3A%22Μοιραστείτε%20το%20βίντεο%22%2C%22description%22%3A%22Αραβικές%20νύχτες%22%7D%2C%22embed%22%3A%7B%22size%22%3A%22Μέγεθος%22%2C%22title%22%3A%22Επιλέξτε%20τον%20ακόλουθο%20κώδικα%20και%20προσθέσθε%20τον%20στην%20ιστοσελίδα%20σας%22%2C%22copy%22%3A%22Αντιγραφή%22%2C%22options%22%3A%22Προσαρμόστε%20το%20χρώμα%20και%20το%20μέγεθος%22%2C%22buttonColor%22%3A%22Χρώμα%20πλήκτρων%22%2C%22backgroundColor%22%3A%22Χρώμα%20background%22%7D%2C%22email%22%3Afalse%7D%2C%22vidads%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/vidads.swf%22%2C%22iurl%22%3A%22http%3A//www.vidads.gr/get/video/nms/92%22%7D%2C%22myContent%22%3A%7B%22url%22%3A%22http%3A//www.skai.gr/Themes/1/Default/Media/Media_player/flowplayer.content-3.2.0.swf%22%2C%22borderRadius%22%3A0%2C%22bottom%22%3A30%2C%22display%22%3A%22none%22%2C%22height%22%3A30%2C%22border%22%3A%22none%22%2C%22html%22%3A%22%3Cp%3E%3Cimg%20vspace%3D%5C%220%5C%22%20hspace%3D%5C%220%5C%22%20align%3D%5C%22right%5C%22%20src%3D%5C%22http%3A//www.skai.gr/files/1/contentRating_flow/SYMBOL2.png%5C%22/%3E%3Cp%20align%3D%5C%22left%5C%22%3EΑραβικές%20νύχτες%3C/p%3E%3C/p%3E%22%2C%22style%22%3A%7B%22.title%22%3A%7B%22fontSize%22%3A13%2C%22fontFamily%22%3A%22Helvetica%2C%20Arial%2C%20sans-serif%22%7D%7D%7D%7D%2C%22playlist%22%3A%5B%7B%22url%22%3A%22http%3A//download.skai.gr/200903/video/folders-arabianights030309.flv%22%2C%22autoPlay%22%3Atrue%7D%5D%7D" bgcolor="#000000" quality="true">
          <a href="null" target="_blank"></a>
        </embed>
    </object>
    Where can I place my own video file url in this code ? I will really appreciate it.

Thread Information

Users Browsing this Thread

There are currently 3 users browsing this thread. (0 members and 3 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles