<iframe src="snip?showinfo=0&controls=0&rel=0"></iframe>
JSFiddle. All controls, including the title, are hidden before and during playback, but when the video ends, the title appears, ignoring the showinfo setting. Is this the intended behavior?
Not worth asking another question. Is it possible to hide the YouTube watermark with this setup?
To answer the first question, this is the intended behavior. YouTube wants the the person on the other end to click on more videos.
As for the second, what you're looking for is the modestbranding=1 parameter. Unfortunately you have to use that parameter first and you can't use it with showinfo=0. I guess YouTube has to get some type of credit right? There may be a tweak out there or an unlisted parameter. I'll give it a few more shots.
Also here you'll find an explanation from Brian Glick at YouTube for this functionality.
I know I'm late, but since this question was never answered...
The title only shows up when you're using the HTML5 playback if enabled and when the video is embedded via iframe. The Flash playback does not show the title in the end.
You can hide/cover up the title using the YouTube iFrame API with if (event.data == YT.PlayerState.ENDED). Be aware though, that YouTube doesn't allow to you to cover up too much. As long as there is a visible (no right-click) link-back to YouTube like the watermark, the logo in the controls or the clickable title, you should be fine.
Related
I couldn't find a proper explaination, tutorial or thread online explaining the following: I "simply" want to load a Vimeo Video (where I have a pro-Account) without controls (play, pause, timeline, whatsoever) just the pure video (also without the black bar top and bottom) and stream it within a div I created. I want the video to be always fully filling this div.
How can I use the Vimeo-API to do that? I found examples of the Vimeo-API but nowhere I could find anything regarding loading the plain video file.
According to this answer, your Vimeo videos should have a "play in external player" link (Pro account required):
Go to your Video Settings and Video File, at the bottom there is a section called Use Your Own Player, you'll find there direct urls to your video.
You can embed that direct URL in a player of your choice - e.g. a <video> element:
<video src="http://player.vimeo.com/external/85569724.sd.mp4?s=43df5df0d733011263687d20a47557e4"></video>
You can create that <video> element using JavaScript, as well.
A plain <div> element can not dispplay video without some element to aid it.
I have a site (which is only viewed using Internet Explorer 7) that is made up of 5 sections and in section 2 I am currently using Vimeo to embed a video. The requirement is that the user has to watch all of it before proceeding to the next section. In order to achieve this I have used event listeners which only activate the ‘Next’ button to proceed when all of the video has been watched (Works Great)
Another requirement is for users to be able to play the video in full screen but the problem I have using Vimeo is that it does not support the option to hide the progress bar when a video is playing in full screen, this allows the user to skip the video. After researching around and contacting Vimeo support I can confirm that hiding the progress bar can only be achieved when viewing the video in standard mode when you have subscribed to the pro account (which I have).
I looked into targeting the CSS classes within the iFrame, and setting a display none value on the controls div but this is something that can’t be done.
I have looked at using YouTube as an alternative and you are able to hide the progress bar in full screen using this markup
<iframe width="560" height="315" src="https://www.youtube.com/embed/C0DPdy98e4c?rel=0&controls=0&showinfo=0?&fullscreen=1" frameborder="0" allowfullscreen=1></iframe>
I’ve done some reading on using the YouTube Player API Reference for iframe Embeds (https://developers.google.com/youtube/iframe_api_reference) but it says that one of the requirements is that the user's browser must support the HTML5 postMessage feature - INTERNET EXPLORER 7 DOES NOT SUPPORT IT :(
Could anyone suggest how I can achieve this, either by hiding the progress bar using vimeo in full screen or by implementing the youTube Iframe API to work with IE7?
Cheers
Paul
I don't see a parameter to remove the controls in a Vimeo video on their page on embedding. Also, the Vimeo FAQs say that the control bar gets hidden on an embedded video when it's less than a specified number of pixels wide.
You might have to do some sneaky CSS styling stuff instead. I did manage to find an article on hiding controls on an HTML5 video when viewing it fullscreen, but it said that IE does not support the full-screen API, so I'm not entirely sure what you're trying to do is actually possible on IE.
I am using JWPlayer to embed several YouTube videos on a web site. In the bottom right hand corner, there's the usual YouTube logo.
The text/tooltip that appears on hover is getting clipped by the video or the video's container.
Inspecting all of the parent elements, I'm not seeing anything that's set to overflow:hidden. Anyone run into this, or better yet, have a solution to either move the tooltip, or make it so it is not clipped by the video,container or object?
Edit: I've got it live now, so there is an example of what's happening:
http://www.copycei.com/#home
If you start playing a video from the home page, hover over the ghosted YouTube logo in the bottom right hand corner, and you'll see the clipped tooltip. Was really hoping I could target the id/class of that bit and just position it slightly to the left, but can't seem to inspect and target it in Chrome. Any help would be appreciated.
LongTailVideo (makers of JW Player) have filed this as an actual bug with the Google API used for embedding YouTube video:
https://code.google.com/p/gdata-issues/issues/detail?can=2&start=0&num=100&q=&colspec=API%20ID%20Type%20Status%20Priority%20Stars%20Summary&groupby=&sort=&id=2899
Looks like there's not a solution to this as of now.
I have a website which contains youtube flash player. Player's code was copied from Youtube and pasted to an HTML of my page.
When I'm opening the page in iPhone or iPad, the player can't be covered by absolute positioned DIV tag. The div tag has z-index 1000 and covers all elements (youtube flash player too) on the page if I use normal PC. But in iPhone or iPad I can't cover youtube player by this div element.
I used many tricks with OBJECT and EMBED tags of flash element (adding style="position:absolute; z-index:0" and etc.) but no results.
Please assist how can I cover Flash element in iPhone or iPad.
please use an iframe. That's the way I've done it.
I found that on the iphone there are certain things that dont work but will work on a pc. I believe however Iframes are quite versatile with stuff.
Try it out. Let me know if it works.
You just had to add ?wmode=transparent at the end of the url of the youtube embed code to fix the problem.
It should work!
I’m writing an HTML5 page with a embedded video tag for the iPad.
How can I hide or disable the fullscreen button? I just need to show the video without the fullscreen option.
As far as I know (I could be wrong, this isn’t really my area), you can’t tell Safari how to render its standard video controls.
However, you can tell it not to render its standard video controls (at least according to the HTML5 spec) by omitting the controls attribute from the video tag.
You can then write your own play/pause controls. (See e.g. http://diveintohtml5.ep.io/video.html#markup). That’s obviously a bit more work, but I think it’s your only option.
If you don’t want to write your own controls from scratch, there are a couple of good pre-built ones out there, specifically:
Video JS
Video for Everybody
They’re more focused on providing video via HTML5 or Flash depending on browser capabilities, but you might be able to extract the control parts, or at least see how they’re doing it.