Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed TED video #3

Open
hupili opened this Issue Feb 12, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@hupili
Copy link
Owner

hupili commented Feb 12, 2019

Example: you want to embed this video using iframe. https://www.ted.com/talks/olga_yurkova_inside_the_fight_against_russia_s_fake_news_empire?language=en

Directly putting the above URL in the src attribute of iframe does not work. That is because, the URL is an entire webpage, instead of a single video. You need to find the video link first.

You can choose Embed from Share:

screenshot 2019-02-12 at 7 51 09 pm

Copy the embed code into a text editor and observe the URL.

<div style="max-width:854px"><div style="position:relative;height:0;padding-bottom:56.25%"><iframe src="https://embed.ted.com/talks/lang/en/olga_yurkova_inside_the_fight_against_russia_s_fake_news_empire" width="854" height="480" style="position:absolute;left:0;top:0;width:100%;height:100%" frameborder="0" scrolling="no" allowfullscreen></iframe></div></div>

The URL that you can use in the iframe src attribute is: https://embed.ted.com/talks/lang/en/olga_yurkova_inside_the_fight_against_russia_s_fake_news_empire

@hupili hupili added the tips label Mar 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.