Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Embedding a youtube video


  • Please log in to reply

#1
Tissue

Tissue

    Member

  • Member
  • PipPip
  • 32 posts
I know how to embed a video onto your site but i was wonder if there was anyway to delete the Download Video! button below it. Its not a big deal but it would be nice to not have it. I notice some other sites do not have it. My website is Hilariousshortfilms.co.nr. the embed code is


<object width="425" height="344"><param name="movie" value="http://www.youtube.c...></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.c...dk8&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></center>

I dont no if there was just a section you deleted to remove this.

Thanks
  • 0

Advertisements


#2
Metallica

Metallica

    Spyware Veteran

  • GeekU Moderator
  • 31,676 posts
Hi Tissue,

I would change this part:
<param name="allowscriptaccess" value="always"></param>

to

<param name="allowscriptaccess" value="samedomain"></param>
Description:
Use allowscriptaccess to let your Flash application communicate with the HTML page hosting it. This is required because fscommand() and getURL() operations can cause JavaScript to use the permissions of the HTML page, which can be different from the permissions of your Flash application. This has important implications for cross-domain security.

I wonder if this would be enough:
<embed src="http://www.youtube.com/v/UHgF36Ycdk8" type="application/x-shockwave-flash" allowscriptaccess="samedomain" allowfullscreen="true" width="425" height="344"></embed>

  • 0

#3
Tissue

Tissue

    Member

  • Topic Starter
  • Member
  • PipPip
  • 32 posts
Yes thank you. It worked.
  • 0

#4
Metallica

Metallica

    Spyware Veteran

  • GeekU Moderator
  • 31,676 posts
You're welcome. :)
  • 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