Youtube provided the following code for a video I would like to embed in a presentation:
<iframe width="560" height="315" src="//www.youtube.com/embed/L6gtOVDG68g" frameborder="0" allowfullscreen></iframe>
However, powerpoint keeps giving me the error that it "cannot insert a video from this embed code." Is there an error in the code that youtube provided?
Usually to embed video from YouTube into a slide, it's best to download the YouTube Wizard plug in (here). After you do that there will be an "Insert YouTube video" command on your toolbar.
However, you'd probably be better off downloading the video and embedding it from inside PowerPoint and choosing Insert – > Movie – > Movie from file to put the video into the current slide. That way you don't need connection to the internet.
Related
I am testing out some simple HTML5 code in order to play embedded YouTube videos in a browser. However, some videos (almost exclusively music videos) will not play in the browser. Instead, a error message stating "This video is unavailable appears" (as shown here).
This is the HTML code used to display the video:
<iframe width="560" height="315" src="https://www.youtube.com/embed/oGpFcHTxjZs" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
which is the exact code generated by YouTube when selecting their "Embed" option.
The iframe tag does work for some videos, however, as shown here:
<iframe width="560" height="315" src="https://www.youtube.com/embed/jxvPjuREDpE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
What is strange is that all types of embedded videos seem to work in an environment such as jsfiddle, but not when loading a separate HTML file into a browser.
A similar issue was asked here: "This video is unavailable" when putting music videos in iFrame , but is only resolved by running an http server, which is a completely new topic to me.
Does anyone know of an HTML/javscript fix to this issue? Thanks in advance.
I recently came across this as well. An interesting thing that I noticed is that the video becomes unavailable if the origin is not http(s).
So try this: create a local file server or upload the html file to somewhere and if you access the file from http protocol, the video will play.
I want to put a video on my website using the embed option on youtube.It shows up but when i try to play it appears a text saiyng that the video is restricted on some websites and gives me the option to watch on youtube . I saw that i need to accept some terms of conditions and that includes the youtube API from what i saw .
Is there another way to put a video on a website without the API ? Also i should mention that the website is not on a server.
I'm using this iframe to show the video :
<iframe width="560" height="315" src="https://www.youtube.com/embed/dgV1n57ejCY" frameborder="0" allowfullscreen></iframe>
I have designed custom video player controls for my HTML5 video. I was wondering how I can have that design incorporated to videos that are also embedded. I took a look at youtube to see how they would do it :
<iframe width="560" height="315" src="//www.youtube.com/embed/V1Q1FFTga8k" frameborder="0"
allowfullscreen></iframe>
This looks like a piece of a cake , but this doesn't show me how the player design was incorporated.
Can someone please explain to me how I can have my video design show on embedded videos.
Note: I am assuming that in order to make an embedded feature for my videos; I would just need the iframe with the set attributes and dynamically putting the url for whichever video is currently playing.
Consider the following embed code of this video from Vimeo - Popular video hosting site:
<iframe src="http://player.vimeo.com/video/41321504?title=0&byline=0&portrait=0&color=c8c8c8" width="400" height="300" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>
the video embed url(http://player.vimeo.com/video/41321504) does open, if open directly in new browser window but doesn't contain location of video anywhere in html source code, thereby preventing downloads,i guess this is a feature of flash DRM. But then, a third-party website comes in & was able to give the direct urls to same video
http://av.vimeo.com/42007/964/95995392.mp4?aksessionid=96d0b8ffbb4c0c04b1c6b7f1562de7d5&token=1343971749_85ce464ec3361604fbda75e38e29f4e8
From a programmers standpoint, i was wondering how does it work? how are these video downloaders able to fetch direct url of the videos which are not even present in html source? what is their process if anyone can explain that step-by-step.
They do server-side analysis of the flash object, which will establish a conection to download the video. That connection can easily be captured. That even works in a browser, with Firebug for example:
I am creating a web site where users submit their (raw) youtube links and the system should automatically embed them. However, I cannot embed the youtube videos unless I get the special embed link given by youtube. How can I manage to embed any youtube link provided to the system ? Any suggestions ?
Can't you just drop this in, and update video_id as need be?
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0">
</iframe>
Cenmre, I have the perfect solution for you.
YouTube supports oEmbed, which lets you send it any URL, and get back the appropriate embed code.
Read more about the standard, and how YouTube supports it.