Module embedded

Module embedded 

Source
Expand description

Embedded content extraction for halldyll-media

Extracts embedded content from HTML with support for:

  • iframes (maps, social, widgets)
  • Objects and embeds
  • Platform detection (Google Maps, Twitter, Instagram, etc.)

Functionsยง

count_by_platform
Count embeds by platform
detect_embed_platform
Detect embed platform from URL
extract_embeds
Extract all embedded content from HTML document
extract_embeds_from_html
Extract embeds from HTML string
filter_by_platform
Filter embeds by platform
get_code_embeds
Get code embeds (CodePen, JSFiddle, etc.)
get_embed_urls
Get all embed URLs
get_maps
Get Google Maps embeds
get_social_embeds
Get social embeds
has_embeds
Check if HTML has embeds