Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the bar at the top of "youtube" even when mouse hovers over it?

Tags:

youtube

embed

I am attempting to embed a youtube video, however, I have not discovered a way to keep the bar at the top from showing when the mouse hovers over it. For my purposes it is important that users are not able to have a direct link back to the original video where they can re-watch the video. The following link gives commands for embed features within youtube:

https://developers.google.com/youtube/player_parameters#Overview

I have used the controls and disablekb features to limit viewers ability to skip and replay the video, what I need now is to disable the bar which appears at the top of the video.

(Where I have gotten http://www.youtube.com/embed/bFEoMO0pc7k?controls=0&disablekb=1&egm=1)

like image 754
user2701033 Avatar asked Aug 20 '13 18:08

user2701033


People also ask

How do I get rid of the top bar on YouTube?

Open the YouTube video you want to watch and press Ctrl+M. This keyboard shortcut can make YouTube hide the process bar even you haven't paused the YouTube video.

How do I hide YouTube control when paused?

hyde — hide the YouTube video player controls. Press Ctrl+M to hide or show the YouTube video player controls. When you pause a YouTube video, the player controls don't disappear.

How do I get rid of my title on YouTube?

To remove you tube controls and title you can do something like this. showinfo=0 is used to remove title and &controls=0 is used for remove controls like volume,play,pause,expend.


1 Answers

This answer no longer works as YouTube has deprecated the showinfo parameter.

You can hide the embedded player's title bar by adding &showinfo=0. You cannot completely remove all the links to the original video. Here is the best you can do

<iframe width="560" height="315" src="//www.youtube.com/embed/videoid?modestbranding=1&autohide=1&showinfo=0&controls=0" frameborder="0" allowfullscreen></iframe> 

This code will remove the title bar, YouTube branding in controls, controls (optional, delete controls=0 if you need controls). But a white YouTube logo will be displayed on the video with the video link.

Update 1: Here is a new tool that I built to generate customized youtube embed player code- Advanced Youtube Embed Code Generator

like image 148
Shan Eapen Koshy Avatar answered Dec 29 '22 18:12

Shan Eapen Koshy