how to remove watch later, share and subscribe options from youtube video embedded in html
When we using YouTube embed's privacy-enhanced mode, it will hide share and watch later button. check below embed's code and image.
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/KjKE4hD6e_Y" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
YouTube can't remove share, watch later and channel
Youtube revision history states that showinfo
parameter is deprecated as of September 25, 2018. It was used to hide video title and uploader info.
Following the change, the channel avatar and video title will always display before playback begins, when playback is paused, and when playback ends. The avatar being displayed is new behavior that will be consistent across all embedded players.
Unfortunately it seems that "Watch Later" and "Share" buttons are part of this feature and they can't be removed.
Youtube : Remove only "Watch later" & "Share" icon button on video
We can use flash version of YouTube player and disable external links property.
Related Topics
Allow Only One Checked Checkbox, Angular Best Practice.
Change Specific Button Text on Click Inside Ngfor
How to Make a Owl Carousel With Arrows Instead of Next Previous
Error Ts2739: Type '{}' Is Missing the Following Properties from Type
How to Clear Location.State in React-Router on Page Reload
Have a Div Move on Scroll Up and Down
Make Angular.Foreach Wait for Promise After Going to Next Object
React Js - How to Get Click Event Values from Child Component to Parent Component
Get Initials and Full Last Name from a String Containing Names
Scrollable Table With Fixed Headers and Fixed First Column
Slick Carousel - Force Slides to Have the Same Height
How to Count the Entire Number of Rows in a Datatable
Button Enabled and Disabled Based on Checkbox Is Checked or Not
What Is the Purpose of the Dollar Sign in JavaScript
Label and Input Fields on the Same Line
Make Redirect to New Url But Remove Previous from History
Call External JavaScript Function from React Typescript Components