Category: WordPress

Plugin developer, Core contributor and support volunteer. Yeah, I’m a WordPress fan!

  • Embedding Videos in WordPress

    Embedding Videos in WordPress

    It’s been a number of years since I created my YouTube Embed WordPress plugin. It’s been extremely popular and I’ve learnt a huge amount from it but now my attention is now turning to the future.

    For a while I’ve been thinking about creating a new plugin that will embed YouTube videos. And Facebook videos. And Vimeo, Dailymotion and Hulu. And, indeed, any that you care to name. Basically, offering the best features of YouTube Embed but for all the video embeds you can think of. It would cast off some the features that are more for the minority of users and concentrate on what people want – lots of control with multiple profiles.

    So, with further details below, I’d like to know what you think! Please leave any comments, suggestions, whatever in the comments and they’ll be greatly appreciated!

    Development has started – follow the progress here!

    Key Features

    • Embed videos with a single shortcode, which can be modified by the user. This will allow it to work alongside existing plugins, including the built in WordPress oEmbed method.
    • As with YouTube Embed you can set up default profiles – you can have one for all video embeds or separate ones for different embed types (e.g. one for YouTube, one for Facebook and one for anything else).
    • Selectable code validity – depending on your theme you can set it to be valid HTML 5, XHTML, etc. Or just select a more flexible option that may not validate but gives maximum compatibility.
    • The plugin will fit in with the default look and feel of WordPress, looking like something that came with it by default. No ads, no banners and no odd colours.
    • Compatible with a number of existing plugins to add additional functionality – for example, Shortcake to add a visual replacement for the shortcode or Video SEO for WordPress SEO.
    • Automatic generation of video metadata for SEO.

    Why not oEmbed?

    WordPress already uses oEmbed to display videos. Simply place the video URL on the page and it will show up. That’s great, but oEmbed can only pass on parameters specified in the URL – many video functions (particularly YouTube) can’t be controlled this way. Indeed, it would means that we couldn’t use profiles and each video would have to include its own specific parameters. So oEmbed is a nice, simple solution but not particularly flexible. By using a shortcode method we can pass on any required information and, of course, use profiles to control default behaviour.

    Premium Options

    As I said before, this plugin would jettison a lot of the minority features. But that doesn’t mean they’re gone for good. My plan, long term, is to add a feature to be able to add premium add-ons. These would include lesser video sites as well as features. Prices would be low to make them more attractive.

  • Amazing tips for embedding YouTube videos

    Amazing tips for embedding YouTube videos

    If you wish to embed a YouTube video on your website then the YouTube site itself will give you the code you need. Underneath the video click on “Share” and then “Embed”. You can choose the video size and whether recommended videos should appear at the end and whether to choose a special privacy mode. In the case of the latter option this uses a special URL that doesn’t store cookies.

    But there’s a lot more you can do than just this.

    (more…)

  • Using Transients

    Using Transients

    Transients are a great tool for the WordPress developer. They allow you to easily save temporary data with their own expiry time – simply pass the transients data into the easy-to-use API and it will sort everything out for you. Caching made simple.

    Unfortunately, using transients is not without its downsides and recent experiences have shown a couple of issues that any developer should be aware of.

    (more…)

  • Vixy YouTube Embed

    Vixy YouTube Embed

    Recently my WordPress plugin, Artiss YouTube Embed, was bought by a third party – a company named Applian Technologies Inc. They wanted the existing user base to help promote their video software products.

    What happened, unsurprisingly, was that the plugin was re-branded and released with links to their site. This included a “download bar” – a series of 3 links which appear under each video. This was switched on by default but could be easily switched off in the settings screen.

    (more…)