Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Hide Embed YouTube Video Controls | YouTube Iframe Embed Code Hide Controls

Feb 21, 2013
Introduction

Here I will explain how to hide youtube controls for embedded video or hide or remove controls on youtube embedded video or hide youtube iframe embed code controls or hide title on embedded youtube video.

Description:
  
In previous articles I explained jQuery add play button to youtube video thumbnail, Generate thumbnails from youtube,
jQuery Add blinking effect to text, jQuery change textbox background color on focus and many articles relating to JavaScript, jQuery, asp.net. Now I will explain how hide youtube iframe embed code controls. 

Generally if we want to embed youtube videos we will get iframe code like as shown below 


<iframe src="http://www.youtube.com/embed/FG0fTKAqZ5g" height="315" width="560" allowfullscreen="" frameborder="0">
</iframe>
Once we run above code we will get video output like as shown below
If you observe above video it contains many controls on video to delete those control details we need to make small modification in iframe source url like as shown below

<iframe src="http://www.youtube.com/embed/FG0fTKAqZ5g?rel=0&autohide=1&showinfo=0" height="315" width="560"  allowfullscreen="" frameborder="0">
Once we make modifications if we run abouve code we will get video output like as shown below

If you enjoyed this post, please support the blog below. It's FREE!

Get the latest Asp.net, C#.net, VB.NET, jQuery, Plugins & Code Snippets for FREE by subscribing to our Facebook, Twitter, RSS feed, or by email.

subscribe by rss Subscribe by RSS subscribe by email Subscribe by Email

9 comments :

Anonymous said...

Hi sir
is possible on any site .we can see the live video of earth throw the satellite and any other option or site where we can see video.
Is this possible Today??????????????

Anonymous said...

Mr. Suresh
In My DB... 4 tablse
1) Registration table
2) Country table
3) state table
4)city table

Now in registration table many colums like name ,Mobile,Country, state, city,...etc

and i want to fetch data of Country, state and city from those tables (Country,State and City)

and I also want to save them into Registartion Table also So can in Possible..?
Give me answer.... pls

Anonymous said...

hiiiiiiiiiiiiiiii

Anonymous said...

thx

Unknown said...

hi,
i have 5 videos. if i selected the image it have to take me to video page. but i need that all images should redirected to a same page but specific video in it.can u help?

Anonymous said...

I can´t replay the video. That´s bad for my website that teaches math, so kids might want to replay it....

Susanna said...

Excellent information, many thanks.

Prashant Sahu said...

sir please tell how to solve this problem "The connection to the server was reset while loading the page"
--this occours when i upload image using your tutorial ""JQuery fancy Zoom effect for Image in asp.net _ JQuery Increase Size of image when click on it in asp.net - ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview,SQL Server,Ajax,SSRS, XML examples_files""

Fairoz said...

I want to fetch my subscribed channel videos from youtube data api , this is my code from which i am able to get the subscribed channel's id's but what i want is the video list of subscribed channel...any help will be greatly appreciated here is my code

Dim request1 As WebRequest = _
WebRequest.Create("https://www.googleapis.com/youtube/v3/subscriptions?part=snippet&mine=true&access_token=" & Session("accessToken") & "")

request1.Credentials = CredentialCache.DefaultCredentials
Dim response1 As WebResponse = request1.GetResponse()
Console.WriteLine(CType(response1, HttpWebResponse).StatusDescription)
Dim dataStream10 As Stream = response1.GetResponseStream()
Dim reader10 As New StreamReader(dataStream10)
Dim responseFromServer10 As String = reader10.ReadToEnd()
Dim dict3 = New JavaScriptSerializer().Deserialize(Of Dictionary(Of String, Object))(responseFromServer10)

Dim postalCodevid = dict3("items")
For i As Integer = 0 To postalCodevid.count - 1
Dim vid_id = postalCodevid(i)
Dim temp As String = String.Empty
Dim temp1 = temp("Id")
Next

Give your Valuable Comments

Note: Only a member of this blog may post a comment.

© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.