recognizing the end of video in vimeo embed player in iOS - ios

I am using vimeo embed iframe code to play videos in my ipad app.
<iframe src='http://player.vimeo.com/video/ 27127177?title=1&byline=0&portrait=1&loop=1' width='600' height='600' frameborder='10' webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>>
after the video is completed vimeo is showing a list of videos related to that user or related to that video, and if the user presses on them the control is changing to Vimeo website, is there a way to detect the end of video from web view so that i can stop loading the list of videos.

Related

How to block ads in Youtube embed video?

I have a slider on my website below and I'm trying to play a Youtube video in the background.
https://aremajans.com/
When I add a Youtube video, ads automatically start playing on that video. How will I prevent this?

Play YouTube or Vimeo Video on iOS fullscreen and without WebView

I know there are various libraries and approaches to play Youtube or Vimeo videos on iOS inside WebViews. Is there a way to play such a video without the use of a WebView at all? All I want to do is have my own "show video" button and when it's pressed then the default fullscreen video player on iOS should open and play the video from YouTube or Vimeo. Is that possible?
You can try with
https://github.com/0xced/XCDYouTubeKit
as reported in this thread:
How to embed a Youtube video into my app?

Plyr media player doesn't show Vimeo and doesn't toggle Youtube closed captions

guys!
I'm trying to find a media player that could playback Youtube, Vimeo and HLS URLs. It seems Plyr player (https://github.com/sampotts/plyr) is suitable, but I have some troubles with closed captions for Youtube and Vimeo videos. Although videos show captions in Youtube and Vimeo players and it is possible to toggle them, I wasn't able to load captions for Vimeo video at all and can't toggle Youtube captions using Plyr. Could you please give some examples how to solve this captions problem with Plyr? Or with another media player?
I've found out what is wrong with captions in Plyr for Vimeo videos.
Plyr.io uses Vimeo Player (https://github.com/vimeo/player.js) inside it, so it builds an iframe into our page to playback Vimeo link. This Vimeo iframe contains not only video block but also control buttons and author of the Plyr hides them with CSS trick to show only Plyr control buttons. Unfortunately, captions also get hidden with this trick.
So, as we can't access iframe content we can only:
try to come up with another CSS trick to hide only Vimeo controls and
let captions stay (but I'm not sure it is possible)
use Plyr without captions for Vimeo
do not use Plyr for Vimeo

Delphi TWebBrowser: muting youtube video or disabling autoplay

I read this question: Mute YouTube sound in Delphi TWebBrowser but if I understand correctly, it is used for building my own JS/HTML page of preview youtube videos while I load the actual youtube video page and needs to silence it/disable its autoplay.
How can I either mute or disable the autoplay after loading the youtube video page?

Jwplayer 6: html5 fullscreen when video clicked to play

I want to be able to use jwplayer so that when the user clicks on the video the video will start to play in fullscreen mode.
I want this functionality to work on mobile devices that support html5.
If the video is played on a mobile device it will take up the whole screen.
Youtube and Vimeo currently do this on mobile devices.
The Link Below uses Html5 video tag, which plays in fullscreen on mobile device when the video is clicked on.
The only way I that I know that jwplayer allows fullscreen is that I manually click on the fullscreen button, but it would be nice to only click on the video to trigger the video to play in full screen.

Resources