Youtube and Vimeo shortcode for embed video

Youtube and Vimeo both services are very fine and provide iframe code so we can use them in our web site.

But sometimes we need different type of view. For example, if i want to display only video image, but don’t show title, image etc…..

Here I have find some code for youtube and vimeo


Shortcode Name Value
autohide 0 for visible1 for hides everything

2 for hides the video progress bar

controls 0 to hide the controls
disablekb 1 for disable the keyboard controls
hd 1 to enable hd playback
fs 1 to enable fullscreen mode
rel 0 to disable the related videos when done playing
showinfo 0 to disable display information


Shortcode Name Value
title 0 to hide title
byline 0 for hide “from <uploaded_profile_name>” text
portrait 0 for hide uploaded user’s profile image
autoplay 1 to play video automatically

Above both code inserted into iframe’s src element.

For example,

Posted in web

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s