Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

How do I REMOVE autoplay codes in HTML


  • Please log in to reply

#1
researchris

researchris

    New Member

  • Member
  • Pip
  • 3 posts
hi there, i see some videos from a video upload site and want to embed them into my blog, but when i paste them in, and load the page, it autoplays, which is NOT good as i have multiple videos there and don't want them ALL to play at once... here is an example of what the codes look like and what do i have to modify to stop the autoplay? any help is VERY much appreciated. take care

<object width="450" height="353"><param name="movie" value="http://www.videonews...ovieplayer.swf" /><param name="wmode" value="transparent" /><param name="FlashVars" value="vidpath=http://www.videonewslive.com/upload_videos/881.flv" /><embed src="http://www.videonews...ovieplayer.swf" FlashVars="vidpath=http://www.videonewslive.com/upload_videos/881.flv" width="450" height="353" type="application/x-shockwave-flash" pluginspage="http://www.macromedi...getflashplayer" /></object>
  • 0

Advertisements


#2
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Try adding this to object tag:
<param name="play" value="false" />

and this to opening embed tag: play="false"

If that doesn't work, then it may have been set inside the flash.
  • 0

#3
researchris

researchris

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts
thanks for the quick reply, i tried what you suggested and the blog allowed the video to be published but looking on the blog, there was no video to be seen... any other ideas?
  • 0

#4
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
Is this a change from before when it was auto-playing? I took from your post that it was working, but it started to play on page load which you didn't want. What is the link to player?
  • 0

#5
researchris

researchris

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts
i appreciate you sticking with me. i am at a very novice level of html knowledge. please excuse my long windedness. before, with the original html codes for embedding worked perfecly, just played automatically when the page loaded. after making the insertions (seen below) it did not work and i'm assuming i did not insert it correctly in the language talk of html world.

this was the original html code:

<object width="450" height="353"><param name="movie" value="http://www.videonews...ovieplayer.swf" /><param name="wmode" value="transparent" /><param name="FlashVars" value="vidpath=http://www.videonewslive.com/upload_videos/881.flv" /><embed src="http://www.videonews...ovieplayer.swf" FlashVars="vidpath=http://www.videonewslive.com/upload_videos/881.flv" width="450" height="353" type="application/x-shockwave-flash" pluginspage="http://www.macromedi...getflashplayer" /></object>

and you suggested to add this tag: <param name="play" value="false" />

and this to opening embed tag: play="false"

so what i ended up doing (not sure if it was correct) was make these insertions

<object width="450" height="353"><param name="movie" value="http://www.videonews...ovieplayer.swf" /><param name="wmode" value="transparent" /><param name="FlashVars" value="vidpath=http://www.videonewslive.com/upload_videos/881.flv" /><play="false" embed src="http://www.videonews...ovieplayer.swf" FlashVars="vidpath=http://www.videonewslive.com/upload_videos/881.flv" width="450" height="353" type="application/x-shockwave-flash" pluginspage="http://www.macromedi...getflashplayer" /><param name="play" value="false" /></object>

once again, thank you so much for helping me. take care
  • 0

#6
Major Payne

Major Payne

    Retired Staff

  • Retired Staff
  • 5,307 posts
This is in the wrong order: <play="false" embed You have essentially removed the embed tag. Never put anything before an opening tag's name.

This. <param name="play" value="false" />, probably doesn't matter, but why not place it with the other <para> tags?

Edited by Major Payne, 30 December 2008 - 03:01 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP