I am using a light box type of player to open and play you tube videos. My people don't want the video link to be accessible or shared from within the player.
I.E they only want the video to play when the video loads in the player. So they don't want the share button visible and they don't want the YouTube icon that links directly to the video visible.
I can remove the share button and I can remove the YouTube icon but not at the same time.So there is always an easy way for the user to get the video url and share it etc...
I can also chose the videos to be private and that removes both. But then all of my users would need a google account which they dont.
It seems to me that Google wouldn't offer free use to its player without some type of reference to You Tube. Either with the share button or the You Tube icon that links to the video.
i have tried modifying the url parameters (embed?v=#v_ID#&rel=0&autohide=1&showinfo=0&wmode=transparent&modestbranding=1&controls=0") to no avail.
And I have tried using embed and watch to no avail..
Is there a way to do this?
You can append the following onto the end of the YouTube embed url, to remove the Watch on YouTube button from the playback controls which is accomplished by setting modestbranding to 1. The player controls are NOT removed. they are just auto0hidden by setting the parameter autohide to 1.
Try to change & to &
Here's a sample format to solves your issue:
Related
I'm trying to build website (for my own, and for practice) that coantian youtube videos, I know there is a possibility to embed YouTube videos, but I want to know if there is another way to embed the videos, I want all the information of the video to appear, just like on the YouTube site itself.
I want sonthing like this
Example of a video embedded in a normal way
And that includes the title of the video, its length, upload date (or how long ago), preview of the video (when hovering with the cursor over the video), and I also do not want the YouTube icon to appear in the middle of the video image in any embedded video (before playing it).
I know some things can be done using the YouTube API (like video title / video length information), or using functions (e.g. preview gif) but it's a bit cumbersome, and in any case it does not solve the problem of having the YouTube icon In the center of the image of the video.
So I want to know if there option to enbed youtube video with all the details, or at least if there option the get of the sign of youtube that show in the center of the video.
Sorry for my English if there are any mistakes. Thanks in advance from everyone.
I didn't see in the documentation if it's possible to define your own related video on the endscreen of a video with javascript SDK.
I see param 'endscreen-enable' to turn on/off related video on endscreen, but no param to choose my own related video.
It is not possible to choose your related videos in the end screen. As you say, you can only disable the related videos on end screen using endscreen-enable player parameter.
I have embedded youtube using javascript api in my application and its showing the youtube logo on the bottom right , by clicking that logo it loads the youtube interface in the iframe , all I want is to disable that logo or its functionality , I have tried modestbranding in playervars but its not working
You can't remove it completelly.
you need to contact youtube and probably pay them to remove their logo or replace it with a custom one in any of their videos.
you can hide it using ?modestbranding=1 to your url. That will remove the logo temporany until mouseover on the video.
modestbranding (supported players: AS3, HTML5)
This parameter lets you use a YouTube player that does not show a YouTube logo. Set the parameter value to 1 to prevent the YouTube logo from displaying in the control bar. Note that a small YouTube text label will still display in the upper-right corner of a paused video when the user's mouse pointer hovers over the player.
I want to play youtube url in UIWebview or MPMoviewviewcontroller.but the restriction is user should not control the playing video.could any one help ?
If you want finer control over youtube videos, theres a library (not written by me) called XCDYoutubeKit. Search for that and look at incorporating it into your app - theres a class in there that is based on MPMoviePlayerController, that allows the playing of youtube videos from their youtube id (I use it, its good). This also means you get a normal player, so you can pause, scrub through, etc.
I searched for quiet some time… Seems like that embedded youtube videos really need the "human click" to increase the views on the YT profile. Tried some things with the API given from YT… no luck so far.
Does the mediaelement.js do the magic?
here is the answer from the YT js doc:
Note: A playback only counts toward a video's official view count if it is initiated via a native play button in the player.
You can't use your own play button or enable autoplay if you want the stats... Tried it, the best way is to use the "native" youtube player with minimal UI and let the users click the "native" play button ...