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

Implement auto-embedding of video URLs [fixed] #83

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jan 24, 2016

  1. Add feature: auto-embed of video links

    Uses WordPress wp_oembed_get function to auto-embed YouTube/Vimeo links
    etc.
    jas8522 committed Jan 24, 2016
    Configuration menu
    Copy the full SHA
    bcf36bd View commit details
    Browse the repository at this point in the history
  2. Improvements to auto-embedding videos

    Simplify code by introducing $video_url variable and updates to support
    a false return value from wp_oembed_get.
    
    Could probably still use better URL detection (such as if the admin
    enters a URL without the ‘http://'
    jas8522 committed Jan 24, 2016
    Configuration menu
    Copy the full SHA
    fd59cfc View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2019

  1. Also use esc_url to validate the URL prior to use

    Use esc_url as per wp codex.
    jas8522 committed Jan 27, 2019
    Configuration menu
    Copy the full SHA
    fb660f9 View commit details
    Browse the repository at this point in the history