Skip to main content

Generate responsive, embeddable HTML/JS code from URL of online content

Project description

Generate embeddable HTML or JavaScript code for a online content from its URL in a simple step.

The content can be:

  • Youtube video
  • Twitter status
  • Vimeo video


Embeddable code-generation be simple like this:

>>> from embed_x import OnlineContent
>>> OnlineContent('').get_embed_code()
"<div class='embedx-yt'><iframe src='' 'frameborder='0' allowfullscreen></iframe></div>"

Currently, supports

  • Youtube video
  • Vimeo video
  • Twitter: single status
  • Github gists
  • Flickr image

Examples of URLs



from PyPI

pip install embedx

Directly from source

pip install git+

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
embedx-0.0.4-py2.py3-none-any.whl (7.4 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page