How to make img with fullscreen as video fullscreen mode? - html

As we know, the tag video has default control that can play video with fullscreen. It's a pretty watch mode. And I want make image img can be achieved this. I find a web can do this, but I can't figure it out how to trigger the video fullpage mode when click a image in web page.
Notice: Not make browser window full screen.
Thanks for your help and click this is link. In a word, how to watch img with browser in this way as follow:
in above link, you can first choose fullscreen.
second, click the button launch image gallery.

Related

How to disable youtube link from iframe

I'm embedding a youtube iframe video player in my website made with React. I don't want there any clickable link in that area, more specifically I want to restrict the youtube link to load from inside the iframe elements.
look at the red mark area, if I click there, it opens youtube.com
Is there any way to restrict "youtube.com" from my site that will prevent me to click or something like this?
modestbranding=1
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.
https://developers.google.com/youtube/player_parameters#modestbranding

Navigation link to launch HTML 5 Video fullscreen

I have a fullscreen background video running in a page using an html5 video tag to play a local hosted video there is a css nav menu running across the top. I want to launch another video fullscreen over the top of the existing video when a user clicks the menu. I have no idea how to do this. The video is running responsively using fitvid.js so I don't need to scale the video in this code. Can anyone help me?
You can easily change the background with some Javascript:
<script>
function changeBackground {
document.getElementsById("nav-Id");
onclick = "import your background video here"
}
</script>

html5lightbox video popup Mobile view Full screen issue

I am using HTML 5 light box popup for playing a video. i have been Calling video through web service from another website and stream into my player using html5-light-box popup using this method
html5Lightbox.showLightbox()
everything works fine but when viewed on mobile got to full screen video controls hide. when inspect element shown bottom of the video

How do I force a video to play over an image?

How do I force a video to play over an image when clicking the image thumbnail, and simultaneously scroll back to the top where the player is?
My issue and the context: I am working on a big photographic and video project and for that I decided to (try to... :) I'm not a programmer) build and launch a customized web TV entirely within a Google Blogger blog.
Everything works fine and look beautiful but I decided to fake a customized player (that is actually just a JPEG image) at the exact same place where the player is playing.
The player is working well, but it is playing underneath the image (fake player), so you will hear the sound from player but will not see the video. I would like to know how to force my player to play over this image.
Here is the link of the web TV: http://montreal-images-tv.blogspot.com/
My second issue is that when clicking the thumbnails, the site is supposed to go back to the top to see the player area, but it doesn't work very well!... :(
How can I force the site to scroll automatically to the top when clicking the thumbnails?
PS: I have already tried code like href="#top" with an anchor and it didn't work!
Have you tried adding a z-value to the video container? (higher than the image) eg. z-value for image is 1 and z-value for video is 2.
#video {
z-value:2;
}
#image {
z-value:1;
}
As for the scrolling, I'd try use a little jquery as it has a really nice effect.
$('.clickedClass').click(
function(){
$('html, body').animate({
scrollTop: '0px'
}, 'slow');
});
Any element with the class 'clickedClass', when clicked, will scroll to the top of the page.
UPDATE: here's a jsfiddle for the scrolling: http://jsfiddle.net/CMQNT/

Is there a way to control to the initial screenshot shown on Vimeo?

I have uploaded a video to Vimeo. When someone goes to the video page, it is showing some screenshot from the middle of the video. Is there a way to control what is shown when the page is loaded and before the video is played?
A litte Googling came back with this answer: "Go to the video page, then the settings gear icon on the top right, then thumbnails."