How can I embed a youtube feed? - html

I want to embed the youtube upload page of my channel on my website.
I would like to know how I could do this. iframe doesn't seem to work.

There are two options available for you: (1) embed the webpage as a blockquote using Embedly, or (2) make a playlist of your uploaded videos and embed the playlist.
Use Embedly: The website Embedly uses a script to embed any webpage, including the uploads page of your YouTube channel, into a block quote. You'll be using their script in your HTML, so no guarantees on quality.
Make a playlist of your uploaded videos, then embed the playlist into your website by following the instructions on this page.
Good luck!

Looking at Youtube's API ... https://developers.google.com/youtube/player_parameters
They do have a user uploads feed.
https://www.youtube.com/embed?listType=user_uploads&list=USERNAME
IE for focuspullin channel
https://www.youtube.com/embed?listType=user_uploads&list=focuspullin
It provides a video as a and with a playlists that could be used in a iframe
But I would consider this subject to change. Google's knowledge graph shows completely different, older information, about an RSS feed. Unable to find that and it may no longer exist, [but there are several stackoverflow Q and A that reference it from a few years back.]

Related

Embed vimeo videos where token is required

I'd like to know whether there's a way to directly embed a vimeo video into a website or whether there's a way to get a stable link to the MP4 file.
E.g. this page: http://www.landfunker.de/ktv/detail.php?rubric=93&nr=86411. The video is only launched when accessing it from that page. In the source code, I see links like
fpdl.vimeocdn.com/vimeo-prod-skyfire-std-us/01/3026/7/190133161/631209312.mp4?token=587a20e2_0xece9d9d127813f2b792edb30032d4d9b0a7c484f
However, the tokens expire, right. Any tips? Any workarounds.thx
Use the Vimeo iframe embed code to embed videos on your site:
https://help.vimeo.com/hc/en-us/sections/203874347-Embedding-Videos
https://developer.vimeo.com/apis/oembed
To get the MP4 links for video files, you'll need to be a Vimeo PRO or Business member. Video file links are returned in the individual video's response from the API.
GET https://api.vimeo.com/videos/[video_id]
You can use the API's JSON fields filter to only return the video file links:
GET https://api.vimeo.com/videos/[video_id]?fields=files
Finally, note that you can only retrieve the video file links for videos on your own PRO or Business account. Vimeo does not provide a way to retrieve the video file links for videos on other user accounts.
API documentation can be found here: https://developer.vimeo.com/api/start
You can definitely embed a Vimeo video into a website - Vimeo provides instructions on their website:
To get your video's embed code, go to its video page and click the Share button. Then click the +Show options link that appears above the embed code field to reveal a preview of your embedded video with the Basic customization options. Once you've made your adjustments, you can copy the embed code and paste it wherever you'd like to embed your video.
They also provide an API based embed approach using oEmbed. There is a JavaSCript example using this here:
https://github.com/vimeo/vimeo-oembed-examples/blob/master/oembed/js-example.html
This basically calls the API with the URL of the video to embed and the response includes HTML which you append to your page.

Can I request YouTube to let my site play restricted embedded video?

I am working on a site that will allow users to upload their videos on my site, for example a dance performance. I am using <iframe></iframe> to embed video. Everything was going fine, but suddenly I noticed YouTube is restricting some videos to play on my site.
In my case the error was:
I know some users have asked similar questions like 'why it is happening' etc. I know it has to do with some copyright issues, for example a dance performance may have a background music playing which happens to be someone others property. The thing is, I am not 'claiming' copyrights and even, not me but my users will upload their videos from their YouTube accounts(using URL).
So Is there anyway to play all those videos like if I can request YouTube to let my site play those videos with a disclaimer explaining that my site doesn't have copyrights of these videos?
Does using iframe to point at the non-embedded youtube widget work? If so you could use javascript to extract the player from the regular youtube.
Not sure about the legality of that.
What are you trying to do? Potentially you could use the youtube api and make a mobile app that is not embedding videos.

HTML YouTube to Show All Videos?

Anyone know how to add the full upload feed from YouTube to a website using html coding??? I've been able to get single videos, but haven't found anything regarding all videos.
if you want to use the Youtube Data API you can retrieve all videos on a specific channel.
If you just wanted to embed a full upload feed from a channel, as this question states you can use the channel embed code, for example:
<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/youtube.xml&up_channel=YourChannelName&synd=open&w=320&h=390&title=&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>

Youtube Video In HTML5 <video>

I have made a windows store app using the Youtube Iframe API. I can handle events and play video fine but there is a major problem as it doesnt support full screen mode (amongst some other minor niggles).
I have been looking in the app store and I see that the majority of youtube player apps do not use the iframe API, they grab the video direct and put it into the standard HTML5 video player.
I have done a lot of searching and the only way I can see people are doing this is by parsing the youtube page to find the video file the Youtube player is going to play and loading this directly into the media player.
I have a few problems with this method.
I am not sure if this is legal as it may break youtubes terms and conditions
If page at youtube changes it can break app.
Neither of these situations are acceptable.
Is there any way to get full screen to work inside app or get a direct video stream legitimately?
Not sure about the copyright and youtube terms stuff but here is how you do it apparently:
Show Youtube video source into HTML5 video tag?
Looks like it's browser specific and youtube generates different html for different browsers.
I would make an ajax request to the youtube url appending html5-true then use jQuery to scrape the source for the video tag, add your attributes and then append to your page.
Now you have the tag that youtube uses so I'm assuming what works on their webpage will work o yours.
Probably violates all terms and conditions...

Video in Browser: Embed YouTube and others

I want to embed videos from different video sites like YouTube, Vimeo and so on...
But I have a problem:
The Skins of the players are all different
and I want a consistent video skin.
Is there any possiblity to get this work?
I can't host the videos on my server because I have to pay for the traffic
and that would make me poor =(
I know that Youtube at least has a chromeless player, you can check out the API here: http://code.google.com/apis/youtube/js_api_reference.html#GettingStarted
I don't know about any of the other sites, though. I'd try Googling the name of the site and "chromeless" or "api" to see what comes up.
Simply put, no. The video site content has to include the skin for each site, unless you rip the video out and self-host it.
There's a reason for this, and I doubt you'd want to see the sites all fold/go paid because of people hijacking content without attribution.
Try Media Element JS
It wraps your youtube and vimeo video to a HTML5 video, no need to host the video on your website. The script from the website can take youtube and vimeo videos and make convert them into HTML5 video.
One side effect of this script is that since it can convert both Youtube and vimeo videos to HTML5 then the players will be the exact same for both of them.
Hope that helps,
regards