Solved

Remove controls from embedded YouTube video?

Posted on 2011-09-21
6
409 Views
Last Modified: 2012-05-12
Hi,

I would like to add a youtube video to my site, but I would like to remove the controls. I woould just like the user to be able to click on the video to play, and click again to pause. Maybe the fullscreen option also. Nothing else. Is this possible? If so how could it be done?

Thanks in advance for any info!

Andrey
0
Comment
Question by:andreyman3d2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 16

Expert Comment

by:rbudj
ID: 36577658
You have to adjust the parameters of the embedded player: http://code.google.com/apis/youtube/player_parameters.html
0
 
LVL 6

Author Comment

by:andreyman3d2k
ID: 36577719
I tried, but it didn't work for me. I tried to add the line:

controls="0"

But it had no effect. I tried reading the API material, but it's a bit over my head.

Andrey
0
 
LVL 3

Accepted Solution

by:
mykde earned 500 total points
ID: 36578470
Here is a an Example:

<iframe width="560" height="315" src="http://www.youtube.com/embed/pIGgGV7uwU4?controls=0" frameborder="0" allowfullscreen></iframe>

Open in new window

0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
LVL 6

Author Comment

by:andreyman3d2k
ID: 36580602
Ah, it goes into the URL - I see. Thanks!

Last question - turning off controls removes the fullscreen option - is there a way to have only that one option available?

Thank you,

Andrey
0
 
LVL 3

Expert Comment

by:mykde
ID: 36581550
I do not see in the documentation anyway to show only the full screen button.

However the example above will enter full screen if you double click on the movie while it is playing.
0
 
LVL 6

Author Closing Comment

by:andreyman3d2k
ID: 36581665
Awesome, exactly what I needed!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Text too large in Chrome 17 63
Video Tutorial help 2 39
arrays and buttons with user input 2 34
Jquery Ajax - on change event not being picked up 9 34
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question