Embed youtube SHORTS in an iframe - iframe

I'm trying to get a youtube short to play in an iframe.
I know this can be resolved by replacing the /shorts/ part of the url with /embed/ (or get the ID from the short, and append it to another URL), but that makes it a 'regular' video.
Is there a way to make youtube shorts playable similar to the way youtube plays them? Autoplayed, loped, and in a vertical rectangle?

Related

Is it possible to start an embedded facebook video at a specific point on wordpress

Just at the title says, if I copy a link at a specific time, it gives m the time code t=###.
If I try to embed that video into wordpress, the video starts at the beginning.
Is there a way to start a facebook video at a specific time while embedded in Wordpress?
It seems the t= parameter works for facebook video url's too now: e.g.
https://www.facebook.com/watch/?v=265933184844091&t=49
This format rather than the &t= worked for me:
https://www.facebook.com/100003947034370/videos/1916436035164612/?t=1550
at least it works if you type or paste the url in your browser and I was able to send it via messenger, but if you try to post it on your timeline so that people can watch the video from the relevant point facebook in their infinite lack of wisdom replaces the time stamp with ?__tn__=R-R and the video plays from the beginning.

Youtube embed in wordpress

I am trying to embed an interval of a youtube video on my wordpress.
I have managed to set the start and final point that i want.
The problem is when the video ends, I want to make an option to restart the video but from the starting point I´ve set, not from the begining of the video.
Any idea how to achieve it?
I think the youtube embed start parameter is what you're looking for. Check out the youtube developers page. Hope that helps!
Or use iframe api and catch ending of video and programmicaly start play video again.

is it possible to replace Youtube's Iframe Video Ads

is it possible to replace Youtube's embedded Video's Ads with my own video ads.
maybe using a video player to do that but how can i do?
for example. someone is embedding youtube videos somewhere else. he wants to show some video ads on those videos. how can he do that?
I doubt it is impossible. It is, however, illegal to do so. When using the YouTube Data API or the JS API you agree to their terms of service, which explicitly state that you may not alter or remove in-player ads of embedded videos (section II, paragraph 7).
Is it possible to replace Youtube's embedded Video's ads with my own video ads?
If you own the video the answer is YES, but if it's own by someone, the answer is NO. Only the owner/author of the video have rights to the ads of these video.
For more information, you can check this related SO question. It might give you an idea about your problem.
Also from the YouTube Help, it is stated here that:
You will automatically be opted into showing ads on embedded videos if
you've associated your YouTube and AdSense accounts and have enabled
your videos for embedding. Note that embedded videos will honor the
same ad enablement settings as videos on youtube.com.
If you don't want to show ads on your embedded videos, there is no way
to directly disable ads on just embedded videos, however, you may
disable your videos for embedding altogether.

how to show google that a video on my site is a duplicate

(newbie=me) On my wordpress website I have video1 and I want to put it in two places on the website because it makes sense from a users perspective.
Video1 is embeded using html5; its and seo embed from Wistia. I want to put copy_video1 on a different page with text that is also different and useful. The thumbnail/frame-of-video used for copy_video1 is different than video1 making it more relevant to its page.
I thought I would use an iframe for copy_video1 since I had read google doesn't index iframes?. I thought to go the extra mile and use best practices that I should use canonical in the iframe to point to video1. Is this correct? What does the syntax look like for an iframe and video with canonical in it?
Is this the same method I would use for the video if an external site wanted to embed my video?
I guess this is also and seo question, but mostly to code it correctly for indexing.
THis is for a small non-profit site...
Thanks for you help!
I cannot think of many instances where you would have to duplicate a video on the same website, so my recommendation is to just have one and use HTML5's poster attribute. You would just set it to a different image on the other page. This should work, should replace your first line of the :
<video controls poster="/images/othervideo1.jpg">

youtube iframe api - channel link in logo

I am using the Youtube Iframe API to embed Youtube videos on a website. The client asked to have instead of the video URL as href of the Youtube Logo (the one seen on the bottom right corner) the URL of the video channel (the Youtube Channel where the video was posted).
The client claims to have seen this before on some other website, but it could not provide an example .. My guess was to try looking for some player parameters (https://developers.google.com/youtube/player_parameters) but there is no such a parameter.
I read through the rest of the API Docs and googled the issue, but had no luck so far.
Did anyone manage to do this before? Is it somehow possible?

Resources