- Global Voices Community Blog - https://community.globalvoices.org -

Global Voices Test Post: Embeds

Categories: General

See also: Global Voices Test: Post Formats

Please ignore this post, it's here for testing across various reading platforms like AMP and Facebook Instant Articles. ~ Jer

WordPress Embed Tests

WordPress iframe embeds below should work on normal site, but be basic blockquotes in AMP.

WP Embed shortcode+URL

Georgia's youth protesters lead 2020's political showdown [30]

WP Embed shortcode+URL with Translation

Georgia's youth protesters lead 2020's political showdown [30]

This is a translation of the WordPress embed above.

Facebook Embed Tests

Embeds below work on both normal and AMP sites. AMP version doesn't have proper styling on the blockquote.translation but they have accepted the bug that causes it (GitHub link). [31]

Facebook Post with embed shortcode and URL

Video documentary highlights the violence against journalists in Colombia.

Posted by Global Voices [32] on Tuesday, February 25, 2020 [33]

Facebook Post with blockquote.translation

Video documentary highlights the violence against journalists in Colombia.

Posted by Global Voices [32] on Tuesday, February 25, 2020 [33]

This is a translation of the facebook post embed above.

Facebook Video with embed shortcode and URL

Fish Are Dying Mysteriously in Vietnam [34]

One of our most-viewed posts of 2016: "Millions of fish are dying in Vietnam. Locals blame the Formosa Hà Tĩnh Steel Corporation."

Posted by Global Voices [32] on Monday, January 2, 2017

Facebook Video with blockquote.translation

Fish Are Dying Mysteriously in Vietnam [34]

One of our most-viewed posts of 2016: "Millions of fish are dying in Vietnam. Locals blame the Formosa Hà Tĩnh Steel Corporation."

Posted by Global Voices [32] on Monday, January 2, 2017

This is a translation of the facebook video embed above.

Facebook raw embed code

Facebook raw embed codes below also work in normal and AMP sites, but aren't as responsive as the URL embed version.

Note: The .translation version won't have proper spacing due to empty <p>. See gv_footerjs_facebook_embed_classes()

Facebook raw embed with Blockquote

This is a translation of the raw Facebook embed above.

Instagram Embeds

Instagram URL in Embed shortcode

View this post on Instagram

A post shared by Global Voices (@globalvoicesonline) [35]

Instagram URL in Embed shortcode with .translation

View this post on Instagram

A post shared by Global Voices (@globalvoicesonline) [35]

This is a translation of the Instagram post above.

Instagram embed with hidecaption="1"

The embed below should not have a caption displayed.

View this post on Instagram

A post shared by Global Voices (@globalvoicesonline) [36]

Twitter Embeds

Tweet embed (blockquote)

Tweet embed (blockquote) followed by blockquote.translation

This is a translation of the Twitter blockquote embed above.

Tweet Embed by URL

Tweet Embed by URL with blockquote.translation

This is a translation of the Twitter URL embed above.

YouTube Embeds

YouTube embeds should work in both normal and AMP versions of the site.

YouTube Embed by URL

YouTube Embed by URL with translation

This is a translation of the YouTube video above.

Soundcloud Embeds

Soundcloud embeds should work in both normal and AMP versions of the site.

Soundcloud Embed by URL

Soundcloud Embed by URL with translation

This is a translation of the Soundcloud embed above.

Video raw upload embeds

Raw video embeds with [video] should work properly in both regular and AMP versions.

HTML5 Video Tag From Upload

HTML5 Video Tag From Upload followed by blockquote.translation

This is a translation of the embedded video above.

Tumblr Embeds

DISABLED-embed]http://globalvoices.tumblr.com/post/157945851862/walking-on-death-along-the-iraqi-border[/DISABLED-embed]
Tumblr embeds should work in iA, but don't yet. Follow up on GitHub [40].